/* * 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 implements Serializable, Cloneable { /** *

* The domain's Amazon Resource Name (ARN). *

*/ private String domainArn; /** *

* The domain ID. *

*/ private String domainId; /** *

* The domain name. *

*/ private String domainName; /** *

* The ID of the Amazon Elastic File System (EFS) managed by this Domain. *

*/ private String homeEfsFileSystemId; /** *

* The IAM Identity Center managed application instance ID. *

*/ private String singleSignOnManagedApplicationInstanceId; /** *

* The status. *

*/ private String status; /** *

* The creation time. *

*/ private java.util.Date creationTime; /** *

* The last modified time. *

*/ private java.util.Date lastModifiedTime; /** *

* The failure reason. *

*/ private String failureReason; /** *

* The domain's authentication mode. *

*/ private String authMode; /** *

* Settings which are applied to UserProfiles in this domain if settings are not explicitly specified in a given * UserProfile. *

*/ private UserSettings defaultUserSettings; /** *

* Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly. *

* */ private String appNetworkAccessType; /** *

* Use KmsKeyId. *

*/ @Deprecated private String homeEfsFileSystemKmsKeyId; /** *

* The VPC subnets that Studio uses for communication. *

*/ private java.util.List subnetIds; /** *

* The domain's URL. *

*/ private String url; /** *

* The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. *

*/ private String vpcId; /** *

* The Amazon Web Services KMS customer managed key used to encrypt the EFS volume attached to the domain. *

*/ private String kmsKeyId; /** *

* A collection of Domain settings. *

*/ private DomainSettings domainSettings; /** *

* 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. *

*/ private String appSecurityGroupManagement; /** *

* The ID of the security group that authorizes traffic between the RSessionGateway apps and the * RStudioServerPro app. *

*/ private String securityGroupIdForDomainBoundary; /** *

* The default settings used to create a space. *

*/ private DefaultSpaceSettings defaultSpaceSettings; /** *

* The domain's Amazon Resource Name (ARN). *

* * @param domainArn * The domain's Amazon Resource Name (ARN). */ public void setDomainArn(String domainArn) { this.domainArn = domainArn; } /** *

* The domain's Amazon Resource Name (ARN). *

* * @return The domain's Amazon Resource Name (ARN). */ public String getDomainArn() { return this.domainArn; } /** *

* The domain's Amazon Resource Name (ARN). *

* * @param domainArn * The domain's Amazon Resource Name (ARN). * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withDomainArn(String domainArn) { setDomainArn(domainArn); return this; } /** *

* The domain ID. *

* * @param domainId * The domain ID. */ public void setDomainId(String domainId) { this.domainId = domainId; } /** *

* The domain ID. *

* * @return The domain ID. */ public String getDomainId() { return this.domainId; } /** *

* The domain ID. *

* * @param domainId * The domain ID. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withDomainId(String domainId) { setDomainId(domainId); return this; } /** *

* The domain name. *

* * @param domainName * The domain name. */ public void setDomainName(String domainName) { this.domainName = domainName; } /** *

* The domain name. *

* * @return The domain name. */ public String getDomainName() { return this.domainName; } /** *

* The domain name. *

* * @param domainName * The domain name. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withDomainName(String domainName) { setDomainName(domainName); return this; } /** *

* The ID of the Amazon Elastic File System (EFS) managed by this Domain. *

* * @param homeEfsFileSystemId * The ID of the Amazon Elastic File System (EFS) managed by this Domain. */ public void setHomeEfsFileSystemId(String homeEfsFileSystemId) { this.homeEfsFileSystemId = homeEfsFileSystemId; } /** *

* The ID of the Amazon Elastic File System (EFS) managed by this Domain. *

* * @return The ID of the Amazon Elastic File System (EFS) managed by this Domain. */ public String getHomeEfsFileSystemId() { return this.homeEfsFileSystemId; } /** *

* The ID of the Amazon Elastic File System (EFS) managed by this Domain. *

* * @param homeEfsFileSystemId * The ID of the Amazon Elastic File System (EFS) managed by this Domain. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withHomeEfsFileSystemId(String homeEfsFileSystemId) { setHomeEfsFileSystemId(homeEfsFileSystemId); return this; } /** *

* The IAM Identity Center managed application instance ID. *

* * @param singleSignOnManagedApplicationInstanceId * The IAM Identity Center managed application instance ID. */ public void setSingleSignOnManagedApplicationInstanceId(String singleSignOnManagedApplicationInstanceId) { this.singleSignOnManagedApplicationInstanceId = singleSignOnManagedApplicationInstanceId; } /** *

* The IAM Identity Center managed application instance ID. *

* * @return The IAM Identity Center managed application instance ID. */ public String getSingleSignOnManagedApplicationInstanceId() { return this.singleSignOnManagedApplicationInstanceId; } /** *

* The IAM Identity Center managed application instance ID. *

* * @param singleSignOnManagedApplicationInstanceId * The IAM Identity Center managed application instance ID. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withSingleSignOnManagedApplicationInstanceId(String singleSignOnManagedApplicationInstanceId) { setSingleSignOnManagedApplicationInstanceId(singleSignOnManagedApplicationInstanceId); return this; } /** *

* The status. *

* * @param status * The status. * @see DomainStatus */ public void setStatus(String status) { this.status = status; } /** *

* The status. *

* * @return The status. * @see DomainStatus */ public String getStatus() { return this.status; } /** *

* The status. *

* * @param status * The status. * @return Returns a reference to this object so that method calls can be chained together. * @see DomainStatus */ public DescribeDomainResult withStatus(String status) { setStatus(status); return this; } /** *

* The status. *

* * @param status * The status. * @return Returns a reference to this object so that method calls can be chained together. * @see DomainStatus */ public DescribeDomainResult withStatus(DomainStatus status) { this.status = status.toString(); return this; } /** *

* The creation time. *

* * @param creationTime * The creation time. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** *

* The creation time. *

* * @return The creation time. */ public java.util.Date getCreationTime() { return this.creationTime; } /** *

* The creation time. *

* * @param creationTime * The creation time. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** *

* The last modified time. *

* * @param lastModifiedTime * The last modified time. */ public void setLastModifiedTime(java.util.Date lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } /** *

* The last modified time. *

* * @return The last modified time. */ public java.util.Date getLastModifiedTime() { return this.lastModifiedTime; } /** *

* The last modified time. *

* * @param lastModifiedTime * The last modified time. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** *

* The failure reason. *

* * @param failureReason * The failure reason. */ public void setFailureReason(String failureReason) { this.failureReason = failureReason; } /** *

* The failure reason. *

* * @return The failure reason. */ public String getFailureReason() { return this.failureReason; } /** *

* The failure reason. *

* * @param failureReason * The failure reason. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withFailureReason(String failureReason) { setFailureReason(failureReason); return this; } /** *

* The domain's authentication mode. *

* * @param authMode * The domain's authentication mode. * @see AuthMode */ public void setAuthMode(String authMode) { this.authMode = authMode; } /** *

* The domain's authentication mode. *

* * @return The domain's authentication mode. * @see AuthMode */ public String getAuthMode() { return this.authMode; } /** *

* The domain's authentication mode. *

* * @param authMode * The domain's authentication mode. * @return Returns a reference to this object so that method calls can be chained together. * @see AuthMode */ public DescribeDomainResult withAuthMode(String authMode) { setAuthMode(authMode); return this; } /** *

* The domain's authentication mode. *

* * @param authMode * The domain's authentication mode. * @return Returns a reference to this object so that method calls can be chained together. * @see AuthMode */ public DescribeDomainResult withAuthMode(AuthMode authMode) { this.authMode = authMode.toString(); return this; } /** *

* Settings which are applied to UserProfiles in this domain if settings are not explicitly specified in a given * UserProfile. *

* * @param defaultUserSettings * Settings which are applied to UserProfiles in this domain if settings are not explicitly specified in a * given UserProfile. */ public void setDefaultUserSettings(UserSettings defaultUserSettings) { this.defaultUserSettings = defaultUserSettings; } /** *

* Settings which are applied to UserProfiles in this domain if settings are not explicitly specified in a given * UserProfile. *

* * @return Settings which are applied to UserProfiles in this domain if settings are not explicitly specified in a * given UserProfile. */ public UserSettings getDefaultUserSettings() { return this.defaultUserSettings; } /** *

* Settings which are applied to UserProfiles in this domain if settings are not explicitly specified in a given * UserProfile. *

* * @param defaultUserSettings * Settings which are applied to UserProfiles in this domain if settings are not explicitly specified in a * given UserProfile. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDomainResult withDefaultUserSettings(UserSettings defaultUserSettings) { setDefaultUserSettings(defaultUserSettings); return this; } /** *

* Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly. *

* * * @param appNetworkAccessType * Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly.

*