(parameters.size());
parametersCopy.addAll(parameters);
this.parameters = parametersCopy;
}
return this;
}
/**
* Time at which the stack was created.
*
* @return Time at which the stack was created.
*/
public java.util.Date getCreationTime() {
return creationTime;
}
/**
* Time at which the stack was created.
*
* @param creationTime Time at which the stack was created.
*/
public void setCreationTime(java.util.Date creationTime) {
this.creationTime = creationTime;
}
/**
* Time at which the stack was created.
*
* Returns a reference to this object so that method calls can be chained together.
*
* @param creationTime Time at which the stack was created.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public Stack withCreationTime(java.util.Date creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* The time the stack was last updated. This field will only be returned
* if the stack has been updated at least once.
*
* @return The time the stack was last updated. This field will only be returned
* if the stack has been updated at least once.
*/
public java.util.Date getLastUpdatedTime() {
return lastUpdatedTime;
}
/**
* The time the stack was last updated. This field will only be returned
* if the stack has been updated at least once.
*
* @param lastUpdatedTime The time the stack was last updated. This field will only be returned
* if the stack has been updated at least once.
*/
public void setLastUpdatedTime(java.util.Date lastUpdatedTime) {
this.lastUpdatedTime = lastUpdatedTime;
}
/**
* The time the stack was last updated. This field will only be returned
* if the stack has been updated at least once.
*
* Returns a reference to this object so that method calls can be chained together.
*
* @param lastUpdatedTime The time the stack was last updated. This field will only be returned
* if the stack has been updated at least once.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public Stack withLastUpdatedTime(java.util.Date lastUpdatedTime) {
this.lastUpdatedTime = lastUpdatedTime;
return this;
}
/**
* Current status of the stack.
*
* Constraints:
* Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE
*
* @return Current status of the stack.
*
* @see StackStatus
*/
public String getStackStatus() {
return stackStatus;
}
/**
* Current status of the stack.
*
* Constraints:
* Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE
*
* @param stackStatus Current status of the stack.
*
* @see StackStatus
*/
public void setStackStatus(String stackStatus) {
this.stackStatus = stackStatus;
}
/**
* Current status of the stack.
*
* Returns a reference to this object so that method calls can be chained together.
*
* Constraints:
* Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE
*
* @param stackStatus Current status of the stack.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*
* @see StackStatus
*/
public Stack withStackStatus(String stackStatus) {
this.stackStatus = stackStatus;
return this;
}
/**
* Current status of the stack.
*
* Constraints:
* Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE
*
* @param stackStatus Current status of the stack.
*
* @see StackStatus
*/
public void setStackStatus(StackStatus stackStatus) {
this.stackStatus = stackStatus.toString();
}
/**
* Current status of the stack.
*
* Returns a reference to this object so that method calls can be chained together.
*
* Constraints:
* Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE
*
* @param stackStatus Current status of the stack.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*
* @see StackStatus
*/
public Stack withStackStatus(StackStatus stackStatus) {
this.stackStatus = stackStatus.toString();
return this;
}
/**
* Success/failure message associated with the stack status.
*
* @return Success/failure message associated with the stack status.
*/
public String getStackStatusReason() {
return stackStatusReason;
}
/**
* Success/failure message associated with the stack status.
*
* @param stackStatusReason Success/failure message associated with the stack status.
*/
public void setStackStatusReason(String stackStatusReason) {
this.stackStatusReason = stackStatusReason;
}
/**
* Success/failure message associated with the stack status.
*
* Returns a reference to this object so that method calls can be chained together.
*
* @param stackStatusReason Success/failure message associated with the stack status.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public Stack withStackStatusReason(String stackStatusReason) {
this.stackStatusReason = stackStatusReason;
return this;
}
/**
* Boolean to enable or disable rollback on stack creation failures:
*
true
: disable rollback
* false
: enable rollback
*
* @return Boolean to enable or disable rollback on stack creation failures:
*
true
: disable rollback
* false
: enable rollback
*/
public Boolean isDisableRollback() {
return disableRollback;
}
/**
* Boolean to enable or disable rollback on stack creation failures:
*
true
: disable rollback
* false
: enable rollback
*
* @param disableRollback Boolean to enable or disable rollback on stack creation failures:
*
true
: disable rollback
* false
: enable rollback
*/
public void setDisableRollback(Boolean disableRollback) {
this.disableRollback = disableRollback;
}
/**
* Boolean to enable or disable rollback on stack creation failures:
*
true
: disable rollback
* false
: enable rollback
*
* Returns a reference to this object so that method calls can be chained together.
*
* @param disableRollback Boolean to enable or disable rollback on stack creation failures:
*
true
: disable rollback
* false
: enable rollback
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public Stack withDisableRollback(Boolean disableRollback) {
this.disableRollback = disableRollback;
return this;
}
/**
* Boolean to enable or disable rollback on stack creation failures:
*
true
: disable rollback
* false
: enable rollback
*
* @return Boolean to enable or disable rollback on stack creation failures:
*
true
: disable rollback
* false
: enable rollback
*/
public Boolean getDisableRollback() {
return disableRollback;
}
/**
* SNS topic ARNs to which stack related events are published.
*
* Constraints:
* Length: 0 - 5
*
* @return SNS topic ARNs to which stack related events are published.
*/
public java.util.List getNotificationARNs() {
if (notificationARNs == null) {
notificationARNs = new com.amazonaws.internal.ListWithAutoConstructFlag();
notificationARNs.setAutoConstruct(true);
}
return notificationARNs;
}
/**
* SNS topic ARNs to which stack related events are published.
*
* Constraints:
* Length: 0 - 5
*
* @param notificationARNs SNS topic ARNs to which stack related events are published.
*/
public void setNotificationARNs(java.util.Collection notificationARNs) {
if (notificationARNs == null) {
this.notificationARNs = null;
return;
}
com.amazonaws.internal.ListWithAutoConstructFlag notificationARNsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag(notificationARNs.size());
notificationARNsCopy.addAll(notificationARNs);
this.notificationARNs = notificationARNsCopy;
}
/**
* SNS topic ARNs to which stack related events are published.
*
* Returns a reference to this object so that method calls can be chained together.
*
* Constraints:
* Length: 0 - 5
*
* @param notificationARNs SNS topic ARNs to which stack related events are published.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public Stack withNotificationARNs(String... notificationARNs) {
if (getNotificationARNs() == null) setNotificationARNs(new java.util.ArrayList(notificationARNs.length));
for (String value : notificationARNs) {
getNotificationARNs().add(value);
}
return this;
}
/**
* SNS topic ARNs to which stack related events are published.
*
* Returns a reference to this object so that method calls can be chained together.
*
* Constraints:
* Length: 0 - 5
*
* @param notificationARNs SNS topic ARNs to which stack related events are published.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public Stack withNotificationARNs(java.util.Collection notificationARNs) {
if (notificationARNs == null) {
this.notificationARNs = null;
} else {
com.amazonaws.internal.ListWithAutoConstructFlag notificationARNsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag(notificationARNs.size());
notificationARNsCopy.addAll(notificationARNs);
this.notificationARNs = notificationARNsCopy;
}
return this;
}
/**
* The amount of time within which stack creation should complete.
*
* Constraints:
* Range: 1 -
*
* @return The amount of time within which stack creation should complete.
*/
public Integer getTimeoutInMinutes() {
return timeoutInMinutes;
}
/**
* The amount of time within which stack creation should complete.
*
* Constraints:
* Range: 1 -
*
* @param timeoutInMinutes The amount of time within which stack creation should complete.
*/
public void setTimeoutInMinutes(Integer timeoutInMinutes) {
this.timeoutInMinutes = timeoutInMinutes;
}
/**
* The amount of time within which stack creation should complete.
*
* Returns a reference to this object so that method calls can be chained together.
*
* Constraints:
* Range: 1 -
*
* @param timeoutInMinutes The amount of time within which stack creation should complete.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public Stack withTimeoutInMinutes(Integer timeoutInMinutes) {
this.timeoutInMinutes = timeoutInMinutes;
return this;
}
/**
* The capabilities allowed in the stack.
*
* @return The capabilities allowed in the stack.
*/
public java.util.List getCapabilities() {
if (capabilities == null) {
capabilities = new com.amazonaws.internal.ListWithAutoConstructFlag();
capabilities.setAutoConstruct(true);
}
return capabilities;
}
/**
* The capabilities allowed in the stack.
*
* @param capabilities The capabilities allowed in the stack.
*/
public void setCapabilities(java.util.Collection capabilities) {
if (capabilities == null) {
this.capabilities = null;
return;
}
com.amazonaws.internal.ListWithAutoConstructFlag capabilitiesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag(capabilities.size());
capabilitiesCopy.addAll(capabilities);
this.capabilities = capabilitiesCopy;
}
/**
* The capabilities allowed in the stack.
*
* Returns a reference to this object so that method calls can be chained together.
*
* @param capabilities The capabilities allowed in the stack.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public Stack withCapabilities(String... capabilities) {
if (getCapabilities() == null) setCapabilities(new java.util.ArrayList(capabilities.length));
for (String value : capabilities) {
getCapabilities().add(value);
}
return this;
}
/**
* The capabilities allowed in the stack.
*
* Returns a reference to this object so that method calls can be chained together.
*
* @param capabilities The capabilities allowed in the stack.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public Stack withCapabilities(java.util.Collection capabilities) {
if (capabilities == null) {
this.capabilities = null;
} else {
com.amazonaws.internal.ListWithAutoConstructFlag capabilitiesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag(capabilities.size());
capabilitiesCopy.addAll(capabilities);
this.capabilities = capabilitiesCopy;
}
return this;
}
/**
* The capabilities allowed in the stack.
*
* Returns a reference to this object so that method calls can be chained together.
*
* @param capabilities The capabilities allowed in the stack.
*
* @return A reference to this updated object so that method calls can be chained
* together.
*/
public Stack withCapabilities(Capability... capabilities) {
java.util.ArrayList capabilitiesCopy = new java.util.ArrayList(capabilities.length);
for (Capability member : capabilities) {
capabilitiesCopy.add(member.toString());
}
if (getCapabilities() == null) {
setCapabilities(capabilitiesCopy);
} else {
getCapabilities().addAll(capabilitiesCopy);
}
return this;
}
/**
* A list of output structures.
*
* @return A list of output structures.
*/
public java.util.List