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.Buildercapabilities(Collection<Capability> capabilities)The capabilities found within the template.ValidateTemplateResponse.Buildercapabilities(Capability... capabilities)The capabilities found within the template.ValidateTemplateResponse.BuildercapabilitiesReason(String capabilitiesReason)The list of resources that generated the values in theCapabilitiesresponse element.ValidateTemplateResponse.BuildercapabilitiesWithStrings(String... capabilities)The capabilities found within the template.ValidateTemplateResponse.BuildercapabilitiesWithStrings(Collection<String> capabilities)The capabilities found within the template.ValidateTemplateResponse.BuilderdeclaredTransforms(String... declaredTransforms)A list of the transforms that are declared in the template.ValidateTemplateResponse.BuilderdeclaredTransforms(Collection<String> declaredTransforms)A list of the transforms that are declared in the template.ValidateTemplateResponse.Builderdescription(String description)The description found within the template.ValidateTemplateResponse.Builderparameters(Collection<TemplateParameter> parameters)A list ofTemplateParameterstructures.ValidateTemplateResponse.Builderparameters(Consumer<TemplateParameter.Builder>... parameters)A list ofTemplateParameterstructures.ValidateTemplateResponse.Builderparameters(TemplateParameter... parameters)A list ofTemplateParameterstructures.-
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 Detail
-
parameters
ValidateTemplateResponse.Builder parameters(Collection<TemplateParameter> parameters)
A list of
TemplateParameterstructures.- Parameters:
parameters- A list ofTemplateParameterstructures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
ValidateTemplateResponse.Builder parameters(TemplateParameter... parameters)
A list of
TemplateParameterstructures.- Parameters:
parameters- A list ofTemplateParameterstructures.- 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 theTemplateParameterstructures.TemplateParameter.Builderavoiding the need to create one manually viaTemplateParameter.builder().When the
Consumercompletes,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
Capabilitiesresponse element.- Parameters:
capabilitiesReason- The list of resources that generated the values in theCapabilitiesresponse 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.
-
-