Interface UpdateSnapmirrorRelationshipRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSnapmirrorRelationshipRequest.Builder,,UpdateSnapmirrorRelationshipRequest> FSxRequest.Builder,SdkBuilder<UpdateSnapmirrorRelationshipRequest.Builder,,UpdateSnapmirrorRelationshipRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSnapmirrorRelationshipRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) Sets the value of the ClientRequestToken property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specifies the ID of the SnapMirror policy that the SnapMirror relationship uses.snapmirrorRelationshipId(String snapmirrorRelationshipId) The ID of the SnapMirror relationship that you want to update.Specifies the state to set for the SnapMirror relationship:Specifies the state to set for the SnapMirror relationship:throttleInKbps(Long throttleInKbps) Specifies the maximum bandwidth, in kilobytes per second (KBps), that SnapMirror uses to transfer data for the relationship.transferSchedule(String transferSchedule) Specifies the name of the ONTAP schedule that determines when SnapMirror transfers data for the relationship.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fsx.model.FSxRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientRequestToken
Sets the value of the ClientRequestToken property for this object.- Parameters:
clientRequestToken- The new value for the ClientRequestToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapmirrorRelationshipId
UpdateSnapmirrorRelationshipRequest.Builder snapmirrorRelationshipId(String snapmirrorRelationshipId) The ID of the SnapMirror relationship that you want to update.
- Parameters:
snapmirrorRelationshipId- The ID of the SnapMirror relationship that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyId
Specifies the ID of the SnapMirror policy that the SnapMirror relationship uses.
- Parameters:
policyId- Specifies the ID of the SnapMirror policy that the SnapMirror relationship uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transferSchedule
Specifies the name of the ONTAP schedule that determines when SnapMirror transfers data for the relationship. This schedule overrides the transfer schedule of the SnapMirror policy.
- Parameters:
transferSchedule- Specifies the name of the ONTAP schedule that determines when SnapMirror transfers data for the relationship. This schedule overrides the transfer schedule of the SnapMirror policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
throttleInKbps
Specifies the maximum bandwidth, in kilobytes per second (KBps), that SnapMirror uses to transfer data for the relationship. A value of
0means that the bandwidth is unlimited. This value overrides the throttle of the SnapMirror policy.- Parameters:
throttleInKbps- Specifies the maximum bandwidth, in kilobytes per second (KBps), that SnapMirror uses to transfer data for the relationship. A value of0means that the bandwidth is unlimited. This value overrides the throttle of the SnapMirror policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Specifies the state to set for the SnapMirror relationship:
-
SNAPMIRRORED– Resumes a paused SnapMirror relationship, or resynchronizes a broken-off SnapMirror relationship. -
PAUSED– Pauses SnapMirror transfers for the relationship. -
BROKEN_OFF– Breaks off the SnapMirror relationship, which makes the destination volume writable.
Setting
StatetoSNAPMIRROREDon a relationship that isBROKEN_OFFmight resynchronize the relationship. A resync overwrites the destination volume with data from the source volume, and discards any data written to the destination volume that isn't present on the source volume. Use caution when you resynchronize a relationship.- Parameters:
state- Specifies the state to set for the SnapMirror relationship:-
SNAPMIRRORED– Resumes a paused SnapMirror relationship, or resynchronizes a broken-off SnapMirror relationship. -
PAUSED– Pauses SnapMirror transfers for the relationship. -
BROKEN_OFF– Breaks off the SnapMirror relationship, which makes the destination volume writable.
Setting
StatetoSNAPMIRROREDon a relationship that isBROKEN_OFFmight resynchronize the relationship. A resync overwrites the destination volume with data from the source volume, and discards any data written to the destination volume that isn't present on the source volume. Use caution when you resynchronize a relationship.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
state
Specifies the state to set for the SnapMirror relationship:
-
SNAPMIRRORED– Resumes a paused SnapMirror relationship, or resynchronizes a broken-off SnapMirror relationship. -
PAUSED– Pauses SnapMirror transfers for the relationship. -
BROKEN_OFF– Breaks off the SnapMirror relationship, which makes the destination volume writable.
Setting
StatetoSNAPMIRROREDon a relationship that isBROKEN_OFFmight resynchronize the relationship. A resync overwrites the destination volume with data from the source volume, and discards any data written to the destination volume that isn't present on the source volume. Use caution when you resynchronize a relationship.- Parameters:
state- Specifies the state to set for the SnapMirror relationship:-
SNAPMIRRORED– Resumes a paused SnapMirror relationship, or resynchronizes a broken-off SnapMirror relationship. -
PAUSED– Pauses SnapMirror transfers for the relationship. -
BROKEN_OFF– Breaks off the SnapMirror relationship, which makes the destination volume writable.
Setting
StatetoSNAPMIRROREDon a relationship that isBROKEN_OFFmight resynchronize the relationship. A resync overwrites the destination volume with data from the source volume, and discards any data written to the destination volume that isn't present on the source volume. Use caution when you resynchronize a relationship.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
UpdateSnapmirrorRelationshipRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSnapmirrorRelationshipRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-