Interface UpdateZonalShiftRequest.Builder
-
- All Superinterfaces:
ArcZonalShiftRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateZonalShiftRequest.Builder,UpdateZonalShiftRequest>,SdkBuilder<UpdateZonalShiftRequest.Builder,UpdateZonalShiftRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateZonalShiftRequest
public static interface UpdateZonalShiftRequest.Builder extends ArcZonalShiftRequest.Builder, SdkPojo, CopyableBuilder<UpdateZonalShiftRequest.Builder,UpdateZonalShiftRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateZonalShiftRequest.Buildercomment(String comment)A comment that you enter about the zonal shift.UpdateZonalShiftRequest.BuilderexpiresIn(String expiresIn)The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time (expiration time).UpdateZonalShiftRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateZonalShiftRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateZonalShiftRequest.BuilderzonalShiftId(String zonalShiftId)The identifier of a zonal shift.-
Methods inherited from interface software.amazon.awssdk.services.arczonalshift.model.ArcZonalShiftRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
comment
UpdateZonalShiftRequest.Builder comment(String comment)
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.
- Parameters:
comment- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresIn
UpdateZonalShiftRequest.Builder expiresIn(String expiresIn)
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).- Parameters:
expiresIn- 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).-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
zonalShiftId
UpdateZonalShiftRequest.Builder zonalShiftId(String zonalShiftId)
The identifier of a zonal shift.
- Parameters:
zonalShiftId- The identifier of a zonal shift.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateZonalShiftRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateZonalShiftRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-