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
ListDomainMaintenances
operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ListDomainMaintenancesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MaintenanceType
action()
The name of the action.String
actionAsString()
The name of the action.static ListDomainMaintenancesRequest.Builder
builder()
String
domainName()
The name of the domain.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
maxResults()
An optional parameter that specifies the maximum number of results to return.String
nextToken()
If your initialListDomainMaintenances
operation returns anextToken
, include the returnednextToken
in subsequentListDomainMaintenances
operations, which returns results in the next page.List<SdkField<?>>
sdkFields()
static Class<? extends ListDomainMaintenancesRequest.Builder>
serializableBuilderClass()
MaintenanceStatus
status()
The status of the action.String
statusAsString()
The status of the action.ListDomainMaintenancesRequest.Builder
toBuilder()
String
toString()
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,
action
will 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,
action
will 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,
status
will 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,
status
will 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
nextToken
to get the next page of results.- Returns:
- An optional parameter that specifies the maximum number of results to return. You can use
nextToken
to get the next page of results.
-
nextToken
public final String nextToken()
If your initial
ListDomainMaintenances
operation returns anextToken
, include the returnednextToken
in subsequentListDomainMaintenances
operations, which returns results in the next page.- Returns:
- If your initial
ListDomainMaintenances
operation returns anextToken
, include the returnednextToken
in subsequentListDomainMaintenances
operations, which returns results in the next page.
-
toBuilder
public ListDomainMaintenancesRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ListDomainMaintenancesRequest.Builder,ListDomainMaintenancesRequest>
- Specified by:
toBuilder
in classOpenSearchRequest
-
builder
public static ListDomainMaintenancesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListDomainMaintenancesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-