@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.
|
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 |
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 |
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 a Systems Manager (SSM) document, an SSM Parameter Store
parameter, or an Amazon S3 object. 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 a Systems Manager (SSM) document, an SSM Parameter
Store parameter, or an Amazon S3 object. 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.jsonpublic String getLocationUri()
A URI to locate the configuration. You can specify a Systems Manager (SSM) document, an SSM Parameter Store
parameter, or an Amazon S3 object. 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
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.jsonpublic CreateConfigurationProfileRequest withLocationUri(String locationUri)
A URI to locate the configuration. You can specify a Systems Manager (SSM) document, an SSM Parameter Store
parameter, or an Amazon S3 object. 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 a Systems Manager (SSM) document, an SSM Parameter
Store parameter, or an Amazon S3 object. 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.jsonpublic void setRetrievalRoleArn(String retrievalRoleArn)
The ARN of an IAM role with permission to access the configuration at the specified LocationUri.
retrievalRoleArn
- The ARN of an IAM role with permission to access the configuration at the specified LocationUri.public String getRetrievalRoleArn()
The ARN of an IAM role with permission to access the configuration at the specified LocationUri.
public CreateConfigurationProfileRequest withRetrievalRoleArn(String retrievalRoleArn)
The ARN of an IAM role with permission to access the configuration at the specified LocationUri.
retrievalRoleArn
- The ARN of an IAM role with permission to access the configuration at the specified LocationUri.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 String toString()
toString
in class Object
Object.toString()
public CreateConfigurationProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.