Class ListZonalShiftsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.arczonalshift.model.ArcZonalShiftRequest
-
- software.amazon.awssdk.services.arczonalshift.model.ListZonalShiftsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListZonalShiftsRequest.Builder,ListZonalShiftsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListZonalShiftsRequest extends ArcZonalShiftRequest implements ToCopyableBuilder<ListZonalShiftsRequest.Builder,ListZonalShiftsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListZonalShiftsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListZonalShiftsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The number of objects that you want to return with this call.StringnextToken()Specifies that you want to receive the next page of results.StringresourceIdentifier()The identifier for the resource that you want to list zonal shifts for.List<SdkField<?>>sdkFields()static Class<? extends ListZonalShiftsRequest.Builder>serializableBuilderClass()ZonalShiftStatusstatus()A status for a zonal shift.StringstatusAsString()A status for a zonal shift.ListZonalShiftsRequest.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
-
maxResults
public final Integer maxResults()
The number of objects that you want to return with this call.
- Returns:
- The number of objects that you want to return with this call.
-
nextToken
public final String nextToken()
Specifies that you want to receive the next page of results. Valid only if you received a
NextTokenresponse in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'sNextTokenresponse to request the next page of results.- Returns:
- Specifies that you want to receive the next page of results. Valid only if you received a
NextTokenresponse in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'sNextTokenresponse to request the next page of results.
-
resourceIdentifier
public final String resourceIdentifier()
The identifier for the resource that you want to list zonal shifts for. The identifier is the Amazon Resource Name (ARN) for the resource.
- Returns:
- The identifier for the resource that you want to list zonal shifts for. The identifier is the Amazon Resource Name (ARN) for the resource.
-
status
public final ZonalShiftStatus status()
A status for a zonal shift.
The
Statusfor a zonal shift can have one of the following values:-
ACTIVE: The zonal shift has been started and active.
-
EXPIRED: The zonal shift has expired (the expiry time was exceeded).
-
CANCELED: The zonal shift was canceled.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnZonalShiftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- A status for a zonal shift.
The
Statusfor a zonal shift can have one of the following values:-
ACTIVE: The zonal shift has been started and active.
-
EXPIRED: The zonal shift has expired (the expiry time was exceeded).
-
CANCELED: The zonal shift was canceled.
-
- See Also:
ZonalShiftStatus
-
-
statusAsString
public final String statusAsString()
A status for a zonal shift.
The
Statusfor a zonal shift can have one of the following values:-
ACTIVE: The zonal shift has been started and active.
-
EXPIRED: The zonal shift has expired (the expiry time was exceeded).
-
CANCELED: The zonal shift was canceled.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnZonalShiftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- A status for a zonal shift.
The
Statusfor a zonal shift can have one of the following values:-
ACTIVE: The zonal shift has been started and active.
-
EXPIRED: The zonal shift has expired (the expiry time was exceeded).
-
CANCELED: The zonal shift was canceled.
-
- See Also:
ZonalShiftStatus
-
-
toBuilder
public ListZonalShiftsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListZonalShiftsRequest.Builder,ListZonalShiftsRequest>- Specified by:
toBuilderin classArcZonalShiftRequest
-
builder
public static ListZonalShiftsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListZonalShiftsRequest.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
-
-