@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 |
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 |
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 |
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 AppConfig hosted configuration store, Systems Manager
(SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For the hosted configuration store and
for feature flags, specify hosted
. For an SSM document, specify either the document name in the
format ssm-document://<Document_name>
or the Amazon Resource Name (ARN). For a parameter,
specify either the parameter name in the format ssm-parameter://<Parameter_name>
or the ARN.
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
locationUri
- A URI to locate the configuration. You can specify the AppConfig hosted configuration store, Systems
Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For the hosted
configuration store and for feature flags, specify hosted
. For an SSM document, specify
either the document name in the format ssm-document://<Document_name>
or the Amazon
Resource Name (ARN). For a parameter, specify either the parameter name in the format
ssm-parameter://<Parameter_name>
or the ARN. 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
public String getLocationUri()
A URI to locate the configuration. You can specify the AppConfig hosted configuration store, Systems Manager
(SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For the hosted configuration store and
for feature flags, specify hosted
. For an SSM document, specify either the document name in the
format ssm-document://<Document_name>
or the Amazon Resource Name (ARN). For a parameter,
specify either the parameter name in the format ssm-parameter://<Parameter_name>
or the ARN.
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
hosted
. For an SSM document, specify
either the document name in the format ssm-document://<Document_name>
or the Amazon
Resource Name (ARN). For a parameter, specify either the parameter name in the format
ssm-parameter://<Parameter_name>
or the ARN. 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
public CreateConfigurationProfileRequest withLocationUri(String locationUri)
A URI to locate the configuration. You can specify the AppConfig hosted configuration store, Systems Manager
(SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For the hosted configuration store and
for feature flags, specify hosted
. For an SSM document, specify either the document name in the
format ssm-document://<Document_name>
or the Amazon Resource Name (ARN). For a parameter,
specify either the parameter name in the format ssm-parameter://<Parameter_name>
or the ARN.
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
locationUri
- A URI to locate the configuration. You can specify the AppConfig hosted configuration store, Systems
Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For the hosted
configuration store and for feature flags, specify hosted
. For an SSM document, specify
either the document name in the format ssm-document://<Document_name>
or the Amazon
Resource Name (ARN). For a parameter, specify either the parameter name in the format
ssm-parameter://<Parameter_name>
or the ARN. 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
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 String toString()
toString
in class Object
Object.toString()
public CreateConfigurationProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()