* Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization. *
*/ private Boolean autoEnable; /** ** Specifies whether the maximum number of Amazon Macie member accounts are part of the organization. *
*/ private Boolean maxAccountLimitReached; /** ** Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization. *
* * @param autoEnable * Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization. */ public void setAutoEnable(Boolean autoEnable) { this.autoEnable = autoEnable; } /** ** Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization. *
* * @return Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization. */ public Boolean getAutoEnable() { return this.autoEnable; } /** ** Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization. *
* * @param autoEnable * Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeOrganizationConfigurationResult withAutoEnable(Boolean autoEnable) { setAutoEnable(autoEnable); return this; } /** ** Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization. *
* * @return Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization. */ public Boolean isAutoEnable() { return this.autoEnable; } /** ** Specifies whether the maximum number of Amazon Macie member accounts are part of the organization. *
* * @param maxAccountLimitReached * Specifies whether the maximum number of Amazon Macie member accounts are part of the organization. */ public void setMaxAccountLimitReached(Boolean maxAccountLimitReached) { this.maxAccountLimitReached = maxAccountLimitReached; } /** ** Specifies whether the maximum number of Amazon Macie member accounts are part of the organization. *
* * @return Specifies whether the maximum number of Amazon Macie member accounts are part of the organization. */ public Boolean getMaxAccountLimitReached() { return this.maxAccountLimitReached; } /** ** Specifies whether the maximum number of Amazon Macie member accounts are part of the organization. *
* * @param maxAccountLimitReached * Specifies whether the maximum number of Amazon Macie member accounts are part of the organization. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeOrganizationConfigurationResult withMaxAccountLimitReached(Boolean maxAccountLimitReached) { setMaxAccountLimitReached(maxAccountLimitReached); return this; } /** ** Specifies whether the maximum number of Amazon Macie member accounts are part of the organization. *
* * @return Specifies whether the maximum number of Amazon Macie member accounts are part of the organization. */ public Boolean isMaxAccountLimitReached() { return this.maxAccountLimitReached; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getAutoEnable() != null) sb.append("AutoEnable: ").append(getAutoEnable()).append(","); if (getMaxAccountLimitReached() != null) sb.append("MaxAccountLimitReached: ").append(getMaxAccountLimitReached()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeOrganizationConfigurationResult == false) return false; DescribeOrganizationConfigurationResult other = (DescribeOrganizationConfigurationResult) obj; if (other.getAutoEnable() == null ^ this.getAutoEnable() == null) return false; if (other.getAutoEnable() != null && other.getAutoEnable().equals(this.getAutoEnable()) == false) return false; if (other.getMaxAccountLimitReached() == null ^ this.getMaxAccountLimitReached() == null) return false; if (other.getMaxAccountLimitReached() != null && other.getMaxAccountLimitReached().equals(this.getMaxAccountLimitReached()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAutoEnable() == null) ? 0 : getAutoEnable().hashCode()); hashCode = prime * hashCode + ((getMaxAccountLimitReached() == null) ? 0 : getMaxAccountLimitReached().hashCode()); return hashCode; } @Override public DescribeOrganizationConfigurationResult clone() { try { return (DescribeOrganizationConfigurationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }