/*
* Copyright 2018-2023 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.sagemaker.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class DescribeDomainResult extends com.amazonaws.AmazonWebServiceResult
* The domain's Amazon Resource Name (ARN).
*
* The domain ID.
*
* The domain name.
*
* The ID of the Amazon Elastic File System (EFS) managed by this Domain.
*
* The IAM Identity Center managed application instance ID.
*
* The status.
*
* The creation time.
*
* The last modified time.
*
* The failure reason.
*
* The domain's authentication mode.
*
* Settings which are applied to UserProfiles in this domain if settings are not explicitly specified in a given
* UserProfile.
*
* Specifies the VPC used for non-EFS traffic. The default value is
*
*
* Use
* The VPC subnets that Studio uses for communication.
*
* The domain's URL.
*
* The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
*
* The Amazon Web Services KMS customer managed key used to encrypt the EFS volume attached to the domain.
*
* A collection of
* The entity that creates and manages the required security groups for inter-app communication in
*
* The ID of the security group that authorizes traffic between the
* The default settings used to create a space.
*
* The domain's Amazon Resource Name (ARN).
*
* The domain's Amazon Resource Name (ARN).
*
* The domain's Amazon Resource Name (ARN).
*
* The domain ID.
*
* The domain ID.
*
* The domain ID.
*
* The domain name.
*
* The domain name.
*
* The domain name.
*
* The ID of the Amazon Elastic File System (EFS) managed by this Domain.
*
* The ID of the Amazon Elastic File System (EFS) managed by this Domain.
*
* The ID of the Amazon Elastic File System (EFS) managed by this Domain.
*
* The IAM Identity Center managed application instance ID.
*
* The IAM Identity Center managed application instance ID.
*
* The IAM Identity Center managed application instance ID.
*
* The status.
*
* The status.
*
* The status.
*
* The status.
*
* The creation time.
*
* The creation time.
*
* The creation time.
*
* The last modified time.
*
* The last modified time.
*
* The last modified time.
*
* The failure reason.
*
* The failure reason.
*
* The failure reason.
*
* The domain's authentication mode.
*
* The domain's authentication mode.
*
* The domain's authentication mode.
*
* The domain's authentication mode.
*
* Settings which are applied to UserProfiles in this domain if settings are not explicitly specified in a given
* UserProfile.
*
* Settings which are applied to UserProfiles in this domain if settings are not explicitly specified in a given
* UserProfile.
*
* Settings which are applied to UserProfiles in this domain if settings are not explicitly specified in a given
* UserProfile.
*
* Specifies the VPC used for non-EFS traffic. The default value is
*
* PublicInternetOnly
.
*
*
*/
private String appNetworkAccessType;
/**
* PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows
* direct internet access
* VpcOnly
- All Studio traffic is through the specified VPC and subnets
* KmsKeyId
.
* Domain
settings.
* VPCOnly
mode. Required when CreateDomain.AppNetworkAccessType
is VPCOnly
* and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided.
* RSessionGateway
apps and the
* RStudioServerPro
app.
* PublicInternetOnly
.
*
*
*
* @param appNetworkAccessType
* Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows
* direct internet access
* VpcOnly
- All Studio traffic is through the specified VPC and subnets
* PublicInternetOnly
.
* PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which
* allows direct internet access
*
* VpcOnly
- All Studio traffic is through the specified VPC and subnets
*
* Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly
.
*
* PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows
* direct internet access
*
* VpcOnly
- All Studio traffic is through the specified VPC and subnets
*
PublicInternetOnly
.
*
* PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which
* allows direct internet access
*
* VpcOnly
- All Studio traffic is through the specified VPC and subnets
*
* Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly
.
*
* PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows
* direct internet access
*
* VpcOnly
- All Studio traffic is through the specified VPC and subnets
*
PublicInternetOnly
.
*
* PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which
* allows direct internet access
*
* VpcOnly
- All Studio traffic is through the specified VPC and subnets
*
* Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly
.
*
* PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows
* direct internet access
*
* VpcOnly
- All Studio traffic is through the specified VPC and subnets
*
PublicInternetOnly
.
*
* PublicInternetOnly
- Non-EFS traffic is through a VPC managed by Amazon SageMaker, which
* allows direct internet access
*
* VpcOnly
- All Studio traffic is through the specified VPC and subnets
*
* Use KmsKeyId
.
*
KmsKeyId
.
*/
@Deprecated
public void setHomeEfsFileSystemKmsKeyId(String homeEfsFileSystemKmsKeyId) {
this.homeEfsFileSystemKmsKeyId = homeEfsFileSystemKmsKeyId;
}
/**
*
* Use KmsKeyId
.
*
KmsKeyId
.
*/
@Deprecated
public String getHomeEfsFileSystemKmsKeyId() {
return this.homeEfsFileSystemKmsKeyId;
}
/**
*
* Use KmsKeyId
.
*
KmsKeyId
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
@Deprecated
public DescribeDomainResult withHomeEfsFileSystemKmsKeyId(String homeEfsFileSystemKmsKeyId) {
setHomeEfsFileSystemKmsKeyId(homeEfsFileSystemKmsKeyId);
return this;
}
/**
* * The VPC subnets that Studio uses for communication. *
* * @return The VPC subnets that Studio uses for communication. */ public java.util.List* The VPC subnets that Studio uses for communication. *
* * @param subnetIds * The VPC subnets that Studio uses for communication. */ public void setSubnetIds(java.util.Collection* The VPC subnets that Studio uses for communication. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSubnetIds(java.util.Collection)} or {@link #withSubnetIds(java.util.Collection)} if you want to * override the existing values. *
* * @param subnetIds * The VPC subnets that Studio uses for communication. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withSubnetIds(String... subnetIds) { if (this.subnetIds == null) { setSubnetIds(new java.util.ArrayList* The VPC subnets that Studio uses for communication. *
* * @param subnetIds * The VPC subnets that Studio uses for communication. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withSubnetIds(java.util.Collection* The domain's URL. *
* * @param url * The domain's URL. */ public void setUrl(String url) { this.url = url; } /** ** The domain's URL. *
* * @return The domain's URL. */ public String getUrl() { return this.url; } /** ** The domain's URL. *
* * @param url * The domain's URL. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withUrl(String url) { setUrl(url); return this; } /** ** The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. *
* * @param vpcId * The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. */ public void setVpcId(String vpcId) { this.vpcId = vpcId; } /** ** The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. *
* * @return The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. */ public String getVpcId() { return this.vpcId; } /** ** The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. *
* * @param vpcId * The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withVpcId(String vpcId) { setVpcId(vpcId); return this; } /** ** The Amazon Web Services KMS customer managed key used to encrypt the EFS volume attached to the domain. *
* * @param kmsKeyId * The Amazon Web Services KMS customer managed key used to encrypt the EFS volume attached to the domain. */ public void setKmsKeyId(String kmsKeyId) { this.kmsKeyId = kmsKeyId; } /** ** The Amazon Web Services KMS customer managed key used to encrypt the EFS volume attached to the domain. *
* * @return The Amazon Web Services KMS customer managed key used to encrypt the EFS volume attached to the domain. */ public String getKmsKeyId() { return this.kmsKeyId; } /** ** The Amazon Web Services KMS customer managed key used to encrypt the EFS volume attached to the domain. *
* * @param kmsKeyId * The Amazon Web Services KMS customer managed key used to encrypt the EFS volume attached to the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withKmsKeyId(String kmsKeyId) { setKmsKeyId(kmsKeyId); return this; } /** *
* A collection of Domain
settings.
*
Domain
settings.
*/
public void setDomainSettings(DomainSettings domainSettings) {
this.domainSettings = domainSettings;
}
/**
*
* A collection of Domain
settings.
*
Domain
settings.
*/
public DomainSettings getDomainSettings() {
return this.domainSettings;
}
/**
*
* A collection of Domain
settings.
*
Domain
settings.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeDomainResult withDomainSettings(DomainSettings domainSettings) {
setDomainSettings(domainSettings);
return this;
}
/**
*
* The entity that creates and manages the required security groups for inter-app communication in
* VPCOnly
mode. Required when CreateDomain.AppNetworkAccessType
is VPCOnly
* and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided.
*
VPCOnly
mode. Required when CreateDomain.AppNetworkAccessType
is
* VPCOnly
and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
* is provided.
* @see AppSecurityGroupManagement
*/
public void setAppSecurityGroupManagement(String appSecurityGroupManagement) {
this.appSecurityGroupManagement = appSecurityGroupManagement;
}
/**
*
* The entity that creates and manages the required security groups for inter-app communication in
* VPCOnly
mode. Required when CreateDomain.AppNetworkAccessType
is VPCOnly
* and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided.
*
VPCOnly
mode. Required when CreateDomain.AppNetworkAccessType
is
* VPCOnly
and
* DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided.
* @see AppSecurityGroupManagement
*/
public String getAppSecurityGroupManagement() {
return this.appSecurityGroupManagement;
}
/**
*
* The entity that creates and manages the required security groups for inter-app communication in
* VPCOnly
mode. Required when CreateDomain.AppNetworkAccessType
is VPCOnly
* and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided.
*
VPCOnly
mode. Required when CreateDomain.AppNetworkAccessType
is
* VPCOnly
and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
* is provided.
* @return Returns a reference to this object so that method calls can be chained together.
* @see AppSecurityGroupManagement
*/
public DescribeDomainResult withAppSecurityGroupManagement(String appSecurityGroupManagement) {
setAppSecurityGroupManagement(appSecurityGroupManagement);
return this;
}
/**
*
* The entity that creates and manages the required security groups for inter-app communication in
* VPCOnly
mode. Required when CreateDomain.AppNetworkAccessType
is VPCOnly
* and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
is provided.
*
VPCOnly
mode. Required when CreateDomain.AppNetworkAccessType
is
* VPCOnly
and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn
* is provided.
* @return Returns a reference to this object so that method calls can be chained together.
* @see AppSecurityGroupManagement
*/
public DescribeDomainResult withAppSecurityGroupManagement(AppSecurityGroupManagement appSecurityGroupManagement) {
this.appSecurityGroupManagement = appSecurityGroupManagement.toString();
return this;
}
/**
*
* The ID of the security group that authorizes traffic between the RSessionGateway
apps and the
* RStudioServerPro
app.
*
RSessionGateway
apps and the
* RStudioServerPro
app.
*/
public void setSecurityGroupIdForDomainBoundary(String securityGroupIdForDomainBoundary) {
this.securityGroupIdForDomainBoundary = securityGroupIdForDomainBoundary;
}
/**
*
* The ID of the security group that authorizes traffic between the RSessionGateway
apps and the
* RStudioServerPro
app.
*
RSessionGateway
apps and
* the RStudioServerPro
app.
*/
public String getSecurityGroupIdForDomainBoundary() {
return this.securityGroupIdForDomainBoundary;
}
/**
*
* The ID of the security group that authorizes traffic between the RSessionGateway
apps and the
* RStudioServerPro
app.
*
RSessionGateway
apps and the
* RStudioServerPro
app.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeDomainResult withSecurityGroupIdForDomainBoundary(String securityGroupIdForDomainBoundary) {
setSecurityGroupIdForDomainBoundary(securityGroupIdForDomainBoundary);
return this;
}
/**
* * The default settings used to create a space. *
* * @param defaultSpaceSettings * The default settings used to create a space. */ public void setDefaultSpaceSettings(DefaultSpaceSettings defaultSpaceSettings) { this.defaultSpaceSettings = defaultSpaceSettings; } /** ** The default settings used to create a space. *
* * @return The default settings used to create a space. */ public DefaultSpaceSettings getDefaultSpaceSettings() { return this.defaultSpaceSettings; } /** ** The default settings used to create a space. *
* * @param defaultSpaceSettings * The default settings used to create a space. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withDefaultSpaceSettings(DefaultSpaceSettings defaultSpaceSettings) { setDefaultSpaceSettings(defaultSpaceSettings); 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 (getDomainArn() != null) sb.append("DomainArn: ").append(getDomainArn()).append(","); if (getDomainId() != null) sb.append("DomainId: ").append(getDomainId()).append(","); if (getDomainName() != null) sb.append("DomainName: ").append(getDomainName()).append(","); if (getHomeEfsFileSystemId() != null) sb.append("HomeEfsFileSystemId: ").append(getHomeEfsFileSystemId()).append(","); if (getSingleSignOnManagedApplicationInstanceId() != null) sb.append("SingleSignOnManagedApplicationInstanceId: ").append(getSingleSignOnManagedApplicationInstanceId()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getLastModifiedTime() != null) sb.append("LastModifiedTime: ").append(getLastModifiedTime()).append(","); if (getFailureReason() != null) sb.append("FailureReason: ").append(getFailureReason()).append(","); if (getAuthMode() != null) sb.append("AuthMode: ").append(getAuthMode()).append(","); if (getDefaultUserSettings() != null) sb.append("DefaultUserSettings: ").append(getDefaultUserSettings()).append(","); if (getAppNetworkAccessType() != null) sb.append("AppNetworkAccessType: ").append(getAppNetworkAccessType()).append(","); if (getHomeEfsFileSystemKmsKeyId() != null) sb.append("HomeEfsFileSystemKmsKeyId: ").append(getHomeEfsFileSystemKmsKeyId()).append(","); if (getSubnetIds() != null) sb.append("SubnetIds: ").append(getSubnetIds()).append(","); if (getUrl() != null) sb.append("Url: ").append(getUrl()).append(","); if (getVpcId() != null) sb.append("VpcId: ").append(getVpcId()).append(","); if (getKmsKeyId() != null) sb.append("KmsKeyId: ").append(getKmsKeyId()).append(","); if (getDomainSettings() != null) sb.append("DomainSettings: ").append(getDomainSettings()).append(","); if (getAppSecurityGroupManagement() != null) sb.append("AppSecurityGroupManagement: ").append(getAppSecurityGroupManagement()).append(","); if (getSecurityGroupIdForDomainBoundary() != null) sb.append("SecurityGroupIdForDomainBoundary: ").append(getSecurityGroupIdForDomainBoundary()).append(","); if (getDefaultSpaceSettings() != null) sb.append("DefaultSpaceSettings: ").append(getDefaultSpaceSettings()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeDomainResult == false) return false; DescribeDomainResult other = (DescribeDomainResult) obj; if (other.getDomainArn() == null ^ this.getDomainArn() == null) return false; if (other.getDomainArn() != null && other.getDomainArn().equals(this.getDomainArn()) == false) return false; if (other.getDomainId() == null ^ this.getDomainId() == null) return false; if (other.getDomainId() != null && other.getDomainId().equals(this.getDomainId()) == false) return false; if (other.getDomainName() == null ^ this.getDomainName() == null) return false; if (other.getDomainName() != null && other.getDomainName().equals(this.getDomainName()) == false) return false; if (other.getHomeEfsFileSystemId() == null ^ this.getHomeEfsFileSystemId() == null) return false; if (other.getHomeEfsFileSystemId() != null && other.getHomeEfsFileSystemId().equals(this.getHomeEfsFileSystemId()) == false) return false; if (other.getSingleSignOnManagedApplicationInstanceId() == null ^ this.getSingleSignOnManagedApplicationInstanceId() == null) return false; if (other.getSingleSignOnManagedApplicationInstanceId() != null && other.getSingleSignOnManagedApplicationInstanceId().equals(this.getSingleSignOnManagedApplicationInstanceId()) == 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.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getLastModifiedTime() == null ^ this.getLastModifiedTime() == null) return false; if (other.getLastModifiedTime() != null && other.getLastModifiedTime().equals(this.getLastModifiedTime()) == false) return false; if (other.getFailureReason() == null ^ this.getFailureReason() == null) return false; if (other.getFailureReason() != null && other.getFailureReason().equals(this.getFailureReason()) == false) return false; if (other.getAuthMode() == null ^ this.getAuthMode() == null) return false; if (other.getAuthMode() != null && other.getAuthMode().equals(this.getAuthMode()) == false) return false; if (other.getDefaultUserSettings() == null ^ this.getDefaultUserSettings() == null) return false; if (other.getDefaultUserSettings() != null && other.getDefaultUserSettings().equals(this.getDefaultUserSettings()) == false) return false; if (other.getAppNetworkAccessType() == null ^ this.getAppNetworkAccessType() == null) return false; if (other.getAppNetworkAccessType() != null && other.getAppNetworkAccessType().equals(this.getAppNetworkAccessType()) == false) return false; if (other.getHomeEfsFileSystemKmsKeyId() == null ^ this.getHomeEfsFileSystemKmsKeyId() == null) return false; if (other.getHomeEfsFileSystemKmsKeyId() != null && other.getHomeEfsFileSystemKmsKeyId().equals(this.getHomeEfsFileSystemKmsKeyId()) == false) return false; if (other.getSubnetIds() == null ^ this.getSubnetIds() == null) return false; if (other.getSubnetIds() != null && other.getSubnetIds().equals(this.getSubnetIds()) == false) return false; if (other.getUrl() == null ^ this.getUrl() == null) return false; if (other.getUrl() != null && other.getUrl().equals(this.getUrl()) == false) return false; if (other.getVpcId() == null ^ this.getVpcId() == null) return false; if (other.getVpcId() != null && other.getVpcId().equals(this.getVpcId()) == false) return false; if (other.getKmsKeyId() == null ^ this.getKmsKeyId() == null) return false; if (other.getKmsKeyId() != null && other.getKmsKeyId().equals(this.getKmsKeyId()) == false) return false; if (other.getDomainSettings() == null ^ this.getDomainSettings() == null) return false; if (other.getDomainSettings() != null && other.getDomainSettings().equals(this.getDomainSettings()) == false) return false; if (other.getAppSecurityGroupManagement() == null ^ this.getAppSecurityGroupManagement() == null) return false; if (other.getAppSecurityGroupManagement() != null && other.getAppSecurityGroupManagement().equals(this.getAppSecurityGroupManagement()) == false) return false; if (other.getSecurityGroupIdForDomainBoundary() == null ^ this.getSecurityGroupIdForDomainBoundary() == null) return false; if (other.getSecurityGroupIdForDomainBoundary() != null && other.getSecurityGroupIdForDomainBoundary().equals(this.getSecurityGroupIdForDomainBoundary()) == false) return false; if (other.getDefaultSpaceSettings() == null ^ this.getDefaultSpaceSettings() == null) return false; if (other.getDefaultSpaceSettings() != null && other.getDefaultSpaceSettings().equals(this.getDefaultSpaceSettings()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDomainArn() == null) ? 0 : getDomainArn().hashCode()); hashCode = prime * hashCode + ((getDomainId() == null) ? 0 : getDomainId().hashCode()); hashCode = prime * hashCode + ((getDomainName() == null) ? 0 : getDomainName().hashCode()); hashCode = prime * hashCode + ((getHomeEfsFileSystemId() == null) ? 0 : getHomeEfsFileSystemId().hashCode()); hashCode = prime * hashCode + ((getSingleSignOnManagedApplicationInstanceId() == null) ? 0 : getSingleSignOnManagedApplicationInstanceId().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getLastModifiedTime() == null) ? 0 : getLastModifiedTime().hashCode()); hashCode = prime * hashCode + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode()); hashCode = prime * hashCode + ((getAuthMode() == null) ? 0 : getAuthMode().hashCode()); hashCode = prime * hashCode + ((getDefaultUserSettings() == null) ? 0 : getDefaultUserSettings().hashCode()); hashCode = prime * hashCode + ((getAppNetworkAccessType() == null) ? 0 : getAppNetworkAccessType().hashCode()); hashCode = prime * hashCode + ((getHomeEfsFileSystemKmsKeyId() == null) ? 0 : getHomeEfsFileSystemKmsKeyId().hashCode()); hashCode = prime * hashCode + ((getSubnetIds() == null) ? 0 : getSubnetIds().hashCode()); hashCode = prime * hashCode + ((getUrl() == null) ? 0 : getUrl().hashCode()); hashCode = prime * hashCode + ((getVpcId() == null) ? 0 : getVpcId().hashCode()); hashCode = prime * hashCode + ((getKmsKeyId() == null) ? 0 : getKmsKeyId().hashCode()); hashCode = prime * hashCode + ((getDomainSettings() == null) ? 0 : getDomainSettings().hashCode()); hashCode = prime * hashCode + ((getAppSecurityGroupManagement() == null) ? 0 : getAppSecurityGroupManagement().hashCode()); hashCode = prime * hashCode + ((getSecurityGroupIdForDomainBoundary() == null) ? 0 : getSecurityGroupIdForDomainBoundary().hashCode()); hashCode = prime * hashCode + ((getDefaultSpaceSettings() == null) ? 0 : getDefaultSpaceSettings().hashCode()); return hashCode; } @Override public DescribeDomainResult clone() { try { return (DescribeDomainResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }