Interface ValidateTemplateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFormationResponse.Builder
,CopyableBuilder<ValidateTemplateResponse.Builder,
,ValidateTemplateResponse> SdkBuilder<ValidateTemplateResponse.Builder,
,ValidateTemplateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ValidateTemplateResponse
-
Method Summary
Modifier and TypeMethodDescriptioncapabilities
(Collection<Capability> capabilities) The capabilities found within the template.capabilities
(Capability... capabilities) The capabilities found within the template.capabilitiesReason
(String capabilitiesReason) The list of resources that generated the values in theCapabilities
response element.capabilitiesWithStrings
(String... capabilities) The capabilities found within the template.capabilitiesWithStrings
(Collection<String> capabilities) The capabilities found within the template.declaredTransforms
(String... declaredTransforms) A list of the transforms that are declared in the template.declaredTransforms
(Collection<String> declaredTransforms) A list of the transforms that are declared in the template.description
(String description) The description found within the template.parameters
(Collection<TemplateParameter> parameters) A list ofTemplateParameter
structures.parameters
(Consumer<TemplateParameter.Builder>... parameters) A list ofTemplateParameter
structures.parameters
(TemplateParameter... parameters) A list ofTemplateParameter
structures.Methods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
parameters
A list of
TemplateParameter
structures.- Parameters:
parameters
- A list ofTemplateParameter
structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of
TemplateParameter
structures.- Parameters:
parameters
- A list ofTemplateParameter
structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of
This is a convenience method that creates an instance of theTemplateParameter
structures.TemplateParameter.Builder
avoiding the need to create one manually viaTemplateParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(List<TemplateParameter>)
.- Parameters:
parameters
- a consumer that will call methods onTemplateParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description found within the template.
- Parameters:
description
- The description found within the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilitiesWithStrings
The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
For more information, see Acknowledging IAM resources in CloudFormation templates.
- Parameters:
capabilities
- The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.For more information, see Acknowledging IAM resources in CloudFormation templates.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilitiesWithStrings
The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
For more information, see Acknowledging IAM resources in CloudFormation templates.
- Parameters:
capabilities
- The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.For more information, see Acknowledging IAM resources in CloudFormation templates.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
For more information, see Acknowledging IAM resources in CloudFormation templates.
- Parameters:
capabilities
- The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.For more information, see Acknowledging IAM resources in CloudFormation templates.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
For more information, see Acknowledging IAM resources in CloudFormation templates.
- Parameters:
capabilities
- The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.For more information, see Acknowledging IAM resources in CloudFormation templates.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilitiesReason
The list of resources that generated the values in the
Capabilities
response element.- Parameters:
capabilitiesReason
- The list of resources that generated the values in theCapabilities
response element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
declaredTransforms
A list of the transforms that are declared in the template.
- Parameters:
declaredTransforms
- A list of the transforms that are declared in the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
declaredTransforms
A list of the transforms that are declared in the template.
- Parameters:
declaredTransforms
- A list of the transforms that are declared in the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-