(tags.size());
+ tagsCopy.addAll(tags);
+ this.tags = tagsCopy;
+ }
+
+ return this;
+ }
+
/**
* Returns a string representation of this object; useful for testing and
* debugging.
@@ -791,6 +1034,8 @@ public String toString() {
if (timeoutInMinutes != null) sb.append("TimeoutInMinutes: " + timeoutInMinutes + ", ");
if (notificationARNs != null) sb.append("NotificationARNs: " + notificationARNs + ", ");
if (capabilities != null) sb.append("Capabilities: " + capabilities + ", ");
+ if (onFailure != null) sb.append("OnFailure: " + onFailure + ", ");
+ if (tags != null) sb.append("Tags: " + tags + ", ");
sb.append("}");
return sb.toString();
}
@@ -808,6 +1053,8 @@ public int hashCode() {
hashCode = prime * hashCode + ((getTimeoutInMinutes() == null) ? 0 : getTimeoutInMinutes().hashCode());
hashCode = prime * hashCode + ((getNotificationARNs() == null) ? 0 : getNotificationARNs().hashCode());
hashCode = prime * hashCode + ((getCapabilities() == null) ? 0 : getCapabilities().hashCode());
+ hashCode = prime * hashCode + ((getOnFailure() == null) ? 0 : getOnFailure().hashCode());
+ hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
return hashCode;
}
@@ -835,6 +1082,10 @@ public boolean equals(Object obj) {
if (other.getNotificationARNs() != null && other.getNotificationARNs().equals(this.getNotificationARNs()) == false) return false;
if (other.getCapabilities() == null ^ this.getCapabilities() == null) return false;
if (other.getCapabilities() != null && other.getCapabilities().equals(this.getCapabilities()) == false) return false;
+ if (other.getOnFailure() == null ^ this.getOnFailure() == null) return false;
+ if (other.getOnFailure() != null && other.getOnFailure().equals(this.getOnFailure()) == false) return false;
+ if (other.getTags() == null ^ this.getTags() == null) return false;
+ if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false;
return true;
}
diff --git a/src/main/java/com/amazonaws/services/cloudformation/model/DeleteStackRequest.java b/src/main/java/com/amazonaws/services/cloudformation/model/DeleteStackRequest.java
index cefa2faac0ff..986d15ee3d7b 100644
--- a/src/main/java/com/amazonaws/services/cloudformation/model/DeleteStackRequest.java
+++ b/src/main/java/com/amazonaws/services/cloudformation/model/DeleteStackRequest.java
@@ -18,8 +18,8 @@
/**
* Container for the parameters to the {@link com.amazonaws.services.cloudformation.AmazonCloudFormation#deleteStack(DeleteStackRequest) DeleteStack operation}.
*
- * Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if
- * the deletion has been completed successfully.
+ * Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if the
+ * deletion has been completed successfully.
*
*
* @see com.amazonaws.services.cloudformation.AmazonCloudFormation#deleteStack(DeleteStackRequest)
diff --git a/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackEventsRequest.java b/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackEventsRequest.java
index b76455d0a96f..62157477ef14 100644
--- a/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackEventsRequest.java
+++ b/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackEventsRequest.java
@@ -31,14 +31,14 @@
public class DescribeStackEventsRequest extends AmazonWebServiceRequest {
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ * Default: There is no default value.
*/
private String stackName;
/**
* String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * is one.
Default: There is no default value.
*
* Constraints:
* Length: 1 - 1024
@@ -46,35 +46,35 @@ public class DescribeStackEventsRequest extends AmazonWebServiceRequest {
private String nextToken;
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
- * @return The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @return The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
public String getStackName() {
return stackName;
}
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
- * @param stackName The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @param stackName The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
public void setStackName(String stackName) {
this.stackName = stackName;
}
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
* Returns a reference to this object so that method calls can be chained together.
*
- * @param stackName The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @param stackName The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
* @return A reference to this updated object so that method calls can be chained
* together.
@@ -87,13 +87,13 @@ public DescribeStackEventsRequest withStackName(String stackName) {
/**
* String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * is one.
Default: There is no default value.
*
* Constraints:
* Length: 1 - 1024
*
* @return String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * is one.
Default: There is no default value.
*/
public String getNextToken() {
return nextToken;
@@ -101,13 +101,13 @@ public String getNextToken() {
/**
* String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * is one.
Default: There is no default value.
*
* Constraints:
* Length: 1 - 1024
*
* @param nextToken String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * is one.
Default: There is no default value.
*/
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
@@ -115,7 +115,7 @@ public void setNextToken(String nextToken) {
/**
* String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * is one.
Default: There is no default value.
*
* Returns a reference to this object so that method calls can be chained together.
*
@@ -123,7 +123,7 @@ public void setNextToken(String nextToken) {
* Length: 1 - 1024
*
* @param nextToken String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * is one.
Default: There is no default value.
*
* @return A reference to this updated object so that method calls can be chained
* together.
diff --git a/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackResourceRequest.java b/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackResourceRequest.java
index 417bdea7b697..ec915c43b6c8 100644
--- a/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackResourceRequest.java
+++ b/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackResourceRequest.java
@@ -29,47 +29,47 @@
public class DescribeStackResourceRequest extends AmazonWebServiceRequest {
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
private String stackName;
/**
- * The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*/
private String logicalResourceId;
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
- * @return The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @return The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
public String getStackName() {
return stackName;
}
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
- * @param stackName The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @param stackName The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
public void setStackName(String stackName) {
this.stackName = stackName;
}
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
* Returns a reference to this object so that method calls can be chained together.
*
- * @param stackName The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @param stackName The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
* @return A reference to this updated object so that method calls can be chained
* together.
@@ -81,35 +81,35 @@ public DescribeStackResourceRequest withStackName(String stackName) {
/**
- * The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*
- * @return The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * @return The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*/
public String getLogicalResourceId() {
return logicalResourceId;
}
/**
- * The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*
- * @param logicalResourceId The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * @param logicalResourceId The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*/
public void setLogicalResourceId(String logicalResourceId) {
this.logicalResourceId = logicalResourceId;
}
/**
- * The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*
* Returns a reference to this object so that method calls can be chained together.
*
- * @param logicalResourceId The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * @param logicalResourceId The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*
* @return A reference to this updated object so that method calls can be chained
* together.
diff --git a/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackResourcesRequest.java b/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackResourcesRequest.java
index bed6e3a12388..7c8117717c51 100644
--- a/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackResourcesRequest.java
+++ b/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackResourcesRequest.java
@@ -26,9 +26,16 @@
* For deleted stacks, DescribeStackResources returns resource information for up to 90 days after the stack has been deleted.
*
*
- * You must specify StackName
or PhysicalResourceId.
In addition, you can specify LogicalResourceId
to filter the
- * returned result. For more information about resources, the LogicalResourceId
and PhysicalResourceId
, go to the AWS CloudFormation User Guide .
+ * If you do not provide either a stack or resource id, information for all stacks and resources will be returned, up to a limit of 100 records.
+ *
+ *
+ * NOTE: To list more than 100 resources use ListStackResources instead.
+ *
+ *
+ * You can specify either StackName
or PhysicalResourceId.
, but not both. In addition, you can specify
+ * LogicalResourceId
to filter the returned result. For more information about resources, the LogicalResourceId
and
+ * PhysicalResourceId
, go to the AWS CloudFormation User
+ * Guide .
*
*
* NOTE: A ValidationError is returned if you specify both StackName and PhysicalResourceId in the same request.
@@ -39,59 +46,59 @@
public class DescribeStackResourcesRequest extends AmazonWebServiceRequest {
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
private String stackName;
/**
- * The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*/
private String logicalResourceId;
/**
* The name or unique identifier that corresponds to a physical instance
- * ID of a resource supported by AWS CloudFormation.
For example, for
+ * ID of a resource supported by AWS CloudFormation.
For example, for
* an Amazon Elastic Compute Cloud (EC2) instance,
* PhysicalResourceId
corresponds to the
* InstanceId
. You can pass the EC2 InstanceId
* to DescribeStackResources
to find which stack the
* instance belongs to and what other resources are part of the stack.
- *
Default: There is no default value.
+ *
Default: There is no default value.
*/
private String physicalResourceId;
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
- * @return The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @return The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
public String getStackName() {
return stackName;
}
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
- * @param stackName The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @param stackName The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
public void setStackName(String stackName) {
this.stackName = stackName;
}
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
* Returns a reference to this object so that method calls can be chained together.
*
- * @param stackName The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @param stackName The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
* @return A reference to this updated object so that method calls can be chained
* together.
@@ -103,35 +110,35 @@ public DescribeStackResourcesRequest withStackName(String stackName) {
/**
- * The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*
- * @return The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * @return The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*/
public String getLogicalResourceId() {
return logicalResourceId;
}
/**
- * The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*
- * @param logicalResourceId The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * @param logicalResourceId The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*/
public void setLogicalResourceId(String logicalResourceId) {
this.logicalResourceId = logicalResourceId;
}
/**
- * The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*
* Returns a reference to this object so that method calls can be chained together.
*
- * @param logicalResourceId The logical name of the resource as specified in the
- * template.
Default: There is on default value.
+ * @param logicalResourceId The logical name of the resource as specified in the template.
+ *
Default: There is no default value.
*
* @return A reference to this updated object so that method calls can be chained
* together.
@@ -144,22 +151,22 @@ public DescribeStackResourcesRequest withLogicalResourceId(String logicalResourc
/**
* The name or unique identifier that corresponds to a physical instance
- * ID of a resource supported by AWS CloudFormation.
For example, for
+ * ID of a resource supported by AWS CloudFormation.
For example, for
* an Amazon Elastic Compute Cloud (EC2) instance,
* PhysicalResourceId
corresponds to the
* InstanceId
. You can pass the EC2 InstanceId
* to DescribeStackResources
to find which stack the
* instance belongs to and what other resources are part of the stack.
- *
Default: There is no default value.
+ *
Default: There is no default value.
*
* @return The name or unique identifier that corresponds to a physical instance
- * ID of a resource supported by AWS CloudFormation.
For example, for
+ * ID of a resource supported by AWS CloudFormation.
For example, for
* an Amazon Elastic Compute Cloud (EC2) instance,
* PhysicalResourceId
corresponds to the
* InstanceId
. You can pass the EC2 InstanceId
* to DescribeStackResources
to find which stack the
* instance belongs to and what other resources are part of the stack.
- *
Default: There is no default value.
+ *
Default: There is no default value.
*/
public String getPhysicalResourceId() {
return physicalResourceId;
@@ -167,22 +174,22 @@ public String getPhysicalResourceId() {
/**
* The name or unique identifier that corresponds to a physical instance
- * ID of a resource supported by AWS CloudFormation.
For example, for
+ * ID of a resource supported by AWS CloudFormation.
For example, for
* an Amazon Elastic Compute Cloud (EC2) instance,
* PhysicalResourceId
corresponds to the
* InstanceId
. You can pass the EC2 InstanceId
* to DescribeStackResources
to find which stack the
* instance belongs to and what other resources are part of the stack.
- *
Default: There is no default value.
+ *
Default: There is no default value.
*
* @param physicalResourceId The name or unique identifier that corresponds to a physical instance
- * ID of a resource supported by AWS CloudFormation.
For example, for
+ * ID of a resource supported by AWS CloudFormation.
For example, for
* an Amazon Elastic Compute Cloud (EC2) instance,
* PhysicalResourceId
corresponds to the
* InstanceId
. You can pass the EC2 InstanceId
* to DescribeStackResources
to find which stack the
* instance belongs to and what other resources are part of the stack.
- *
Default: There is no default value.
+ *
Default: There is no default value.
*/
public void setPhysicalResourceId(String physicalResourceId) {
this.physicalResourceId = physicalResourceId;
@@ -190,24 +197,24 @@ public void setPhysicalResourceId(String physicalResourceId) {
/**
* The name or unique identifier that corresponds to a physical instance
- * ID of a resource supported by AWS CloudFormation.
For example, for
+ * ID of a resource supported by AWS CloudFormation.
For example, for
* an Amazon Elastic Compute Cloud (EC2) instance,
* PhysicalResourceId
corresponds to the
* InstanceId
. You can pass the EC2 InstanceId
* to DescribeStackResources
to find which stack the
* instance belongs to and what other resources are part of the stack.
- *
Default: There is no default value.
+ *
Default: There is no default value.
*
* Returns a reference to this object so that method calls can be chained together.
*
* @param physicalResourceId The name or unique identifier that corresponds to a physical instance
- * ID of a resource supported by AWS CloudFormation.
For example, for
+ * ID of a resource supported by AWS CloudFormation.
For example, for
* an Amazon Elastic Compute Cloud (EC2) instance,
* PhysicalResourceId
corresponds to the
* InstanceId
. You can pass the EC2 InstanceId
* to DescribeStackResources
to find which stack the
* instance belongs to and what other resources are part of the stack.
- *
Default: There is no default value.
+ *
Default: There is no default value.
*
* @return A reference to this updated object so that method calls can be chained
* together.
diff --git a/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStacksRequest.java b/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStacksRequest.java
index 074cd0864601..7aaba83d6a7d 100644
--- a/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStacksRequest.java
+++ b/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStacksRequest.java
@@ -26,41 +26,43 @@
public class DescribeStacksRequest extends AmazonWebServiceRequest {
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
private String stackName;
+ private String nextToken;
+
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
- * @return The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @return The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
public String getStackName() {
return stackName;
}
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
- * @param stackName The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @param stackName The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
public void setStackName(String stackName) {
this.stackName = stackName;
}
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
* Returns a reference to this object so that method calls can be chained together.
*
- * @param stackName The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @param stackName The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
* @return A reference to this updated object so that method calls can be chained
* together.
@@ -71,6 +73,49 @@ public DescribeStacksRequest withStackName(String stackName) {
}
+ /**
+ * Returns the value of the NextToken property for this object.
+ *
+ * Constraints:
+ * Length: 1 - 1024
+ *
+ * @return The value of the NextToken property for this object.
+ */
+ public String getNextToken() {
+ return nextToken;
+ }
+
+ /**
+ * Sets the value of the NextToken property for this object.
+ *
+ * Constraints:
+ * Length: 1 - 1024
+ *
+ * @param nextToken The new value for the NextToken property for this object.
+ */
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ /**
+ * Sets the value of the NextToken property for this object.
+ *
+ * Returns a reference to this object so that method calls can be chained together.
+ *
+ * Constraints:
+ * Length: 1 - 1024
+ *
+ * @param nextToken The new value for the NextToken property for this object.
+ *
+ * @return A reference to this updated object so that method calls can be chained
+ * together.
+ */
+ public DescribeStacksRequest withNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ return this;
+ }
+
+
/**
* Returns a string representation of this object; useful for testing and
* debugging.
@@ -84,6 +129,7 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (stackName != null) sb.append("StackName: " + stackName + ", ");
+ if (nextToken != null) sb.append("NextToken: " + nextToken + ", ");
sb.append("}");
return sb.toString();
}
@@ -94,6 +140,7 @@ public int hashCode() {
int hashCode = 1;
hashCode = prime * hashCode + ((getStackName() == null) ? 0 : getStackName().hashCode());
+ hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
return hashCode;
}
@@ -107,6 +154,8 @@ public boolean equals(Object obj) {
if (other.getStackName() == null ^ this.getStackName() == null) return false;
if (other.getStackName() != null && other.getStackName().equals(this.getStackName()) == false) return false;
+ if (other.getNextToken() == null ^ this.getNextToken() == null) return false;
+ if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false) return false;
return true;
}
diff --git a/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStacksResult.java b/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStacksResult.java
index 48b0a47631bf..eee13f1622fa 100644
--- a/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStacksResult.java
+++ b/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStacksResult.java
@@ -26,6 +26,8 @@ public class DescribeStacksResult {
*/
private java.util.List stacks;
+ private String nextToken;
+
/**
* A list of stack structures.
*
@@ -95,6 +97,49 @@ public DescribeStacksResult withStacks(java.util.Collection stacks) {
return this;
}
+ /**
+ * Returns the value of the NextToken property for this object.
+ *
+ * Constraints:
+ * Length: 1 - 1024
+ *
+ * @return The value of the NextToken property for this object.
+ */
+ public String getNextToken() {
+ return nextToken;
+ }
+
+ /**
+ * Sets the value of the NextToken property for this object.
+ *
+ * Constraints:
+ * Length: 1 - 1024
+ *
+ * @param nextToken The new value for the NextToken property for this object.
+ */
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ /**
+ * Sets the value of the NextToken property for this object.
+ *
+ * Returns a reference to this object so that method calls can be chained together.
+ *
+ * Constraints:
+ * Length: 1 - 1024
+ *
+ * @param nextToken The new value for the NextToken property for this object.
+ *
+ * @return A reference to this updated object so that method calls can be chained
+ * together.
+ */
+ public DescribeStacksResult withNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ return this;
+ }
+
+
/**
* Returns a string representation of this object; useful for testing and
* debugging.
@@ -108,6 +153,7 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (stacks != null) sb.append("Stacks: " + stacks + ", ");
+ if (nextToken != null) sb.append("NextToken: " + nextToken + ", ");
sb.append("}");
return sb.toString();
}
@@ -118,6 +164,7 @@ public int hashCode() {
int hashCode = 1;
hashCode = prime * hashCode + ((getStacks() == null) ? 0 : getStacks().hashCode());
+ hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
return hashCode;
}
@@ -131,6 +178,8 @@ public boolean equals(Object obj) {
if (other.getStacks() == null ^ this.getStacks() == null) return false;
if (other.getStacks() != null && other.getStacks().equals(this.getStacks()) == false) return false;
+ if (other.getNextToken() == null ^ this.getNextToken() == null) return false;
+ if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false) return false;
return true;
}
diff --git a/src/main/java/com/amazonaws/services/cloudformation/model/EstimateTemplateCostRequest.java b/src/main/java/com/amazonaws/services/cloudformation/model/EstimateTemplateCostRequest.java
index f35d3ca9febb..e2f25a5b40c4 100644
--- a/src/main/java/com/amazonaws/services/cloudformation/model/EstimateTemplateCostRequest.java
+++ b/src/main/java/com/amazonaws/services/cloudformation/model/EstimateTemplateCostRequest.java
@@ -18,7 +18,7 @@
/**
* Container for the parameters to the {@link com.amazonaws.services.cloudformation.AmazonCloudFormation#estimateTemplateCost(EstimateTemplateCostRequest) EstimateTemplateCost operation}.
*
- * Returns the estimated monthly cost of a template. The return value is an AWS Simply Monthly Calculator URL with a query string that describes the
+ * Returns the estimated monthly cost of a template. The return value is an AWS Simple Monthly Calculator URL with a query string that describes the
* resources required to run the template.
*
*
diff --git a/src/main/java/com/amazonaws/services/cloudformation/model/ListStackResourcesRequest.java b/src/main/java/com/amazonaws/services/cloudformation/model/ListStackResourcesRequest.java
index 03de857d9e30..c7e7c08c3168 100644
--- a/src/main/java/com/amazonaws/services/cloudformation/model/ListStackResourcesRequest.java
+++ b/src/main/java/com/amazonaws/services/cloudformation/model/ListStackResourcesRequest.java
@@ -29,14 +29,14 @@
public class ListStackResourcesRequest extends AmazonWebServiceRequest {
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
private String stackName;
/**
- * String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * String that identifies the start of the next list of stack resource
+ * summaries, if there is one.
Default: There is no default value.
*
* Constraints:
* Length: 1 - 1024
@@ -44,35 +44,35 @@ public class ListStackResourcesRequest extends AmazonWebServiceRequest {
private String nextToken;
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
- * @return The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @return The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
public String getStackName() {
return stackName;
}
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
- * @param stackName The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @param stackName The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*/
public void setStackName(String stackName) {
this.stackName = stackName;
}
/**
- * The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
* Returns a reference to this object so that method calls can be chained together.
*
- * @param stackName The name or the unique identifier associated with the stack.
- * Default: There is no default value.
+ * @param stackName The name or the unique identifier associated with the stack.
+ *
Default: There is no default value.
*
* @return A reference to this updated object so that method calls can be chained
* together.
@@ -84,44 +84,44 @@ public ListStackResourcesRequest withStackName(String stackName) {
/**
- * String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * String that identifies the start of the next list of stack resource
+ * summaries, if there is one.
Default: There is no default value.
*
* Constraints:
* Length: 1 - 1024
*
- * @return String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * @return String that identifies the start of the next list of stack resource
+ * summaries, if there is one.
Default: There is no default value.
*/
public String getNextToken() {
return nextToken;
}
/**
- * String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * String that identifies the start of the next list of stack resource
+ * summaries, if there is one.
Default: There is no default value.
*
* Constraints:
* Length: 1 - 1024
*
- * @param nextToken String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * @param nextToken String that identifies the start of the next list of stack resource
+ * summaries, if there is one.
Default: There is no default value.
*/
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
/**
- * String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * String that identifies the start of the next list of stack resource
+ * summaries, if there is one.
Default: There is no default value.
*
* Returns a reference to this object so that method calls can be chained together.
*
* Constraints:
* Length: 1 - 1024
*
- * @param nextToken String that identifies the start of the next list of events, if there
- * is one.
Default: There is no default value.
+ * @param nextToken String that identifies the start of the next list of stack resource
+ * summaries, if there is one.
Default: There is no default value.
*
* @return A reference to this updated object so that method calls can be chained
* together.
diff --git a/src/main/java/com/amazonaws/services/cloudformation/model/ListStacksRequest.java b/src/main/java/com/amazonaws/services/cloudformation/model/ListStacksRequest.java
index 2207e44dc793..03aef3e9654d 100644
--- a/src/main/java/com/amazonaws/services/cloudformation/model/ListStacksRequest.java
+++ b/src/main/java/com/amazonaws/services/cloudformation/model/ListStacksRequest.java
@@ -18,52 +18,71 @@
/**
* Container for the parameters to the {@link com.amazonaws.services.cloudformation.AmazonCloudFormation#listStacks(ListStacksRequest) ListStacks operation}.
*
- * Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been
- * deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned
- * (including existing stacks and stacks that have been deleted).
+ * Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted
+ * is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including
+ * existing stacks and stacks that have been deleted).
*
*
* @see com.amazonaws.services.cloudformation.AmazonCloudFormation#listStacks(ListStacksRequest)
*/
public class ListStacksRequest extends AmazonWebServiceRequest {
+ /**
+ * String that identifies the start of the next list of stacks, if there
+ * is one. Default: There is no default value.
+ *
+ * Constraints:
+ * Length: 1 - 1024
+ */
private String nextToken;
+ /**
+ * Stack status to use as a filter. Specify one or more stack status
+ * codes to list only stacks with the specified status codes. For a
+ * complete list of stack status codes, see the StackStatus
+ * parameter of the Stack data type.
+ */
private java.util.List stackStatusFilters;
/**
- * Returns the value of the NextToken property for this object.
+ * String that identifies the start of the next list of stacks, if there
+ * is one. Default: There is no default value.
*
* Constraints:
* Length: 1 - 1024
*
- * @return The value of the NextToken property for this object.
+ * @return String that identifies the start of the next list of stacks, if there
+ * is one.
Default: There is no default value.
*/
public String getNextToken() {
return nextToken;
}
/**
- * Sets the value of the NextToken property for this object.
+ * String that identifies the start of the next list of stacks, if there
+ * is one.
Default: There is no default value.
*
* Constraints:
* Length: 1 - 1024
*
- * @param nextToken The new value for the NextToken property for this object.
+ * @param nextToken String that identifies the start of the next list of stacks, if there
+ * is one.
Default: There is no default value.
*/
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
/**
- * Sets the value of the NextToken property for this object.
+ * String that identifies the start of the next list of stacks, if there
+ * is one.
Default: There is no default value.
*
* Returns a reference to this object so that method calls can be chained together.
*
* Constraints:
* Length: 1 - 1024
*
- * @param nextToken The new value for the NextToken property for this object.
+ * @param nextToken String that identifies the start of the next list of stacks, if there
+ * is one.
Default: There is no default value.
*
* @return A reference to this updated object so that method calls can be chained
* together.
@@ -75,9 +94,15 @@ public ListStacksRequest withNextToken(String nextToken) {
/**
- * Returns the value of the StackStatusFilters property for this object.
+ * Stack status to use as a filter. Specify one or more stack status
+ * codes to list only stacks with the specified status codes. For a
+ * complete list of stack status codes, see the StackStatus
+ * parameter of the Stack data type.
*
- * @return The value of the StackStatusFilters property for this object.
+ * @return Stack status to use as a filter. Specify one or more stack status
+ * codes to list only stacks with the specified status codes. For a
+ * complete list of stack status codes, see the StackStatus
+ * parameter of the Stack data type.
*/
public java.util.List getStackStatusFilters() {
@@ -88,9 +113,15 @@ public java.util.List getStackStatusFilters() {
}
/**
- * Sets the value of the StackStatusFilters property for this object.
+ * Stack status to use as a filter. Specify one or more stack status
+ * codes to list only stacks with the specified status codes. For a
+ * complete list of stack status codes, see the StackStatus
+ * parameter of the Stack data type.
*
- * @param stackStatusFilters The new value for the StackStatusFilters property for this object.
+ * @param stackStatusFilters Stack status to use as a filter. Specify one or more stack status
+ * codes to list only stacks with the specified status codes. For a
+ * complete list of stack status codes, see the StackStatus
+ * parameter of the Stack data type.
*/
public void setStackStatusFilters(java.util.Collection stackStatusFilters) {
if (stackStatusFilters == null) {
@@ -104,11 +135,17 @@ public void setStackStatusFilters(java.util.Collection stackStatusFilter
}
/**
- * Sets the value of the StackStatusFilters property for this object.
+ * Stack status to use as a filter. Specify one or more stack status
+ * codes to list only stacks with the specified status codes. For a
+ * complete list of stack status codes, see the StackStatus
+ * parameter of the Stack data type.
*
* Returns a reference to this object so that method calls can be chained together.
*
- * @param stackStatusFilters The new value for the StackStatusFilters property for this object.
+ * @param stackStatusFilters Stack status to use as a filter. Specify one or more stack status
+ * codes to list only stacks with the specified status codes. For a
+ * complete list of stack status codes, see the StackStatus
+ * parameter of the Stack data type.
*
* @return A reference to this updated object so that method calls can be chained
* together.
@@ -122,11 +159,17 @@ public ListStacksRequest withStackStatusFilters(String... stackStatusFilters) {
}
/**
- * Sets the value of the StackStatusFilters property for this object.
+ * Stack status to use as a filter. Specify one or more stack status
+ * codes to list only stacks with the specified status codes. For a
+ * complete list of stack status codes, see the StackStatus
+ * parameter of the Stack data type.
*
* Returns a reference to this object so that method calls can be chained together.
*
- * @param stackStatusFilters The new value for the StackStatusFilters property for this object.
+ * @param stackStatusFilters Stack status to use as a filter. Specify one or more stack status
+ * codes to list only stacks with the specified status codes. For a
+ * complete list of stack status codes, see the StackStatus
+ * parameter of the Stack data type.
*
* @return A reference to this updated object so that method calls can be chained
* together.
diff --git a/src/main/java/com/amazonaws/services/cloudformation/model/ListStacksResult.java b/src/main/java/com/amazonaws/services/cloudformation/model/ListStacksResult.java
index 05cd4d150932..e7dfbf1a2ff0 100644
--- a/src/main/java/com/amazonaws/services/cloudformation/model/ListStacksResult.java
+++ b/src/main/java/com/amazonaws/services/cloudformation/model/ListStacksResult.java
@@ -15,18 +15,33 @@
package com.amazonaws.services.cloudformation.model;
/**
- * List Stacks Result
+ *
+ * The output for ListStacks action.
+ *
*/
public class ListStacksResult {
+ /**
+ * A list of StackSummary
structures containing information
+ * about the specified stacks.
+ */
private java.util.List stackSummaries;
+ /**
+ * String that identifies the start of the next list of stacks, if there
+ * is one.
+ *
+ * Constraints:
+ * Length: 1 - 1024
+ */
private String nextToken;
/**
- * Returns the value of the StackSummaries property for this object.
+ * A list of StackSummary
structures containing information
+ * about the specified stacks.
*
- * @return The value of the StackSummaries property for this object.
+ * @return A list of StackSummary
structures containing information
+ * about the specified stacks.
*/
public java.util.List getStackSummaries() {
@@ -37,9 +52,11 @@ public java.util.List getStackSummaries() {
}
/**
- * Sets the value of the StackSummaries property for this object.
+ * A list of StackSummary
structures containing information
+ * about the specified stacks.
*
- * @param stackSummaries The new value for the StackSummaries property for this object.
+ * @param stackSummaries A list of StackSummary
structures containing information
+ * about the specified stacks.
*/
public void setStackSummaries(java.util.Collection stackSummaries) {
if (stackSummaries == null) {
@@ -53,11 +70,13 @@ public void setStackSummaries(java.util.Collection stackSummaries)
}
/**
- * Sets the value of the StackSummaries property for this object.
+ * A list of StackSummary
structures containing information
+ * about the specified stacks.
*
* Returns a reference to this object so that method calls can be chained together.
*
- * @param stackSummaries The new value for the StackSummaries property for this object.
+ * @param stackSummaries A list of StackSummary
structures containing information
+ * about the specified stacks.
*
* @return A reference to this updated object so that method calls can be chained
* together.
@@ -71,11 +90,13 @@ public ListStacksResult withStackSummaries(StackSummary... stackSummaries) {
}
/**
- * Sets the value of the StackSummaries property for this object.
+ * A list of StackSummary
structures containing information
+ * about the specified stacks.
*
* Returns a reference to this object so that method calls can be chained together.
*
- * @param stackSummaries The new value for the StackSummaries property for this object.
+ * @param stackSummaries A list of StackSummary
structures containing information
+ * about the specified stacks.
*
* @return A reference to this updated object so that method calls can be chained
* together.
@@ -93,38 +114,44 @@ public ListStacksResult withStackSummaries(java.util.Collection st
}
/**
- * Returns the value of the NextToken property for this object.
+ * String that identifies the start of the next list of stacks, if there
+ * is one.
*
* Constraints:
* Length: 1 - 1024
*
- * @return The value of the NextToken property for this object.
+ * @return String that identifies the start of the next list of stacks, if there
+ * is one.
*/
public String getNextToken() {
return nextToken;
}
/**
- * Sets the value of the NextToken property for this object.
+ * String that identifies the start of the next list of stacks, if there
+ * is one.
*
* Constraints:
* Length: 1 - 1024
*
- * @param nextToken The new value for the NextToken property for this object.
+ * @param nextToken String that identifies the start of the next list of stacks, if there
+ * is one.
*/
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
/**
- * Sets the value of the NextToken property for this object.
+ * String that identifies the start of the next list of stacks, if there
+ * is one.
*
* Returns a reference to this object so that method calls can be chained together.
*
* Constraints:
* Length: 1 - 1024
*
- * @param nextToken The new value for the NextToken property for this object.
+ * @param nextToken String that identifies the start of the next list of stacks, if there
+ * is one.
*
* @return A reference to this updated object so that method calls can be chained
* together.
diff --git a/src/main/java/com/amazonaws/services/cloudformation/model/OnFailure.java b/src/main/java/com/amazonaws/services/cloudformation/model/OnFailure.java
new file mode 100644
index 000000000000..5617e6d3179f
--- /dev/null
+++ b/src/main/java/com/amazonaws/services/cloudformation/model/OnFailure.java
@@ -0,0 +1,59 @@
+/*
+ * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+package com.amazonaws.services.cloudformation.model;
+
+/**
+ * On Failure
+ */
+public enum OnFailure {
+
+ DO_NOTHING("DO_NOTHING"),
+ ROLLBACK("ROLLBACK"),
+ DELETE("DELETE");
+
+ private String value;
+
+ private OnFailure(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String toString() {
+ return this.value;
+ }
+
+ /**
+ * Use this in place of valueOf.
+ *
+ * @param value
+ * real value
+ * @return OnFailure corresponding to the value
+ */
+ public static OnFailure fromValue(String value) {
+ if (value == null || "".equals(value)) {
+ throw new IllegalArgumentException("Value cannot be null or empty!");
+
+ } else if ("DO_NOTHING".equals(value)) {
+ return OnFailure.DO_NOTHING;
+ } else if ("ROLLBACK".equals(value)) {
+ return OnFailure.ROLLBACK;
+ } else if ("DELETE".equals(value)) {
+ return OnFailure.DELETE;
+ } else {
+ throw new IllegalArgumentException("Cannot create enum from " + value + " value!");
+ }
+ }
+}
+
\ No newline at end of file
diff --git a/src/main/java/com/amazonaws/services/cloudformation/model/Stack.java b/src/main/java/com/amazonaws/services/cloudformation/model/Stack.java
index 42c2ad1fa355..39db021c3877 100644
--- a/src/main/java/com/amazonaws/services/cloudformation/model/Stack.java
+++ b/src/main/java/com/amazonaws/services/cloudformation/model/Stack.java
@@ -46,6 +46,10 @@ public class Stack {
*/
private java.util.Date creationTime;
+ /**
+ * The time the stack was last updated. This field will only be returned
+ * if the stack has been updated at least once.
+ */
private java.util.Date lastUpdatedTime;
/**
@@ -94,6 +98,12 @@ public class Stack {
*/
private java.util.List