parameters) {
setParameters(parameters);
return this;
}
/**
*
* The time at which the stack was created.
*
*
* @param creationTime
* The time at which the stack was created.
*/
public void setCreationTime(java.util.Date creationTime) {
this.creationTime = creationTime;
}
/**
*
* The time at which the stack was created.
*
*
* @return The time at which the stack was created.
*/
public java.util.Date getCreationTime() {
return this.creationTime;
}
/**
*
* The time at which the stack was created.
*
*
* @param creationTime
* The time at which the stack was created.
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public Stack withCreationTime(java.util.Date creationTime) {
setCreationTime(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.
*
*
* @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.
*
*
* @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 this.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.
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public Stack withLastUpdatedTime(java.util.Date lastUpdatedTime) {
setLastUpdatedTime(lastUpdatedTime);
return this;
}
/**
*
* Current status of the stack.
*
*
* @param stackStatus
* Current status of the stack.
* @see StackStatus
*/
public void setStackStatus(String stackStatus) {
this.stackStatus = stackStatus;
}
/**
*
* Current status of the stack.
*
*
* @return Current status of the stack.
* @see StackStatus
*/
public String getStackStatus() {
return this.stackStatus;
}
/**
*
* Current status of the stack.
*
*
* @param stackStatus
* Current status of the stack.
* @return Returns a reference to this object so that method calls can be
* chained together.
* @see StackStatus
*/
public Stack withStackStatus(String stackStatus) {
setStackStatus(stackStatus);
return this;
}
/**
*
* Current status of the stack.
*
*
* @param stackStatus
* Current status of the stack.
* @return Returns a reference to this object so that method calls can be
* chained together.
* @see StackStatus
*/
public void setStackStatus(StackStatus stackStatus) {
this.stackStatus = stackStatus.toString();
}
/**
*
* Current status of the stack.
*
*
* @param stackStatus
* Current status of the stack.
* @return Returns a reference to this object so that method calls can be
* chained together.
* @see StackStatus
*/
public Stack withStackStatus(StackStatus stackStatus) {
setStackStatus(stackStatus);
return this;
}
/**
*
* 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.
*
*
* @return Success/failure message associated with the stack status.
*/
public String getStackStatusReason() {
return this.stackStatusReason;
}
/**
*
* Success/failure message associated with the stack status.
*
*
* @param stackStatusReason
* Success/failure message associated with the stack status.
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public Stack withStackStatusReason(String stackStatusReason) {
setStackStatusReason(stackStatusReason);
return this;
}
/**
*
* 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
*
*
*
* @return Boolean to enable or disable rollback on stack creation
* failures:
*
*
* -
true
: disable rollback
* -
false
: enable rollback
*
*/
public Boolean getDisableRollback() {
return this.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
*
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public Stack withDisableRollback(Boolean disableRollback) {
setDisableRollback(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 isDisableRollback() {
return this.disableRollback;
}
/**
*
* SNS topic ARNs to which stack related events are published.
*
*
* @return SNS topic ARNs to which stack related events are published.
*/
public java.util.List getNotificationARNs() {
if (notificationARNs == null) {
notificationARNs = new com.amazonaws.internal.SdkInternalList();
}
return notificationARNs;
}
/**
*
* SNS topic ARNs to which stack related events are published.
*
*
* @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;
}
this.notificationARNs = new com.amazonaws.internal.SdkInternalList(
notificationARNs);
}
/**
*
* SNS topic ARNs to which stack related events are published.
*
*
* NOTE: This method appends the values to the existing list (if
* any). Use {@link #setNotificationARNs(java.util.Collection)} or
* {@link #withNotificationARNs(java.util.Collection)} if you want to
* override the existing values.
*
*
* @param notificationARNs
* SNS topic ARNs to which stack related events are published.
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public Stack withNotificationARNs(String... notificationARNs) {
if (this.notificationARNs == null) {
setNotificationARNs(new com.amazonaws.internal.SdkInternalList(
notificationARNs.length));
}
for (String ele : notificationARNs) {
this.notificationARNs.add(ele);
}
return this;
}
/**
*
* SNS topic ARNs to which stack related events are published.
*
*
* @param notificationARNs
* SNS topic ARNs to which stack related events are published.
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public Stack withNotificationARNs(
java.util.Collection notificationARNs) {
setNotificationARNs(notificationARNs);
return this;
}
/**
*
* The amount of time within which stack creation should complete.
*
*
* @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.
*
*
* @return The amount of time within which stack creation should complete.
*/
public Integer getTimeoutInMinutes() {
return this.timeoutInMinutes;
}
/**
*
* The amount of time within which stack creation should complete.
*
*
* @param timeoutInMinutes
* The amount of time within which stack creation should complete.
* @return Returns a reference to this object so that method calls can be
* chained together.
*/
public Stack withTimeoutInMinutes(Integer timeoutInMinutes) {
setTimeoutInMinutes(timeoutInMinutes);
return this;
}
/**
*
* The capabilities allowed in the stack.
*
*
* @return The capabilities allowed in the stack.
* @see Capability
*/
public java.util.List getCapabilities() {
if (capabilities == null) {
capabilities = new com.amazonaws.internal.SdkInternalList();
}
return capabilities;
}
/**
*
* The capabilities allowed in the stack.
*
*
* @param capabilities
* The capabilities allowed in the stack.
* @see Capability
*/
public void setCapabilities(java.util.Collection capabilities) {
if (capabilities == null) {
this.capabilities = null;
return;
}
this.capabilities = new com.amazonaws.internal.SdkInternalList(
capabilities);
}
/**
*
* The capabilities allowed in the stack.
*
*
* NOTE: This method appends the values to the existing list (if
* any). Use {@link #setCapabilities(java.util.Collection)} or
* {@link #withCapabilities(java.util.Collection)} if you want to override
* the existing values.
*
*
* @param capabilities
* The capabilities allowed in the stack.
* @return Returns a reference to this object so that method calls can be
* chained together.
* @see Capability
*/
public Stack withCapabilities(String... capabilities) {
if (this.capabilities == null) {
setCapabilities(new com.amazonaws.internal.SdkInternalList(
capabilities.length));
}
for (String ele : capabilities) {
this.capabilities.add(ele);
}
return this;
}
/**
*
* The capabilities allowed in the stack.
*
*
* @param capabilities
* The capabilities allowed in the stack.
* @return Returns a reference to this object so that method calls can be
* chained together.
* @see Capability
*/
public Stack withCapabilities(java.util.Collection capabilities) {
setCapabilities(capabilities);
return this;
}
/**
*
* The capabilities allowed in the stack.
*
*
* @param capabilities
* The capabilities allowed in the stack.
* @return Returns a reference to this object so that method calls can be
* chained together.
* @see Capability
*/
public Stack withCapabilities(Capability... capabilities) {
com.amazonaws.internal.SdkInternalList capabilitiesCopy = new com.amazonaws.internal.SdkInternalList(
capabilities.length);
for (Capability value : capabilities) {
capabilitiesCopy.add(value.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