Interface UpdateResourceTargetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BackupExternalRequest.Builder,Buildable,CopyableBuilder<UpdateResourceTargetRequest.Builder,,UpdateResourceTargetRequest> SdkBuilder<UpdateResourceTargetRequest.Builder,,UpdateResourceTargetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateResourceTargetRequest
@Mutable
@NotThreadSafe
public static interface UpdateResourceTargetRequest.Builder
extends BackupExternalRequest.Builder, SdkPojo, CopyableBuilder<UpdateResourceTargetRequest.Builder,UpdateResourceTargetRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the resource target.The name of the resource target.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.targetConfiguration(Consumer<ResourceTargetConfiguration.Builder> targetConfiguration) The backup configuration for the resource target.targetConfiguration(ResourceTargetConfiguration targetConfiguration) The backup configuration for the resource target.targetConfigurationSource(String targetConfigurationSource) The source of the resource target's backup configuration.targetConfigurationSource(ResourceTargetConfigurationSource targetConfigurationSource) The source of the resource target's backup configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.backupexternal.model.BackupExternalRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the resource target.
- Parameters:
arn- The Amazon Resource Name (ARN) of the resource target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the resource target.
- Parameters:
name- The name of the resource target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
UpdateResourceTargetRequest.Builder targetConfiguration(ResourceTargetConfiguration targetConfiguration) The backup configuration for the resource target.
- Parameters:
targetConfiguration- The backup configuration for the resource target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
default UpdateResourceTargetRequest.Builder targetConfiguration(Consumer<ResourceTargetConfiguration.Builder> targetConfiguration) The backup configuration for the resource target.
This is a convenience method that creates an instance of theResourceTargetConfiguration.Builderavoiding the need to create one manually viaResourceTargetConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetConfiguration(ResourceTargetConfiguration).- Parameters:
targetConfiguration- a consumer that will call methods onResourceTargetConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetConfigurationSource
The source of the resource target's backup configuration.
- Parameters:
targetConfigurationSource- The source of the resource target's backup configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetConfigurationSource
UpdateResourceTargetRequest.Builder targetConfigurationSource(ResourceTargetConfigurationSource targetConfigurationSource) The source of the resource target's backup configuration.
- Parameters:
targetConfigurationSource- The source of the resource target's backup configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateResourceTargetRequest.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
UpdateResourceTargetRequest.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.
-