Class StartZonalShiftRequest
- All Implemented Interfaces:
- SdkPojo,- ToCopyableBuilder<StartZonalShiftRequest.Builder,- StartZonalShiftRequest> 
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionfinal StringawayFrom()The Availability Zone (for example,use1-az1) that traffic is moved away from for a resource when you start a zonal shift.builder()final Stringcomment()A comment that you enter about the zonal shift.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time (expiration time).final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest.final inthashCode()final StringThe identifier for the resource that Amazon Web Services shifts traffic for.static Class<? extends StartZonalShiftRequest.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequestoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
awayFromThe Availability Zone (for example, use1-az1) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.- Returns:
- The Availability Zone (for example, use1-az1) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.
 
- 
commentA comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string. - Returns:
- A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string.
 
- 
expiresInThe length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time (expiration time). Zonal shifts are temporary. You can set a zonal shift to be active initially for up to three days (72 hours). If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone. To set a length of time for a zonal shift to be active, specify a whole number, and then one of the following, with no space: - 
 A lowercase letter m: To specify that the value is in minutes. 
- 
 A lowercase letter h: To specify that the value is in hours. 
 For example: 20hmeans the zonal shift expires in 20 hours.120mmeans the zonal shift expires in 120 minutes (2 hours).- Returns:
- The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry
         time (expiration time). Zonal shifts are temporary. You can set a zonal shift to be active initially for
         up to three days (72 hours).
         If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone. To set a length of time for a zonal shift to be active, specify a whole number, and then one of the following, with no space: - 
         A lowercase letter m: To specify that the value is in minutes. 
- 
         A lowercase letter h: To specify that the value is in hours. 
 For example: 20hmeans the zonal shift expires in 20 hours.120mmeans the zonal shift expires in 120 minutes (2 hours).
- 
         
 
- 
 
- 
resourceIdentifierThe identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. - Returns:
- The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon
         Resource Name (ARN) for the resource.
         At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. 
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<StartZonalShiftRequest.Builder,- StartZonalShiftRequest> 
- Specified by:
- toBuilderin class- ArcZonalShiftRequest
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCodepublic final int hashCode()- Overrides:
- hashCodein class- AwsRequest
 
- 
equals- Overrides:
- equalsin class- AwsRequest
 
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForFieldDescription copied from class:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
- getValueForFieldin class- SdkRequest
- Parameters:
- fieldName- The name of the member to be retrieved.
- clazz- The class to cast the returned object to.
- Returns:
- Optional containing the casted return value
 
- 
sdkFields
 
-