Interface CreateApplicationVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateApplicationVersionResponse.Builder,
,CreateApplicationVersionResponse> SdkBuilder<CreateApplicationVersionResponse.Builder,
,CreateApplicationVersionResponse> SdkPojo
,SdkResponse.Builder
,ServerlessApplicationRepositoryResponse.Builder
- Enclosing class:
CreateApplicationVersionResponse
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The application Amazon Resource Name (ARN).creationTime
(String creationTime) The date and time this resource was created.parameterDefinitions
(Collection<ParameterDefinition> parameterDefinitions) An array of parameter types supported by the application.parameterDefinitions
(Consumer<ParameterDefinition.Builder>... parameterDefinitions) An array of parameter types supported by the application.parameterDefinitions
(ParameterDefinition... parameterDefinitions) An array of parameter types supported by the application.requiredCapabilities
(Collection<Capability> requiredCapabilities) A list of values that you must specify before you can deploy certain applications.requiredCapabilities
(Capability... requiredCapabilities) A list of values that you must specify before you can deploy certain applications.requiredCapabilitiesWithStrings
(String... requiredCapabilities) A list of values that you must specify before you can deploy certain applications.requiredCapabilitiesWithStrings
(Collection<String> requiredCapabilities) A list of values that you must specify before you can deploy certain applications.resourcesSupported
(Boolean resourcesSupported) Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.semanticVersion
(String semanticVersion) The semantic version of the application:sourceCodeArchiveUrl
(String sourceCodeArchiveUrl) A link to the S3 object that contains the ZIP archive of the source code for this version of your application.sourceCodeUrl
(String sourceCodeUrl) A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.templateUrl
(String templateUrl) A link to the packaged AWS SAM template of your application.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.serverlessapplicationrepository.model.ServerlessApplicationRepositoryResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
applicationId
The application Amazon Resource Name (ARN).
- Parameters:
applicationId
- The application Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The date and time this resource was created.
- Parameters:
creationTime
- The date and time this resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterDefinitions
CreateApplicationVersionResponse.Builder parameterDefinitions(Collection<ParameterDefinition> parameterDefinitions) An array of parameter types supported by the application.
- Parameters:
parameterDefinitions
- An array of parameter types supported by the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterDefinitions
CreateApplicationVersionResponse.Builder parameterDefinitions(ParameterDefinition... parameterDefinitions) An array of parameter types supported by the application.
- Parameters:
parameterDefinitions
- An array of parameter types supported by the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterDefinitions
CreateApplicationVersionResponse.Builder parameterDefinitions(Consumer<ParameterDefinition.Builder>... parameterDefinitions) An array of parameter types supported by the application.
This is a convenience method that creates an instance of theParameterDefinition.Builder
avoiding the need to create one manually viaParameterDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameterDefinitions(List<ParameterDefinition>)
.- Parameters:
parameterDefinitions
- a consumer that will call methods onParameterDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requiredCapabilitiesWithStrings
CreateApplicationVersionResponse.Builder requiredCapabilitiesWithStrings(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, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
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.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
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.
- Parameters:
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, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
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.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredCapabilitiesWithStrings
CreateApplicationVersionResponse.Builder requiredCapabilitiesWithStrings(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, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
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.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
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.
- Parameters:
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, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
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.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredCapabilities
CreateApplicationVersionResponse.Builder requiredCapabilities(Collection<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, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
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.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
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.
- Parameters:
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, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
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.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
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.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
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.
- Parameters:
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, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
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.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesSupported
Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.
- Parameters:
resourcesSupported
- Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
semanticVersion
The semantic version of the application:
- Parameters:
semanticVersion
- The semantic version of the application:- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCodeArchiveUrl
A link to the S3 object that contains the ZIP archive of the source code for this version of your application.
Maximum size 50 MB
- Parameters:
sourceCodeArchiveUrl
- A link to the S3 object that contains the ZIP archive of the source code for this version of your application.Maximum size 50 MB
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCodeUrl
A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.
- Parameters:
sourceCodeUrl
- A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateUrl
A link to the packaged AWS SAM template of your application.
- Parameters:
templateUrl
- A link to the packaged AWS SAM template of your application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-