Package com.oracle.bmc.opensearch.model
Class MaintenanceNotificationDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opensearch.model.MaintenanceNotificationDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180828") public final class MaintenanceNotificationDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelNotification details for the maintenance activity.
Note: Objects should always be created or deserialized using theMaintenanceNotificationDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theMaintenanceNotificationDetails.Builder, which maintain a set of all explicitly set fields calledMaintenanceNotificationDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMaintenanceNotificationDetails.Builder
-
Constructor Summary
Constructors Constructor Description MaintenanceNotificationDetails(String jiraTicket, MaintenanceNotificationType maintenanceNotificationType, List<String> tenantIds, List<String> clusterIds, String startTime, String endTime)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaintenanceNotificationDetails.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getClusterIds()List of OpenSearch clusterIds where we need to send the maintenance notificationsStringgetEndTime()Start time for the notification activity in UTC like “2023-20-04 04:00:00.000Z”StringgetJiraTicket()Jira tickets for on-call engineer to send customer notificationMaintenanceNotificationTypegetMaintenanceNotificationType()Maintenance Notification typeStringgetStartTime()Start time for the notification activity in UTC like “2023-20-04 04:00:00.000Z”List<String>getTenantIds()List of tenantIds where we need to send the maintenance notificationsinthashCode()MaintenanceNotificationDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
MaintenanceNotificationDetails
@Deprecated @ConstructorProperties({"jiraTicket","maintenanceNotificationType","tenantIds","clusterIds","startTime","endTime"}) public MaintenanceNotificationDetails(String jiraTicket, MaintenanceNotificationType maintenanceNotificationType, List<String> tenantIds, List<String> clusterIds, String startTime, String endTime)
Deprecated.
-
-
Method Detail
-
builder
public static MaintenanceNotificationDetails.Builder builder()
Create a new builder.
-
toBuilder
public MaintenanceNotificationDetails.Builder toBuilder()
-
getJiraTicket
public String getJiraTicket()
Jira tickets for on-call engineer to send customer notification- Returns:
- the value
-
getMaintenanceNotificationType
public MaintenanceNotificationType getMaintenanceNotificationType()
Maintenance Notification type- Returns:
- the value
-
getTenantIds
public List<String> getTenantIds()
List of tenantIds where we need to send the maintenance notifications- Returns:
- the value
-
getClusterIds
public List<String> getClusterIds()
List of OpenSearch clusterIds where we need to send the maintenance notifications- Returns:
- the value
-
getStartTime
public String getStartTime()
Start time for the notification activity in UTC like “2023-20-04 04:00:00.000Z”- Returns:
- the value
-
getEndTime
public String getEndTime()
Start time for the notification activity in UTC like “2023-20-04 04:00:00.000Z”- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-