@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApplicationVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateApplicationVersionResult() |
Modifier and Type | Method and Description |
---|---|
CreateApplicationVersionResult |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The application Amazon Resource Name (ARN).
|
String |
getCreationTime()
The date and time this resource was created.
|
List<ParameterDefinition> |
getParameterDefinitions()
An array of parameter types supported by the application.
|
List<String> |
getRequiredCapabilities()
A list of values that you must specify before you can deploy certain applications.
|
Boolean |
getResourcesSupported()
Whether all of the AWS resources contained in this application are supported in the region in which it is being
retrieved.
|
String |
getSemanticVersion()
The semantic version of the application:
|
String |
getSourceCodeUrl()
A link to a public repository for the source code of your application.
|
String |
getTemplateUrl()
A link to the packaged AWS SAM template of your application.
|
int |
hashCode() |
Boolean |
isResourcesSupported()
Whether all of the AWS resources contained in this application are supported in the region in which it is being
retrieved.
|
void |
setApplicationId(String applicationId)
The application Amazon Resource Name (ARN).
|
void |
setCreationTime(String creationTime)
The date and time this resource was created.
|
void |
setParameterDefinitions(Collection<ParameterDefinition> parameterDefinitions)
An array of parameter types supported by the application.
|
void |
setRequiredCapabilities(Collection<String> requiredCapabilities)
A list of values that you must specify before you can deploy certain applications.
|
void |
setResourcesSupported(Boolean resourcesSupported)
Whether all of the AWS resources contained in this application are supported in the region in which it is being
retrieved.
|
void |
setSemanticVersion(String semanticVersion)
The semantic version of the application:
|
void |
setSourceCodeUrl(String sourceCodeUrl)
A link to a public repository for the source code of your application.
|
void |
setTemplateUrl(String templateUrl)
A link to the packaged AWS SAM template of your application.
|
String |
toString()
Returns a string representation of this object.
|
CreateApplicationVersionResult |
withApplicationId(String applicationId)
The application Amazon Resource Name (ARN).
|
CreateApplicationVersionResult |
withCreationTime(String creationTime)
The date and time this resource was created.
|
CreateApplicationVersionResult |
withParameterDefinitions(Collection<ParameterDefinition> parameterDefinitions)
An array of parameter types supported by the application.
|
CreateApplicationVersionResult |
withParameterDefinitions(ParameterDefinition... parameterDefinitions)
An array of parameter types supported by the application.
|
CreateApplicationVersionResult |
withRequiredCapabilities(Capability... requiredCapabilities)
A list of values that you must specify before you can deploy certain applications.
|
CreateApplicationVersionResult |
withRequiredCapabilities(Collection<String> requiredCapabilities)
A list of values that you must specify before you can deploy certain applications.
|
CreateApplicationVersionResult |
withRequiredCapabilities(String... requiredCapabilities)
A list of values that you must specify before you can deploy certain applications.
|
CreateApplicationVersionResult |
withResourcesSupported(Boolean resourcesSupported)
Whether all of the AWS resources contained in this application are supported in the region in which it is being
retrieved.
|
CreateApplicationVersionResult |
withSemanticVersion(String semanticVersion)
The semantic version of the application:
|
CreateApplicationVersionResult |
withSourceCodeUrl(String sourceCodeUrl)
A link to a public repository for the source code of your application.
|
CreateApplicationVersionResult |
withTemplateUrl(String templateUrl)
A link to the packaged AWS SAM template of your application.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setApplicationId(String applicationId)
The application Amazon Resource Name (ARN).
applicationId
- The application Amazon Resource Name (ARN).public String getApplicationId()
The application Amazon Resource Name (ARN).
public CreateApplicationVersionResult withApplicationId(String applicationId)
The application Amazon Resource Name (ARN).
applicationId
- The application Amazon Resource Name (ARN).public void setCreationTime(String creationTime)
The date and time this resource was created.
creationTime
- The date and time this resource was created.public String getCreationTime()
The date and time this resource was created.
public CreateApplicationVersionResult withCreationTime(String creationTime)
The date and time this resource was created.
creationTime
- The date and time this resource was created.public List<ParameterDefinition> getParameterDefinitions()
An array of parameter types supported by the application.
public void setParameterDefinitions(Collection<ParameterDefinition> parameterDefinitions)
An array of parameter types supported by the application.
parameterDefinitions
- An array of parameter types supported by the application.public CreateApplicationVersionResult withParameterDefinitions(ParameterDefinition... parameterDefinitions)
An array of parameter types supported by the application.
NOTE: This method appends the values to the existing list (if any). Use
setParameterDefinitions(java.util.Collection)
or withParameterDefinitions(java.util.Collection)
if you want to override the existing values.
parameterDefinitions
- An array of parameter types supported by the application.public CreateApplicationVersionResult withParameterDefinitions(Collection<ParameterDefinition> parameterDefinitions)
An array of parameter types supported by the application.
parameterDefinitions
- An array of parameter types supported by the application.public List<String> getRequiredCapabilities()
A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, and CAPABILITY_RESOURCE_POLICY.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
Valid values: CAPABILITY_IAM | CAPABILITY_NAMED_IAM | CAPABILITY_RESOURCE_POLICY
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, and CAPABILITY_RESOURCE_POLICY.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
Valid values: CAPABILITY_IAM | CAPABILITY_NAMED_IAM | CAPABILITY_RESOURCE_POLICY
Capability
public void setRequiredCapabilities(Collection<String> requiredCapabilities)
A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, and CAPABILITY_RESOURCE_POLICY.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
Valid values: CAPABILITY_IAM | CAPABILITY_NAMED_IAM | CAPABILITY_RESOURCE_POLICY
requiredCapabilities
- A list of values that you must specify before you can deploy certain applications. Some applications might
include resources that can affect permissions in your AWS account, for example, by creating new AWS
Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their
capabilities by specifying this parameter.
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, and CAPABILITY_RESOURCE_POLICY.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
Valid values: CAPABILITY_IAM | CAPABILITY_NAMED_IAM | CAPABILITY_RESOURCE_POLICY
Capability
public CreateApplicationVersionResult withRequiredCapabilities(String... requiredCapabilities)
A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, and CAPABILITY_RESOURCE_POLICY.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
Valid values: CAPABILITY_IAM | CAPABILITY_NAMED_IAM | CAPABILITY_RESOURCE_POLICY
NOTE: This method appends the values to the existing list (if any). Use
setRequiredCapabilities(java.util.Collection)
or withRequiredCapabilities(java.util.Collection)
if you want to override the existing values.
requiredCapabilities
- A list of values that you must specify before you can deploy certain applications. Some applications might
include resources that can affect permissions in your AWS account, for example, by creating new AWS
Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their
capabilities by specifying this parameter.
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, and CAPABILITY_RESOURCE_POLICY.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
Valid values: CAPABILITY_IAM | CAPABILITY_NAMED_IAM | CAPABILITY_RESOURCE_POLICY
Capability
public CreateApplicationVersionResult withRequiredCapabilities(Collection<String> requiredCapabilities)
A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, and CAPABILITY_RESOURCE_POLICY.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
Valid values: CAPABILITY_IAM | CAPABILITY_NAMED_IAM | CAPABILITY_RESOURCE_POLICY
requiredCapabilities
- A list of values that you must specify before you can deploy certain applications. Some applications might
include resources that can affect permissions in your AWS account, for example, by creating new AWS
Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their
capabilities by specifying this parameter.
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, and CAPABILITY_RESOURCE_POLICY.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
Valid values: CAPABILITY_IAM | CAPABILITY_NAMED_IAM | CAPABILITY_RESOURCE_POLICY
Capability
public CreateApplicationVersionResult withRequiredCapabilities(Capability... requiredCapabilities)
A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, and CAPABILITY_RESOURCE_POLICY.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
Valid values: CAPABILITY_IAM | CAPABILITY_NAMED_IAM | CAPABILITY_RESOURCE_POLICY
requiredCapabilities
- A list of values that you must specify before you can deploy certain applications. Some applications might
include resources that can affect permissions in your AWS account, for example, by creating new AWS
Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their
capabilities by specifying this parameter.
The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, and CAPABILITY_RESOURCE_POLICY.
The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.
If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.
Valid values: CAPABILITY_IAM | CAPABILITY_NAMED_IAM | CAPABILITY_RESOURCE_POLICY
Capability
public void setResourcesSupported(Boolean resourcesSupported)
Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.
resourcesSupported
- Whether all of the AWS resources contained in this application are supported in the region in which it is
being retrieved.public Boolean getResourcesSupported()
Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.
public CreateApplicationVersionResult withResourcesSupported(Boolean resourcesSupported)
Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.
resourcesSupported
- Whether all of the AWS resources contained in this application are supported in the region in which it is
being retrieved.public Boolean isResourcesSupported()
Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.
public void setSemanticVersion(String semanticVersion)
The semantic version of the application:
semanticVersion
- The semantic version of the application:
public String getSemanticVersion()
The semantic version of the application:
public CreateApplicationVersionResult withSemanticVersion(String semanticVersion)
The semantic version of the application:
semanticVersion
- The semantic version of the application:
public void setSourceCodeUrl(String sourceCodeUrl)
A link to a public repository for the source code of your application.
sourceCodeUrl
- A link to a public repository for the source code of your application.public String getSourceCodeUrl()
A link to a public repository for the source code of your application.
public CreateApplicationVersionResult withSourceCodeUrl(String sourceCodeUrl)
A link to a public repository for the source code of your application.
sourceCodeUrl
- A link to a public repository for the source code of your application.public void setTemplateUrl(String templateUrl)
A link to the packaged AWS SAM template of your application.
templateUrl
- A link to the packaged AWS SAM template of your application.public String getTemplateUrl()
A link to the packaged AWS SAM template of your application.
public CreateApplicationVersionResult withTemplateUrl(String templateUrl)
A link to the packaged AWS SAM template of your application.
templateUrl
- A link to the packaged AWS SAM template of your application.public String toString()
toString
in class Object
Object.toString()
public CreateApplicationVersionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.