Interface CreateResourceProviderRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BackupExternalRequest.Builder,Buildable,CopyableBuilder<CreateResourceProviderRequest.Builder,,CreateResourceProviderRequest> SdkBuilder<CreateResourceProviderRequest.Builder,,CreateResourceProviderRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateResourceProviderRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplianceArn(String applianceArn) The Amazon Resource Name (ARN) of the appliance.autoDeleteNotFoundTargetsAfterDays(Integer autoDeleteNotFoundTargetsAfterDays) The number of days after which resource targets with a status ofNOT_FOUNDare automatically deleted.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.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.providerType(String providerType) The type of resource provider.providerType(ResourceProviderType providerType) The type of resource provider.secretConfigurationArn(String secretConfigurationArn) The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.The tags to associate with 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
-
applianceArn
The Amazon Resource Name (ARN) of the appliance.
- Parameters:
applianceArn- The Amazon Resource Name (ARN) of the appliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.- 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
CreateResourceProviderRequest.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 CreateResourceProviderRequest.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:
-
providerType
The type of resource provider.
- Parameters:
providerType- The type of resource provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
providerType
The type of resource provider.
- Parameters:
providerType- The type of resource provider.- 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.
-
tags
The tags to associate with the resource provider.
- Parameters:
tags- The tags to associate with the resource provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
CreateResourceProviderRequest.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 CreateResourceProviderRequest.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
CreateResourceProviderRequest.Builder autoDeleteNotFoundTargetsAfterDays(Integer autoDeleteNotFoundTargetsAfterDays) The number of days after which resource targets with a status of
NOT_FOUNDare automatically deleted.- Parameters:
autoDeleteNotFoundTargetsAfterDays- The number of days after which resource targets with a status ofNOT_FOUNDare automatically deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateResourceProviderRequest.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
CreateResourceProviderRequest.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.
-