Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudformation.model
Class ValidateTemplateResult

java.lang.Object
  extended by com.amazonaws.services.cloudformation.model.ValidateTemplateResult
All Implemented Interfaces:
Serializable

public class ValidateTemplateResult
extends Object
implements Serializable

The output for ValidateTemplate action.

See Also:
Serialized Form

Constructor Summary
ValidateTemplateResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getCapabilities()
          The capabitilites found within the template.
 String getCapabilitiesReason()
          The capabilities reason found within the template.
 String getDescription()
          The description found within the template.
 List<TemplateParameter> getParameters()
          A list of TemplateParameter structures.
 int hashCode()
           
 void setCapabilities(Collection<String> capabilities)
          The capabitilites found within the template.
 void setCapabilitiesReason(String capabilitiesReason)
          The capabilities reason found within the template.
 void setDescription(String description)
          The description found within the template.
 void setParameters(Collection<TemplateParameter> parameters)
          A list of TemplateParameter structures.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ValidateTemplateResult withCapabilities(Collection<String> capabilities)
          The capabitilites found within the template.
 ValidateTemplateResult withCapabilities(String... capabilities)
          The capabitilites found within the template.
 ValidateTemplateResult withCapabilitiesReason(String capabilitiesReason)
          The capabilities reason found within the template.
 ValidateTemplateResult withDescription(String description)
          The description found within the template.
 ValidateTemplateResult withParameters(Collection<TemplateParameter> parameters)
          A list of TemplateParameter structures.
 ValidateTemplateResult withParameters(TemplateParameter... parameters)
          A list of TemplateParameter structures.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidateTemplateResult

public ValidateTemplateResult()
Method Detail

getParameters

public List<TemplateParameter> getParameters()
A list of TemplateParameter structures.

Returns:
A list of TemplateParameter structures.

setParameters

public void setParameters(Collection<TemplateParameter> parameters)
A list of TemplateParameter structures.

Parameters:
parameters - A list of TemplateParameter structures.

withParameters

public ValidateTemplateResult withParameters(TemplateParameter... parameters)
A list of TemplateParameter structures.

Returns a reference to this object so that method calls can be chained together.

Parameters:
parameters - A list of TemplateParameter structures.
Returns:
A reference to this updated object so that method calls can be chained together.

withParameters

public ValidateTemplateResult withParameters(Collection<TemplateParameter> parameters)
A list of TemplateParameter structures.

Returns a reference to this object so that method calls can be chained together.

Parameters:
parameters - A list of TemplateParameter structures.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
The description found within the template.

Returns:
The description found within the template.

setDescription

public void setDescription(String description)
The description found within the template.

Parameters:
description - The description found within the template.

withDescription

public ValidateTemplateResult withDescription(String description)
The description found within the template.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - The description found within the template.
Returns:
A reference to this updated object so that method calls can be chained together.

getCapabilities

public List<String> getCapabilities()
The capabitilites found within the template. Currently, CAPABILITY_IAM is the only capability detected. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

Returns:
The capabitilites found within the template. Currently, CAPABILITY_IAM is the only capability detected. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

setCapabilities

public void setCapabilities(Collection<String> capabilities)
The capabitilites found within the template. Currently, CAPABILITY_IAM is the only capability detected. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

Parameters:
capabilities - The capabitilites found within the template. Currently, CAPABILITY_IAM is the only capability detected. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

withCapabilities

public ValidateTemplateResult withCapabilities(String... capabilities)
The capabitilites found within the template. Currently, CAPABILITY_IAM is the only capability detected. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

Returns a reference to this object so that method calls can be chained together.

Parameters:
capabilities - The capabitilites found within the template. Currently, CAPABILITY_IAM is the only capability detected. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
Returns:
A reference to this updated object so that method calls can be chained together.

withCapabilities

public ValidateTemplateResult withCapabilities(Collection<String> capabilities)
The capabitilites found within the template. Currently, CAPABILITY_IAM is the only capability detected. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

Returns a reference to this object so that method calls can be chained together.

Parameters:
capabilities - The capabitilites found within the template. Currently, CAPABILITY_IAM is the only capability detected. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.
Returns:
A reference to this updated object so that method calls can be chained together.

getCapabilitiesReason

public String getCapabilitiesReason()
The capabilities reason found within the template.

Returns:
The capabilities reason found within the template.

setCapabilitiesReason

public void setCapabilitiesReason(String capabilitiesReason)
The capabilities reason found within the template.

Parameters:
capabilitiesReason - The capabilities reason found within the template.

withCapabilitiesReason

public ValidateTemplateResult withCapabilitiesReason(String capabilitiesReason)
The capabilities reason found within the template.

Returns a reference to this object so that method calls can be chained together.

Parameters:
capabilitiesReason - The capabilities reason found within the template.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.