Interface UpdateConfigurationProfileRequest.Builder
- All Superinterfaces:
AppConfigRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateConfigurationProfileRequest.Builder,
,UpdateConfigurationProfileRequest> SdkBuilder<UpdateConfigurationProfileRequest.Builder,
,UpdateConfigurationProfileRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateConfigurationProfileRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The application ID.configurationProfileId
(String configurationProfileId) The ID of the configuration profile.description
(String description) A description of the configuration profile.kmsKeyIdentifier
(String kmsKeyIdentifier) The identifier for a Key Management Service key to encrypt new configuration data versions in the AppConfig hosted configuration store.The name of the configuration profile.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.retrievalRoleArn
(String retrievalRoleArn) The ARN of an IAM role with permission to access the configuration at the specifiedLocationUri
.validators
(Collection<Validator> validators) A list of methods for validating the configuration.validators
(Consumer<Validator.Builder>... validators) A list of methods for validating the configuration.validators
(Validator... validators) A list of methods for validating the configuration.Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationId
The application ID.
- Parameters:
applicationId
- The application ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationProfileId
The ID of the configuration profile.
- Parameters:
configurationProfileId
- The ID of the configuration profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the configuration profile.
- Parameters:
name
- The name of the configuration profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the configuration profile.
- Parameters:
description
- A description of the configuration profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrievalRoleArn
The ARN of an IAM role with permission to access the configuration at the specified
LocationUri
.- Parameters:
retrievalRoleArn
- The ARN of an IAM role with permission to access the configuration at the specifiedLocationUri
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validators
A list of methods for validating the configuration.
- Parameters:
validators
- A list of methods for validating the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validators
A list of methods for validating the configuration.
- Parameters:
validators
- A list of methods for validating the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validators
A list of methods for validating the configuration.
This is a convenience method that creates an instance of theValidator.Builder
avoiding the need to create one manually viaValidator.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidators(List<Validator>)
.- Parameters:
validators
- a consumer that will call methods onValidator.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyIdentifier
The identifier for a Key Management Service key to encrypt new configuration data versions in the AppConfig hosted configuration store. This attribute is only used for
hosted
configuration types. The identifier can be an KMS key ID, alias, or the Amazon Resource Name (ARN) of the key ID or alias. To encrypt data managed in other configuration stores, see the documentation for how to specify an KMS key for that particular service.- Parameters:
kmsKeyIdentifier
- The identifier for a Key Management Service key to encrypt new configuration data versions in the AppConfig hosted configuration store. This attribute is only used forhosted
configuration types. The identifier can be an KMS key ID, alias, or the Amazon Resource Name (ARN) of the key ID or alias. To encrypt data managed in other configuration stores, see the documentation for how to specify an KMS key for that particular service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateConfigurationProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateConfigurationProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-