public static interface CreateConfigurationProfileRequest.Builder extends AppConfigRequest.Builder, SdkPojo, CopyableBuilder<CreateConfigurationProfileRequest.Builder,CreateConfigurationProfileRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateConfigurationProfileRequest.Builder applicationId(String applicationId)
The application ID.
applicationId - The application ID.CreateConfigurationProfileRequest.Builder name(String name)
A name for the configuration profile.
name - A name for the configuration profile.CreateConfigurationProfileRequest.Builder description(String description)
A description of the configuration profile.
description - A description of the configuration profile.CreateConfigurationProfileRequest.Builder locationUri(String locationUri)
A URI to locate the configuration. You can specify the following:
For the AppConfig hosted configuration store and for feature flags, specify hosted.
For an Amazon Web Services Systems Manager Parameter Store parameter, specify either the parameter name in
the format ssm-parameter://<parameter name> or the ARN.
For an Secrets Manager secret, specify the URI in the following format: secrets-manager
://<secret name>.
For an Amazon S3 object, specify the URI in the following format:
s3://<bucket>/<objectKey> . Here is an example:
s3://my-bucket/my-app/us-east-1/my-config.json
For an SSM document, specify either the document name in the format
ssm-document://<document name> or the Amazon Resource Name (ARN).
locationUri - A URI to locate the configuration. You can specify the following:
For the AppConfig hosted configuration store and for feature flags, specify hosted.
For an Amazon Web Services Systems Manager Parameter Store parameter, specify either the parameter
name in the format ssm-parameter://<parameter name> or the ARN.
For an Secrets Manager secret, specify the URI in the following format: secrets-manager
://<secret name>.
For an Amazon S3 object, specify the URI in the following format:
s3://<bucket>/<objectKey> . Here is an example:
s3://my-bucket/my-app/us-east-1/my-config.json
For an SSM document, specify either the document name in the format
ssm-document://<document name> or the Amazon Resource Name (ARN).
CreateConfigurationProfileRequest.Builder retrievalRoleArn(String retrievalRoleArn)
The ARN of an IAM role with permission to access the configuration at the specified LocationUri.
A retrieval role ARN is not required for configurations stored in the AppConfig hosted configuration store. It is required for all other sources that store your configuration.
retrievalRoleArn - The ARN of an IAM role with permission to access the configuration at the specified
LocationUri. A retrieval role ARN is not required for configurations stored in the AppConfig hosted configuration store. It is required for all other sources that store your configuration.
CreateConfigurationProfileRequest.Builder validators(Collection<Validator> validators)
A list of methods for validating the configuration.
validators - A list of methods for validating the configuration.CreateConfigurationProfileRequest.Builder validators(Validator... validators)
A list of methods for validating the configuration.
validators - A list of methods for validating the configuration.CreateConfigurationProfileRequest.Builder validators(Consumer<Validator.Builder>... 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 via Validator.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #validators(List.
validators - a consumer that will call methods on
Validator.Builder#validators(java.util.Collection) CreateConfigurationProfileRequest.Builder tags(Map<String,String> tags)
Metadata to assign to the configuration profile. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
tags - Metadata to assign to the configuration profile. Tags help organize and categorize your AppConfig
resources. Each tag consists of a key and an optional value, both of which you define.CreateConfigurationProfileRequest.Builder type(String type)
The type of configurations contained in the profile. AppConfig supports feature flags and
freeform 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 for Type:
AWS.AppConfig.FeatureFlags
AWS.Freeform
type - The type of configurations contained in the profile. AppConfig supports feature flags and
freeform 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 for Type:
AWS.AppConfig.FeatureFlags
AWS.Freeform
CreateConfigurationProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateConfigurationProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.