Interface CreateSnapmirrorRelationshipRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSnapmirrorRelationshipRequest.Builder,,CreateSnapmirrorRelationshipRequest> FSxRequest.Builder,SdkBuilder<CreateSnapmirrorRelationshipRequest.Builder,,CreateSnapmirrorRelationshipRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateSnapmirrorRelationshipRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) Sets the value of the ClientRequestToken property for this object.destination(Consumer<CreateSnapmirrorDestination.Builder> destination) Specifies the destination endpoint of the SnapMirror relationship.destination(CreateSnapmirrorDestination destination) Specifies the destination endpoint of the SnapMirror relationship.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.source(Consumer<CreateSnapmirrorSource.Builder> source) Specifies the source endpoint of the SnapMirror relationship.source(CreateSnapmirrorSource source) Specifies the source endpoint of the SnapMirror relationship.tags(Collection<Tag> tags) Sets the value of the Tags property for this object.tags(Consumer<Tag.Builder>... tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.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.
-
source
Specifies the source endpoint of the SnapMirror relationship.
- Parameters:
source- Specifies the source endpoint of the SnapMirror relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default CreateSnapmirrorRelationshipRequest.Builder source(Consumer<CreateSnapmirrorSource.Builder> source) Specifies the source endpoint of the SnapMirror relationship.
This is a convenience method that creates an instance of theCreateSnapmirrorSource.Builderavoiding the need to create one manually viaCreateSnapmirrorSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(CreateSnapmirrorSource).- Parameters:
source- a consumer that will call methods onCreateSnapmirrorSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destination
Specifies the destination endpoint of the SnapMirror relationship.
- Parameters:
destination- Specifies the destination endpoint of the SnapMirror relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default CreateSnapmirrorRelationshipRequest.Builder destination(Consumer<CreateSnapmirrorDestination.Builder> destination) Specifies the destination endpoint of the SnapMirror relationship.
This is a convenience method that creates an instance of theCreateSnapmirrorDestination.Builderavoiding the need to create one manually viaCreateSnapmirrorDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestination(CreateSnapmirrorDestination).- Parameters:
destination- a consumer that will call methods onCreateSnapmirrorDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateSnapmirrorRelationshipRequest.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
CreateSnapmirrorRelationshipRequest.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.
-