/* * 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; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A collection of Domain
configuration settings to update.
*
* A collection of RStudioServerPro
Domain-level app settings to update. A single
* RStudioServerPro
application is created for a domain.
*
* The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key. This configuration can only be modified if there are no apps in the
* InService
or Pending
state.
*
* The security groups for the Amazon Virtual Private Cloud that the Domain
uses for communication
* between Domain-level apps and user apps.
*
* A collection of RStudioServerPro
Domain-level app settings to update. A single
* RStudioServerPro
application is created for a domain.
*
RStudioServerPro
Domain-level app settings to update. A single
* RStudioServerPro
application is created for a domain.
*/
public void setRStudioServerProDomainSettingsForUpdate(RStudioServerProDomainSettingsForUpdate rStudioServerProDomainSettingsForUpdate) {
this.rStudioServerProDomainSettingsForUpdate = rStudioServerProDomainSettingsForUpdate;
}
/**
*
* A collection of RStudioServerPro
Domain-level app settings to update. A single
* RStudioServerPro
application is created for a domain.
*
RStudioServerPro
Domain-level app settings to update. A single
* RStudioServerPro
application is created for a domain.
*/
public RStudioServerProDomainSettingsForUpdate getRStudioServerProDomainSettingsForUpdate() {
return this.rStudioServerProDomainSettingsForUpdate;
}
/**
*
* A collection of RStudioServerPro
Domain-level app settings to update. A single
* RStudioServerPro
application is created for a domain.
*
RStudioServerPro
Domain-level app settings to update. A single
* RStudioServerPro
application is created for a domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DomainSettingsForUpdate withRStudioServerProDomainSettingsForUpdate(RStudioServerProDomainSettingsForUpdate rStudioServerProDomainSettingsForUpdate) {
setRStudioServerProDomainSettingsForUpdate(rStudioServerProDomainSettingsForUpdate);
return this;
}
/**
*
* The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key. This configuration can only be modified if there are no apps in the
* InService
or Pending
state.
*
InService
or Pending
state.
* @see ExecutionRoleIdentityConfig
*/
public void setExecutionRoleIdentityConfig(String executionRoleIdentityConfig) {
this.executionRoleIdentityConfig = executionRoleIdentityConfig;
}
/**
*
* The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key. This configuration can only be modified if there are no apps in the
* InService
or Pending
state.
*
InService
or Pending
state.
* @see ExecutionRoleIdentityConfig
*/
public String getExecutionRoleIdentityConfig() {
return this.executionRoleIdentityConfig;
}
/**
*
* The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key. This configuration can only be modified if there are no apps in the
* InService
or Pending
state.
*
InService
or Pending
state.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ExecutionRoleIdentityConfig
*/
public DomainSettingsForUpdate withExecutionRoleIdentityConfig(String executionRoleIdentityConfig) {
setExecutionRoleIdentityConfig(executionRoleIdentityConfig);
return this;
}
/**
*
* The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key. This configuration can only be modified if there are no apps in the
* InService
or Pending
state.
*
InService
or Pending
state.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ExecutionRoleIdentityConfig
*/
public DomainSettingsForUpdate withExecutionRoleIdentityConfig(ExecutionRoleIdentityConfig executionRoleIdentityConfig) {
this.executionRoleIdentityConfig = executionRoleIdentityConfig.toString();
return this;
}
/**
*
* The security groups for the Amazon Virtual Private Cloud that the Domain
uses for communication
* between Domain-level apps and user apps.
*
Domain
uses for
* communication between Domain-level apps and user apps.
*/
public java.util.List
* The security groups for the Amazon Virtual Private Cloud that the Domain
uses for communication
* between Domain-level apps and user apps.
*
Domain
uses for
* communication between Domain-level apps and user apps.
*/
public void setSecurityGroupIds(java.util.Collection
* The security groups for the Amazon Virtual Private Cloud that the Domain
uses for communication
* between Domain-level apps and user apps.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setSecurityGroupIds(java.util.Collection)} or {@link #withSecurityGroupIds(java.util.Collection)} if you * want to override the existing values. *
* * @param securityGroupIds * The security groups for the Amazon Virtual Private Cloud that theDomain
uses for
* communication between Domain-level apps and user apps.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DomainSettingsForUpdate withSecurityGroupIds(String... securityGroupIds) {
if (this.securityGroupIds == null) {
setSecurityGroupIds(new java.util.ArrayList
* The security groups for the Amazon Virtual Private Cloud that the Domain
uses for communication
* between Domain-level apps and user apps.
*
Domain
uses for
* communication between Domain-level apps and user apps.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DomainSettingsForUpdate withSecurityGroupIds(java.util.Collection