@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateConfigurationProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateConfigurationProfileRequest() |
Modifier and Type | Method and Description |
---|---|
CreateConfigurationProfileRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateConfigurationProfileRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateConfigurationProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationId()
The application ID.
|
String |
getDescription()
A description of the configuration profile.
|
String |
getKmsKeyIdentifier()
The identifier for an Key Management Service key to encrypt new configuration data versions in the AppConfig
hosted configuration store.
|
String |
getLocationUri()
A URI to locate the configuration.
|
String |
getName()
A name for the configuration profile.
|
String |
getRetrievalRoleArn()
The ARN of an IAM role with permission to access the configuration at the specified
LocationUri . |
Map<String,String> |
getTags()
Metadata to assign to the configuration profile.
|
String |
getType()
The type of configurations contained in the profile.
|
List<Validator> |
getValidators()
A list of methods for validating the configuration.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The application ID.
|
void |
setDescription(String description)
A description of the configuration profile.
|
void |
setKmsKeyIdentifier(String kmsKeyIdentifier)
The identifier for an Key Management Service key to encrypt new configuration data versions in the AppConfig
hosted configuration store.
|
void |
setLocationUri(String locationUri)
A URI to locate the configuration.
|
void |
setName(String name)
A name for the configuration profile.
|
void |
setRetrievalRoleArn(String retrievalRoleArn)
The ARN of an IAM role with permission to access the configuration at the specified
LocationUri . |
void |
setTags(Map<String,String> tags)
Metadata to assign to the configuration profile.
|
void |
setType(String type)
The type of configurations contained in the profile.
|
void |
setValidators(Collection<Validator> validators)
A list of methods for validating the configuration.
|
String |
toString()
Returns a string representation of this object.
|
CreateConfigurationProfileRequest |
withApplicationId(String applicationId)
The application ID.
|
CreateConfigurationProfileRequest |
withDescription(String description)
A description of the configuration profile.
|
CreateConfigurationProfileRequest |
withKmsKeyIdentifier(String kmsKeyIdentifier)
The identifier for an Key Management Service key to encrypt new configuration data versions in the AppConfig
hosted configuration store.
|
CreateConfigurationProfileRequest |
withLocationUri(String locationUri)
A URI to locate the configuration.
|
CreateConfigurationProfileRequest |
withName(String name)
A name for the configuration profile.
|
CreateConfigurationProfileRequest |
withRetrievalRoleArn(String retrievalRoleArn)
The ARN of an IAM role with permission to access the configuration at the specified
LocationUri . |
CreateConfigurationProfileRequest |
withTags(Map<String,String> tags)
Metadata to assign to the configuration profile.
|
CreateConfigurationProfileRequest |
withType(String type)
The type of configurations contained in the profile.
|
CreateConfigurationProfileRequest |
withValidators(Collection<Validator> validators)
A list of methods for validating the configuration.
|
CreateConfigurationProfileRequest |
withValidators(Validator... validators)
A list of methods for validating the configuration.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApplicationId(String applicationId)
The application ID.
applicationId
- The application ID.public String getApplicationId()
The application ID.
public CreateConfigurationProfileRequest withApplicationId(String applicationId)
The application ID.
applicationId
- The application ID.public void setName(String name)
A name for the configuration profile.
name
- A name for the configuration profile.public String getName()
A name for the configuration profile.
public CreateConfigurationProfileRequest withName(String name)
A name for the configuration profile.
name
- A name for the configuration profile.public void setDescription(String description)
A description of the configuration profile.
description
- A description of the configuration profile.public String getDescription()
A description of the configuration profile.
public CreateConfigurationProfileRequest withDescription(String description)
A description of the configuration profile.
description
- A description of the configuration profile.public void setLocationUri(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 Amazon Web Services CodePipeline pipeline, specify the URI in the following format:
codepipeline
://<pipeline name>.
For an Secrets Manager secret, specify the URI in the following format: secretsmanager
://<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 Amazon Web Services CodePipeline pipeline, specify the URI in the following format:
codepipeline
://<pipeline name>.
For an Secrets Manager secret, specify the URI in the following format: secretsmanager
://<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).
public String getLocationUri()
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 Amazon Web Services CodePipeline pipeline, specify the URI in the following format:
codepipeline
://<pipeline name>.
For an Secrets Manager secret, specify the URI in the following format: secretsmanager
://<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).
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 Amazon Web Services CodePipeline pipeline, specify the URI in the following format:
codepipeline
://<pipeline name>.
For an Secrets Manager secret, specify the URI in the following format: secretsmanager
://<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).
public CreateConfigurationProfileRequest withLocationUri(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 Amazon Web Services CodePipeline pipeline, specify the URI in the following format:
codepipeline
://<pipeline name>.
For an Secrets Manager secret, specify the URI in the following format: secretsmanager
://<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 Amazon Web Services CodePipeline pipeline, specify the URI in the following format:
codepipeline
://<pipeline name>.
For an Secrets Manager secret, specify the URI in the following format: secretsmanager
://<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).
public void setRetrievalRoleArn(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.
public String getRetrievalRoleArn()
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.
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.
public CreateConfigurationProfileRequest withRetrievalRoleArn(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.
public List<Validator> getValidators()
A list of methods for validating the configuration.
public void setValidators(Collection<Validator> validators)
A list of methods for validating the configuration.
validators
- A list of methods for validating the configuration.public CreateConfigurationProfileRequest withValidators(Validator... validators)
A list of methods for validating the configuration.
NOTE: This method appends the values to the existing list (if any). Use
setValidators(java.util.Collection)
or withValidators(java.util.Collection)
if you want to
override the existing values.
validators
- A list of methods for validating the configuration.public CreateConfigurationProfileRequest withValidators(Collection<Validator> validators)
A list of methods for validating the configuration.
validators
- A list of methods for validating the configuration.public Map<String,String> getTags()
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.
public void setTags(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.public CreateConfigurationProfileRequest withTags(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.public CreateConfigurationProfileRequest addTagsEntry(String key, String value)
public CreateConfigurationProfileRequest clearTagsEntries()
public void setType(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
public String getType()
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
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
public CreateConfigurationProfileRequest withType(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
public void setKmsKeyIdentifier(String kmsKeyIdentifier)
The identifier for an 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.
kmsKeyIdentifier
- The identifier for an 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.public String getKmsKeyIdentifier()
The identifier for an 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.
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.public CreateConfigurationProfileRequest withKmsKeyIdentifier(String kmsKeyIdentifier)
The identifier for an 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.
kmsKeyIdentifier
- The identifier for an 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.public String toString()
toString
in class Object
Object.toString()
public CreateConfigurationProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()