Interface CreateConfigurationProfileResponse.Builder
- All Superinterfaces:
AppConfigResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateConfigurationProfileResponse.Builder,
,CreateConfigurationProfileResponse> SdkBuilder<CreateConfigurationProfileResponse.Builder,
,CreateConfigurationProfileResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateConfigurationProfileResponse
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The application ID.description
(String description) The configuration profile description.The configuration profile ID.The Amazon Resource Name of the Key Management Service key to encrypt new configuration data versions in the AppConfig hosted configuration store.kmsKeyIdentifier
(String kmsKeyIdentifier) The Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.locationUri
(String locationUri) The URI location of the configuration.The name of the configuration profile.retrievalRoleArn
(String retrievalRoleArn) The ARN of an IAM role with permission to access the configuration at the specifiedLocationUri
.The type of configurations contained in the profile.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.AppConfigResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
id
The configuration profile ID.
- Parameters:
id
- The configuration profile ID.- 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
The configuration profile description.
- Parameters:
description
- The configuration profile description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationUri
The URI location of the configuration.
- Parameters:
locationUri
- The URI location of the configuration.- 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:
-
type
The type of configurations contained in the profile. AppConfig supports
feature flags
andfreeform
configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values forType
:AWS.AppConfig.FeatureFlags
AWS.Freeform
- Parameters:
type
- The type of configurations contained in the profile. AppConfig supportsfeature flags
andfreeform
configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values forType
:AWS.AppConfig.FeatureFlags
AWS.Freeform
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The Amazon Resource Name of the 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. To encrypt data managed in other configuration stores, see the documentation for how to specify an KMS key for that particular service.- Parameters:
kmsKeyArn
- The Amazon Resource Name of the Key Management Service key to encrypt new configuration data versions in the AppConfig hosted configuration store. This attribute is only used forhosted
configuration types. 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.
-
kmsKeyIdentifier
The Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
- Parameters:
kmsKeyIdentifier
- The Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-