
com.amazonaws.services.repostspace.model.GetSpaceResult Maven / Gradle / Ivy
/*
* Copyright 2019-2024 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.repostspace.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class GetSpaceResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
/**
*
* The ARN of the private re:Post.
*
*/
private String arn;
/**
*
* The Identity Center identifier for the Application Instance.
*
*/
private String clientId;
/**
*
* The configuration status of the private re:Post.
*
*/
private String configurationStatus;
/**
*
* The content size of the private re:Post.
*
*/
private Long contentSize;
/**
*
* The date when the private re:Post was created.
*
*/
private java.util.Date createDateTime;
/**
*
* The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support
* tickets.
*
*/
private String customerRoleArn;
/**
*
* The date when the private re:Post was deleted.
*
*/
private java.util.Date deleteDateTime;
/**
*
* The description of the private re:Post.
*
*/
private String description;
/**
*
* The list of groups that are administrators of the private re:Post.
*
*/
private java.util.List groupAdmins;
/**
*
* The name of the private re:Post.
*
*/
private String name;
/**
*
* The AWS generated subdomain of the private re:Post
*
*/
private String randomDomain;
/**
*
* The unique ID of the private re:Post.
*
*/
private String spaceId;
/**
*
* The creation or deletion status of the private re:Post.
*
*/
private String status;
/**
*
* The storage limit of the private re:Post.
*
*/
private Long storageLimit;
/**
*
* The pricing tier of the private re:Post.
*
*/
private String tier;
/**
*
* The list of users that are administrators of the private re:Post.
*
*/
private java.util.List userAdmins;
/**
*
* The number of users that have onboarded to the private re:Post.
*
*/
private Integer userCount;
/**
*
* The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
*
*/
private String userKMSKey;
/**
*
* The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS
* before use.
*
*/
private String vanityDomain;
/**
*
* The approval status of the custom subdomain.
*
*/
private String vanityDomainStatus;
/**
*
* The ARN of the private re:Post.
*
*
* @param arn
* The ARN of the private re:Post.
*/
public void setArn(String arn) {
this.arn = arn;
}
/**
*
* The ARN of the private re:Post.
*
*
* @return The ARN of the private re:Post.
*/
public String getArn() {
return this.arn;
}
/**
*
* The ARN of the private re:Post.
*
*
* @param arn
* The ARN of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withArn(String arn) {
setArn(arn);
return this;
}
/**
*
* The Identity Center identifier for the Application Instance.
*
*
* @param clientId
* The Identity Center identifier for the Application Instance.
*/
public void setClientId(String clientId) {
this.clientId = clientId;
}
/**
*
* The Identity Center identifier for the Application Instance.
*
*
* @return The Identity Center identifier for the Application Instance.
*/
public String getClientId() {
return this.clientId;
}
/**
*
* The Identity Center identifier for the Application Instance.
*
*
* @param clientId
* The Identity Center identifier for the Application Instance.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withClientId(String clientId) {
setClientId(clientId);
return this;
}
/**
*
* The configuration status of the private re:Post.
*
*
* @param configurationStatus
* The configuration status of the private re:Post.
* @see ConfigurationStatus
*/
public void setConfigurationStatus(String configurationStatus) {
this.configurationStatus = configurationStatus;
}
/**
*
* The configuration status of the private re:Post.
*
*
* @return The configuration status of the private re:Post.
* @see ConfigurationStatus
*/
public String getConfigurationStatus() {
return this.configurationStatus;
}
/**
*
* The configuration status of the private re:Post.
*
*
* @param configurationStatus
* The configuration status of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ConfigurationStatus
*/
public GetSpaceResult withConfigurationStatus(String configurationStatus) {
setConfigurationStatus(configurationStatus);
return this;
}
/**
*
* The configuration status of the private re:Post.
*
*
* @param configurationStatus
* The configuration status of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ConfigurationStatus
*/
public GetSpaceResult withConfigurationStatus(ConfigurationStatus configurationStatus) {
this.configurationStatus = configurationStatus.toString();
return this;
}
/**
*
* The content size of the private re:Post.
*
*
* @param contentSize
* The content size of the private re:Post.
*/
public void setContentSize(Long contentSize) {
this.contentSize = contentSize;
}
/**
*
* The content size of the private re:Post.
*
*
* @return The content size of the private re:Post.
*/
public Long getContentSize() {
return this.contentSize;
}
/**
*
* The content size of the private re:Post.
*
*
* @param contentSize
* The content size of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withContentSize(Long contentSize) {
setContentSize(contentSize);
return this;
}
/**
*
* The date when the private re:Post was created.
*
*
* @param createDateTime
* The date when the private re:Post was created.
*/
public void setCreateDateTime(java.util.Date createDateTime) {
this.createDateTime = createDateTime;
}
/**
*
* The date when the private re:Post was created.
*
*
* @return The date when the private re:Post was created.
*/
public java.util.Date getCreateDateTime() {
return this.createDateTime;
}
/**
*
* The date when the private re:Post was created.
*
*
* @param createDateTime
* The date when the private re:Post was created.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withCreateDateTime(java.util.Date createDateTime) {
setCreateDateTime(createDateTime);
return this;
}
/**
*
* The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support
* tickets.
*
*
* @param customerRoleArn
* The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS
* support tickets.
*/
public void setCustomerRoleArn(String customerRoleArn) {
this.customerRoleArn = customerRoleArn;
}
/**
*
* The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support
* tickets.
*
*
* @return The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS
* support tickets.
*/
public String getCustomerRoleArn() {
return this.customerRoleArn;
}
/**
*
* The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support
* tickets.
*
*
* @param customerRoleArn
* The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS
* support tickets.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withCustomerRoleArn(String customerRoleArn) {
setCustomerRoleArn(customerRoleArn);
return this;
}
/**
*
* The date when the private re:Post was deleted.
*
*
* @param deleteDateTime
* The date when the private re:Post was deleted.
*/
public void setDeleteDateTime(java.util.Date deleteDateTime) {
this.deleteDateTime = deleteDateTime;
}
/**
*
* The date when the private re:Post was deleted.
*
*
* @return The date when the private re:Post was deleted.
*/
public java.util.Date getDeleteDateTime() {
return this.deleteDateTime;
}
/**
*
* The date when the private re:Post was deleted.
*
*
* @param deleteDateTime
* The date when the private re:Post was deleted.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withDeleteDateTime(java.util.Date deleteDateTime) {
setDeleteDateTime(deleteDateTime);
return this;
}
/**
*
* The description of the private re:Post.
*
*
* @param description
* The description of the private re:Post.
*/
public void setDescription(String description) {
this.description = description;
}
/**
*
* The description of the private re:Post.
*
*
* @return The description of the private re:Post.
*/
public String getDescription() {
return this.description;
}
/**
*
* The description of the private re:Post.
*
*
* @param description
* The description of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withDescription(String description) {
setDescription(description);
return this;
}
/**
*
* The list of groups that are administrators of the private re:Post.
*
*
* @return The list of groups that are administrators of the private re:Post.
*/
public java.util.List getGroupAdmins() {
return groupAdmins;
}
/**
*
* The list of groups that are administrators of the private re:Post.
*
*
* @param groupAdmins
* The list of groups that are administrators of the private re:Post.
*/
public void setGroupAdmins(java.util.Collection groupAdmins) {
if (groupAdmins == null) {
this.groupAdmins = null;
return;
}
this.groupAdmins = new java.util.ArrayList(groupAdmins);
}
/**
*
* The list of groups that are administrators of the private re:Post.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setGroupAdmins(java.util.Collection)} or {@link #withGroupAdmins(java.util.Collection)} if you want to
* override the existing values.
*
*
* @param groupAdmins
* The list of groups that are administrators of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withGroupAdmins(String... groupAdmins) {
if (this.groupAdmins == null) {
setGroupAdmins(new java.util.ArrayList(groupAdmins.length));
}
for (String ele : groupAdmins) {
this.groupAdmins.add(ele);
}
return this;
}
/**
*
* The list of groups that are administrators of the private re:Post.
*
*
* @param groupAdmins
* The list of groups that are administrators of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withGroupAdmins(java.util.Collection groupAdmins) {
setGroupAdmins(groupAdmins);
return this;
}
/**
*
* The name of the private re:Post.
*
*
* @param name
* The name of the private re:Post.
*/
public void setName(String name) {
this.name = name;
}
/**
*
* The name of the private re:Post.
*
*
* @return The name of the private re:Post.
*/
public String getName() {
return this.name;
}
/**
*
* The name of the private re:Post.
*
*
* @param name
* The name of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withName(String name) {
setName(name);
return this;
}
/**
*
* The AWS generated subdomain of the private re:Post
*
*
* @param randomDomain
* The AWS generated subdomain of the private re:Post
*/
public void setRandomDomain(String randomDomain) {
this.randomDomain = randomDomain;
}
/**
*
* The AWS generated subdomain of the private re:Post
*
*
* @return The AWS generated subdomain of the private re:Post
*/
public String getRandomDomain() {
return this.randomDomain;
}
/**
*
* The AWS generated subdomain of the private re:Post
*
*
* @param randomDomain
* The AWS generated subdomain of the private re:Post
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withRandomDomain(String randomDomain) {
setRandomDomain(randomDomain);
return this;
}
/**
*
* The unique ID of the private re:Post.
*
*
* @param spaceId
* The unique ID of the private re:Post.
*/
public void setSpaceId(String spaceId) {
this.spaceId = spaceId;
}
/**
*
* The unique ID of the private re:Post.
*
*
* @return The unique ID of the private re:Post.
*/
public String getSpaceId() {
return this.spaceId;
}
/**
*
* The unique ID of the private re:Post.
*
*
* @param spaceId
* The unique ID of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withSpaceId(String spaceId) {
setSpaceId(spaceId);
return this;
}
/**
*
* The creation or deletion status of the private re:Post.
*
*
* @param status
* The creation or deletion status of the private re:Post.
*/
public void setStatus(String status) {
this.status = status;
}
/**
*
* The creation or deletion status of the private re:Post.
*
*
* @return The creation or deletion status of the private re:Post.
*/
public String getStatus() {
return this.status;
}
/**
*
* The creation or deletion status of the private re:Post.
*
*
* @param status
* The creation or deletion status of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withStatus(String status) {
setStatus(status);
return this;
}
/**
*
* The storage limit of the private re:Post.
*
*
* @param storageLimit
* The storage limit of the private re:Post.
*/
public void setStorageLimit(Long storageLimit) {
this.storageLimit = storageLimit;
}
/**
*
* The storage limit of the private re:Post.
*
*
* @return The storage limit of the private re:Post.
*/
public Long getStorageLimit() {
return this.storageLimit;
}
/**
*
* The storage limit of the private re:Post.
*
*
* @param storageLimit
* The storage limit of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withStorageLimit(Long storageLimit) {
setStorageLimit(storageLimit);
return this;
}
/**
*
* The pricing tier of the private re:Post.
*
*
* @param tier
* The pricing tier of the private re:Post.
* @see TierLevel
*/
public void setTier(String tier) {
this.tier = tier;
}
/**
*
* The pricing tier of the private re:Post.
*
*
* @return The pricing tier of the private re:Post.
* @see TierLevel
*/
public String getTier() {
return this.tier;
}
/**
*
* The pricing tier of the private re:Post.
*
*
* @param tier
* The pricing tier of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
* @see TierLevel
*/
public GetSpaceResult withTier(String tier) {
setTier(tier);
return this;
}
/**
*
* The pricing tier of the private re:Post.
*
*
* @param tier
* The pricing tier of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
* @see TierLevel
*/
public GetSpaceResult withTier(TierLevel tier) {
this.tier = tier.toString();
return this;
}
/**
*
* The list of users that are administrators of the private re:Post.
*
*
* @return The list of users that are administrators of the private re:Post.
*/
public java.util.List getUserAdmins() {
return userAdmins;
}
/**
*
* The list of users that are administrators of the private re:Post.
*
*
* @param userAdmins
* The list of users that are administrators of the private re:Post.
*/
public void setUserAdmins(java.util.Collection userAdmins) {
if (userAdmins == null) {
this.userAdmins = null;
return;
}
this.userAdmins = new java.util.ArrayList(userAdmins);
}
/**
*
* The list of users that are administrators of the private re:Post.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setUserAdmins(java.util.Collection)} or {@link #withUserAdmins(java.util.Collection)} if you want to
* override the existing values.
*
*
* @param userAdmins
* The list of users that are administrators of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withUserAdmins(String... userAdmins) {
if (this.userAdmins == null) {
setUserAdmins(new java.util.ArrayList(userAdmins.length));
}
for (String ele : userAdmins) {
this.userAdmins.add(ele);
}
return this;
}
/**
*
* The list of users that are administrators of the private re:Post.
*
*
* @param userAdmins
* The list of users that are administrators of the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withUserAdmins(java.util.Collection userAdmins) {
setUserAdmins(userAdmins);
return this;
}
/**
*
* The number of users that have onboarded to the private re:Post.
*
*
* @param userCount
* The number of users that have onboarded to the private re:Post.
*/
public void setUserCount(Integer userCount) {
this.userCount = userCount;
}
/**
*
* The number of users that have onboarded to the private re:Post.
*
*
* @return The number of users that have onboarded to the private re:Post.
*/
public Integer getUserCount() {
return this.userCount;
}
/**
*
* The number of users that have onboarded to the private re:Post.
*
*
* @param userCount
* The number of users that have onboarded to the private re:Post.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withUserCount(Integer userCount) {
setUserCount(userCount);
return this;
}
/**
*
* The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
*
*
* @param userKMSKey
* The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
*/
public void setUserKMSKey(String userKMSKey) {
this.userKMSKey = userKMSKey;
}
/**
*
* The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
*
*
* @return The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
*/
public String getUserKMSKey() {
return this.userKMSKey;
}
/**
*
* The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
*
*
* @param userKMSKey
* The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withUserKMSKey(String userKMSKey) {
setUserKMSKey(userKMSKey);
return this;
}
/**
*
* The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS
* before use.
*
*
* @param vanityDomain
* The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved
* by AWS before use.
*/
public void setVanityDomain(String vanityDomain) {
this.vanityDomain = vanityDomain;
}
/**
*
* The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS
* before use.
*
*
* @return The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved
* by AWS before use.
*/
public String getVanityDomain() {
return this.vanityDomain;
}
/**
*
* The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS
* before use.
*
*
* @param vanityDomain
* The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved
* by AWS before use.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSpaceResult withVanityDomain(String vanityDomain) {
setVanityDomain(vanityDomain);
return this;
}
/**
*
* The approval status of the custom subdomain.
*
*
* @param vanityDomainStatus
* The approval status of the custom subdomain.
* @see VanityDomainStatus
*/
public void setVanityDomainStatus(String vanityDomainStatus) {
this.vanityDomainStatus = vanityDomainStatus;
}
/**
*
* The approval status of the custom subdomain.
*
*
* @return The approval status of the custom subdomain.
* @see VanityDomainStatus
*/
public String getVanityDomainStatus() {
return this.vanityDomainStatus;
}
/**
*
* The approval status of the custom subdomain.
*
*
* @param vanityDomainStatus
* The approval status of the custom subdomain.
* @return Returns a reference to this object so that method calls can be chained together.
* @see VanityDomainStatus
*/
public GetSpaceResult withVanityDomainStatus(String vanityDomainStatus) {
setVanityDomainStatus(vanityDomainStatus);
return this;
}
/**
*
* The approval status of the custom subdomain.
*
*
* @param vanityDomainStatus
* The approval status of the custom subdomain.
* @return Returns a reference to this object so that method calls can be chained together.
* @see VanityDomainStatus
*/
public GetSpaceResult withVanityDomainStatus(VanityDomainStatus vanityDomainStatus) {
this.vanityDomainStatus = vanityDomainStatus.toString();
return this;
}
/**
* 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 (getArn() != null)
sb.append("Arn: ").append(getArn()).append(",");
if (getClientId() != null)
sb.append("ClientId: ").append(getClientId()).append(",");
if (getConfigurationStatus() != null)
sb.append("ConfigurationStatus: ").append(getConfigurationStatus()).append(",");
if (getContentSize() != null)
sb.append("ContentSize: ").append(getContentSize()).append(",");
if (getCreateDateTime() != null)
sb.append("CreateDateTime: ").append(getCreateDateTime()).append(",");
if (getCustomerRoleArn() != null)
sb.append("CustomerRoleArn: ").append(getCustomerRoleArn()).append(",");
if (getDeleteDateTime() != null)
sb.append("DeleteDateTime: ").append(getDeleteDateTime()).append(",");
if (getDescription() != null)
sb.append("Description: ").append("***Sensitive Data Redacted***").append(",");
if (getGroupAdmins() != null)
sb.append("GroupAdmins: ").append(getGroupAdmins()).append(",");
if (getName() != null)
sb.append("Name: ").append("***Sensitive Data Redacted***").append(",");
if (getRandomDomain() != null)
sb.append("RandomDomain: ").append(getRandomDomain()).append(",");
if (getSpaceId() != null)
sb.append("SpaceId: ").append(getSpaceId()).append(",");
if (getStatus() != null)
sb.append("Status: ").append(getStatus()).append(",");
if (getStorageLimit() != null)
sb.append("StorageLimit: ").append(getStorageLimit()).append(",");
if (getTier() != null)
sb.append("Tier: ").append(getTier()).append(",");
if (getUserAdmins() != null)
sb.append("UserAdmins: ").append(getUserAdmins()).append(",");
if (getUserCount() != null)
sb.append("UserCount: ").append(getUserCount()).append(",");
if (getUserKMSKey() != null)
sb.append("UserKMSKey: ").append(getUserKMSKey()).append(",");
if (getVanityDomain() != null)
sb.append("VanityDomain: ").append(getVanityDomain()).append(",");
if (getVanityDomainStatus() != null)
sb.append("VanityDomainStatus: ").append(getVanityDomainStatus());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof GetSpaceResult == false)
return false;
GetSpaceResult other = (GetSpaceResult) obj;
if (other.getArn() == null ^ this.getArn() == null)
return false;
if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
return false;
if (other.getClientId() == null ^ this.getClientId() == null)
return false;
if (other.getClientId() != null && other.getClientId().equals(this.getClientId()) == false)
return false;
if (other.getConfigurationStatus() == null ^ this.getConfigurationStatus() == null)
return false;
if (other.getConfigurationStatus() != null && other.getConfigurationStatus().equals(this.getConfigurationStatus()) == false)
return false;
if (other.getContentSize() == null ^ this.getContentSize() == null)
return false;
if (other.getContentSize() != null && other.getContentSize().equals(this.getContentSize()) == false)
return false;
if (other.getCreateDateTime() == null ^ this.getCreateDateTime() == null)
return false;
if (other.getCreateDateTime() != null && other.getCreateDateTime().equals(this.getCreateDateTime()) == false)
return false;
if (other.getCustomerRoleArn() == null ^ this.getCustomerRoleArn() == null)
return false;
if (other.getCustomerRoleArn() != null && other.getCustomerRoleArn().equals(this.getCustomerRoleArn()) == false)
return false;
if (other.getDeleteDateTime() == null ^ this.getDeleteDateTime() == null)
return false;
if (other.getDeleteDateTime() != null && other.getDeleteDateTime().equals(this.getDeleteDateTime()) == false)
return false;
if (other.getDescription() == null ^ this.getDescription() == null)
return false;
if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false)
return false;
if (other.getGroupAdmins() == null ^ this.getGroupAdmins() == null)
return false;
if (other.getGroupAdmins() != null && other.getGroupAdmins().equals(this.getGroupAdmins()) == false)
return false;
if (other.getName() == null ^ this.getName() == null)
return false;
if (other.getName() != null && other.getName().equals(this.getName()) == false)
return false;
if (other.getRandomDomain() == null ^ this.getRandomDomain() == null)
return false;
if (other.getRandomDomain() != null && other.getRandomDomain().equals(this.getRandomDomain()) == false)
return false;
if (other.getSpaceId() == null ^ this.getSpaceId() == null)
return false;
if (other.getSpaceId() != null && other.getSpaceId().equals(this.getSpaceId()) == false)
return false;
if (other.getStatus() == null ^ this.getStatus() == null)
return false;
if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false)
return false;
if (other.getStorageLimit() == null ^ this.getStorageLimit() == null)
return false;
if (other.getStorageLimit() != null && other.getStorageLimit().equals(this.getStorageLimit()) == false)
return false;
if (other.getTier() == null ^ this.getTier() == null)
return false;
if (other.getTier() != null && other.getTier().equals(this.getTier()) == false)
return false;
if (other.getUserAdmins() == null ^ this.getUserAdmins() == null)
return false;
if (other.getUserAdmins() != null && other.getUserAdmins().equals(this.getUserAdmins()) == false)
return false;
if (other.getUserCount() == null ^ this.getUserCount() == null)
return false;
if (other.getUserCount() != null && other.getUserCount().equals(this.getUserCount()) == false)
return false;
if (other.getUserKMSKey() == null ^ this.getUserKMSKey() == null)
return false;
if (other.getUserKMSKey() != null && other.getUserKMSKey().equals(this.getUserKMSKey()) == false)
return false;
if (other.getVanityDomain() == null ^ this.getVanityDomain() == null)
return false;
if (other.getVanityDomain() != null && other.getVanityDomain().equals(this.getVanityDomain()) == false)
return false;
if (other.getVanityDomainStatus() == null ^ this.getVanityDomainStatus() == null)
return false;
if (other.getVanityDomainStatus() != null && other.getVanityDomainStatus().equals(this.getVanityDomainStatus()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
hashCode = prime * hashCode + ((getClientId() == null) ? 0 : getClientId().hashCode());
hashCode = prime * hashCode + ((getConfigurationStatus() == null) ? 0 : getConfigurationStatus().hashCode());
hashCode = prime * hashCode + ((getContentSize() == null) ? 0 : getContentSize().hashCode());
hashCode = prime * hashCode + ((getCreateDateTime() == null) ? 0 : getCreateDateTime().hashCode());
hashCode = prime * hashCode + ((getCustomerRoleArn() == null) ? 0 : getCustomerRoleArn().hashCode());
hashCode = prime * hashCode + ((getDeleteDateTime() == null) ? 0 : getDeleteDateTime().hashCode());
hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
hashCode = prime * hashCode + ((getGroupAdmins() == null) ? 0 : getGroupAdmins().hashCode());
hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
hashCode = prime * hashCode + ((getRandomDomain() == null) ? 0 : getRandomDomain().hashCode());
hashCode = prime * hashCode + ((getSpaceId() == null) ? 0 : getSpaceId().hashCode());
hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode());
hashCode = prime * hashCode + ((getStorageLimit() == null) ? 0 : getStorageLimit().hashCode());
hashCode = prime * hashCode + ((getTier() == null) ? 0 : getTier().hashCode());
hashCode = prime * hashCode + ((getUserAdmins() == null) ? 0 : getUserAdmins().hashCode());
hashCode = prime * hashCode + ((getUserCount() == null) ? 0 : getUserCount().hashCode());
hashCode = prime * hashCode + ((getUserKMSKey() == null) ? 0 : getUserKMSKey().hashCode());
hashCode = prime * hashCode + ((getVanityDomain() == null) ? 0 : getVanityDomain().hashCode());
hashCode = prime * hashCode + ((getVanityDomainStatus() == null) ? 0 : getVanityDomainStatus().hashCode());
return hashCode;
}
@Override
public GetSpaceResult clone() {
try {
return (GetSpaceResult) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
}