Class ListDomainMaintenancesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.opensearch.model.OpenSearchRequest
-
- software.amazon.awssdk.services.opensearch.model.ListDomainMaintenancesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListDomainMaintenancesRequest.Builder,ListDomainMaintenancesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListDomainMaintenancesRequest extends OpenSearchRequest implements ToCopyableBuilder<ListDomainMaintenancesRequest.Builder,ListDomainMaintenancesRequest>
Container for the parameters to the
ListDomainMaintenancesoperation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListDomainMaintenancesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MaintenanceTypeaction()The name of the action.StringactionAsString()The name of the action.static ListDomainMaintenancesRequest.Builderbuilder()StringdomainName()The name of the domain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()An optional parameter that specifies the maximum number of results to return.StringnextToken()If your initialListDomainMaintenancesoperation returns anextToken, include the returnednextTokenin subsequentListDomainMaintenancesoperations, which returns results in the next page.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListDomainMaintenancesRequest.Builder>serializableBuilderClass()MaintenanceStatusstatus()The status of the action.StringstatusAsString()The status of the action.ListDomainMaintenancesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
domainName
public final String domainName()
The name of the domain.
- Returns:
- The name of the domain.
-
action
public final MaintenanceType action()
The name of the action.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnMaintenanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The name of the action.
- See Also:
MaintenanceType
-
actionAsString
public final String actionAsString()
The name of the action.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnMaintenanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The name of the action.
- See Also:
MaintenanceType
-
status
public final MaintenanceStatus status()
The status of the action.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMaintenanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the action.
- See Also:
MaintenanceStatus
-
statusAsString
public final String statusAsString()
The status of the action.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMaintenanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the action.
- See Also:
MaintenanceStatus
-
maxResults
public final Integer maxResults()
An optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results.- Returns:
- An optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results.
-
nextToken
public final String nextToken()
If your initial
ListDomainMaintenancesoperation returns anextToken, include the returnednextTokenin subsequentListDomainMaintenancesoperations, which returns results in the next page.- Returns:
- If your initial
ListDomainMaintenancesoperation returns anextToken, include the returnednextTokenin subsequentListDomainMaintenancesoperations, which returns results in the next page.
-
toBuilder
public ListDomainMaintenancesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListDomainMaintenancesRequest.Builder,ListDomainMaintenancesRequest>- Specified by:
toBuilderin classOpenSearchRequest
-
builder
public static ListDomainMaintenancesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListDomainMaintenancesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-