Interface ValidateTemplateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFormationResponse.Builder
,CopyableBuilder<ValidateTemplateResponse.Builder,ValidateTemplateResponse>
,SdkBuilder<ValidateTemplateResponse.Builder,ValidateTemplateResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ValidateTemplateResponse
public static interface ValidateTemplateResponse.Builder extends CloudFormationResponse.Builder, SdkPojo, CopyableBuilder<ValidateTemplateResponse.Builder,ValidateTemplateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidateTemplateResponse.Builder
capabilities(Collection<Capability> capabilities)
The capabilities found within the template.ValidateTemplateResponse.Builder
capabilities(Capability... capabilities)
The capabilities found within the template.ValidateTemplateResponse.Builder
capabilitiesReason(String capabilitiesReason)
The list of resources that generated the values in theCapabilities
response element.ValidateTemplateResponse.Builder
capabilitiesWithStrings(String... capabilities)
The capabilities found within the template.ValidateTemplateResponse.Builder
capabilitiesWithStrings(Collection<String> capabilities)
The capabilities found within the template.ValidateTemplateResponse.Builder
declaredTransforms(String... declaredTransforms)
A list of the transforms that are declared in the template.ValidateTemplateResponse.Builder
declaredTransforms(Collection<String> declaredTransforms)
A list of the transforms that are declared in the template.ValidateTemplateResponse.Builder
description(String description)
The description found within the template.ValidateTemplateResponse.Builder
parameters(Collection<TemplateParameter> parameters)
A list ofTemplateParameter
structures.ValidateTemplateResponse.Builder
parameters(Consumer<TemplateParameter.Builder>... parameters)
A list ofTemplateParameter
structures.ValidateTemplateResponse.Builder
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
parameters
ValidateTemplateResponse.Builder parameters(Collection<TemplateParameter> 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
ValidateTemplateResponse.Builder parameters(TemplateParameter... 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
ValidateTemplateResponse.Builder parameters(Consumer<TemplateParameter.Builder>... 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 to#parameters(List
.) - 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:
#parameters(java.util.Collection
)
-
description
ValidateTemplateResponse.Builder description(String 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
ValidateTemplateResponse.Builder capabilitiesWithStrings(Collection<String> 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.
-
capabilitiesWithStrings
ValidateTemplateResponse.Builder capabilitiesWithStrings(String... 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
ValidateTemplateResponse.Builder capabilities(Collection<Capability> 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
ValidateTemplateResponse.Builder capabilities(Capability... 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
ValidateTemplateResponse.Builder capabilitiesReason(String 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
ValidateTemplateResponse.Builder declaredTransforms(Collection<String> 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
ValidateTemplateResponse.Builder declaredTransforms(String... 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.
-
-