Interface UpdateResourceProviderRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BackupExternalRequest.Builder,Buildable,CopyableBuilder<UpdateResourceProviderRequest.Builder,,UpdateResourceProviderRequest> SdkBuilder<UpdateResourceProviderRequest.Builder,,UpdateResourceProviderRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateResourceProviderRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the resource provider.autoDeleteNotFoundTargetsAfterDays(Integer autoDeleteNotFoundTargetsAfterDays) The number of days after which resource targets with a status ofNOT_FOUNDare automatically deleted.The name of the resource provider.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.providerConfiguration(Consumer<ResourceProviderConfiguration.Builder> providerConfiguration) The configuration of the resource provider.providerConfiguration(ResourceProviderConfiguration providerConfiguration) The configuration of the resource provider.secretConfigurationArn(String secretConfigurationArn) The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.targetConfiguration(Consumer<ResourceTargetConfigurations.Builder> targetConfiguration) The default backup configurations for the resource provider's resource targets, by target type.targetConfiguration(ResourceTargetConfigurations targetConfiguration) The default backup configurations for the resource provider's resource targets, by target type.targetTagKeysToSync(String... targetTagKeysToSync) The tag keys whose values are synchronized from external resources to their resource targets.targetTagKeysToSync(Collection<String> targetTagKeysToSync) The tag keys whose values are synchronized from external resources to their resource targets.targetTagsOnCreate(Map<String, String> targetTagsOnCreate) The tags to apply when the resource provider's resource targets are created.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 provider.
- Parameters:
arn- The Amazon Resource Name (ARN) of the resource provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the resource provider.
- Parameters:
name- The name of the resource provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerConfiguration
UpdateResourceProviderRequest.Builder providerConfiguration(ResourceProviderConfiguration providerConfiguration) The configuration of the resource provider.
- Parameters:
providerConfiguration- The configuration of the resource provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerConfiguration
default UpdateResourceProviderRequest.Builder providerConfiguration(Consumer<ResourceProviderConfiguration.Builder> providerConfiguration) The configuration of the resource provider.
This is a convenience method that creates an instance of theResourceProviderConfiguration.Builderavoiding the need to create one manually viaResourceProviderConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproviderConfiguration(ResourceProviderConfiguration).- Parameters:
providerConfiguration- a consumer that will call methods onResourceProviderConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secretConfigurationArn
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.
- Parameters:
secretConfigurationArn- The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
UpdateResourceProviderRequest.Builder targetConfiguration(ResourceTargetConfigurations targetConfiguration) The default backup configurations for the resource provider's resource targets, by target type.
- Parameters:
targetConfiguration- The default backup configurations for the resource provider's resource targets, by target type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
default UpdateResourceProviderRequest.Builder targetConfiguration(Consumer<ResourceTargetConfigurations.Builder> targetConfiguration) The default backup configurations for the resource provider's resource targets, by target type.
This is a convenience method that creates an instance of theResourceTargetConfigurations.Builderavoiding the need to create one manually viaResourceTargetConfigurations.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetConfiguration(ResourceTargetConfigurations).- Parameters:
targetConfiguration- a consumer that will call methods onResourceTargetConfigurations.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetTagsOnCreate
The tags to apply when the resource provider's resource targets are created.
- Parameters:
targetTagsOnCreate- The tags to apply when the resource provider's resource targets are created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTagKeysToSync
The tag keys whose values are synchronized from external resources to their resource targets.
- Parameters:
targetTagKeysToSync- The tag keys whose values are synchronized from external resources to their resource targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTagKeysToSync
The tag keys whose values are synchronized from external resources to their resource targets.
- Parameters:
targetTagKeysToSync- The tag keys whose values are synchronized from external resources to their resource targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoDeleteNotFoundTargetsAfterDays
UpdateResourceProviderRequest.Builder autoDeleteNotFoundTargetsAfterDays(Integer autoDeleteNotFoundTargetsAfterDays) The number of days after which resource targets with a status of
NOT_FOUNDare automatically deleted. Specify-1to disable automatic deletion.- Parameters:
autoDeleteNotFoundTargetsAfterDays- The number of days after which resource targets with a status ofNOT_FOUNDare automatically deleted. Specify-1to disable automatic deletion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateResourceProviderRequest.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
UpdateResourceProviderRequest.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.
-