@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStudioRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateStudioRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStudioRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAuthMode()
Specifies whether the Studio authenticates users using single sign-on (SSO) or IAM.
|
String |
getDefaultS3Location()
The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
|
String |
getDescription()
A detailed description of the Amazon EMR Studio.
|
String |
getEngineSecurityGroupId()
The ID of the Amazon EMR Studio Engine security group.
|
String |
getName()
A descriptive name for the Amazon EMR Studio.
|
String |
getServiceRole()
The IAM role that will be assumed by the Amazon EMR Studio.
|
List<String> |
getSubnetIds()
A list of subnet IDs to associate with the Amazon EMR Studio.
|
List<Tag> |
getTags()
A list of tags to associate with the Amazon EMR Studio.
|
String |
getUserRole()
The IAM user role that will be assumed by users and groups logged in to an Amazon EMR Studio.
|
String |
getVpcId()
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
|
String |
getWorkspaceSecurityGroupId()
The ID of the Amazon EMR Studio Workspace security group.
|
int |
hashCode() |
void |
setAuthMode(String authMode)
Specifies whether the Studio authenticates users using single sign-on (SSO) or IAM.
|
void |
setDefaultS3Location(String defaultS3Location)
The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
|
void |
setDescription(String description)
A detailed description of the Amazon EMR Studio.
|
void |
setEngineSecurityGroupId(String engineSecurityGroupId)
The ID of the Amazon EMR Studio Engine security group.
|
void |
setName(String name)
A descriptive name for the Amazon EMR Studio.
|
void |
setServiceRole(String serviceRole)
The IAM role that will be assumed by the Amazon EMR Studio.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs to associate with the Amazon EMR Studio.
|
void |
setTags(Collection<Tag> tags)
A list of tags to associate with the Amazon EMR Studio.
|
void |
setUserRole(String userRole)
The IAM user role that will be assumed by users and groups logged in to an Amazon EMR Studio.
|
void |
setVpcId(String vpcId)
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
|
void |
setWorkspaceSecurityGroupId(String workspaceSecurityGroupId)
The ID of the Amazon EMR Studio Workspace security group.
|
String |
toString()
Returns a string representation of this object.
|
CreateStudioRequest |
withAuthMode(AuthMode authMode)
Specifies whether the Studio authenticates users using single sign-on (SSO) or IAM.
|
CreateStudioRequest |
withAuthMode(String authMode)
Specifies whether the Studio authenticates users using single sign-on (SSO) or IAM.
|
CreateStudioRequest |
withDefaultS3Location(String defaultS3Location)
The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
|
CreateStudioRequest |
withDescription(String description)
A detailed description of the Amazon EMR Studio.
|
CreateStudioRequest |
withEngineSecurityGroupId(String engineSecurityGroupId)
The ID of the Amazon EMR Studio Engine security group.
|
CreateStudioRequest |
withName(String name)
A descriptive name for the Amazon EMR Studio.
|
CreateStudioRequest |
withServiceRole(String serviceRole)
The IAM role that will be assumed by the Amazon EMR Studio.
|
CreateStudioRequest |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs to associate with the Amazon EMR Studio.
|
CreateStudioRequest |
withSubnetIds(String... subnetIds)
A list of subnet IDs to associate with the Amazon EMR Studio.
|
CreateStudioRequest |
withTags(Collection<Tag> tags)
A list of tags to associate with the Amazon EMR Studio.
|
CreateStudioRequest |
withTags(Tag... tags)
A list of tags to associate with the Amazon EMR Studio.
|
CreateStudioRequest |
withUserRole(String userRole)
The IAM user role that will be assumed by users and groups logged in to an Amazon EMR Studio.
|
CreateStudioRequest |
withVpcId(String vpcId)
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
|
CreateStudioRequest |
withWorkspaceSecurityGroupId(String workspaceSecurityGroupId)
The ID of the Amazon EMR Studio Workspace security group.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
A descriptive name for the Amazon EMR Studio.
name
- A descriptive name for the Amazon EMR Studio.public String getName()
A descriptive name for the Amazon EMR Studio.
public CreateStudioRequest withName(String name)
A descriptive name for the Amazon EMR Studio.
name
- A descriptive name for the Amazon EMR Studio.public void setDescription(String description)
A detailed description of the Amazon EMR Studio.
description
- A detailed description of the Amazon EMR Studio.public String getDescription()
A detailed description of the Amazon EMR Studio.
public CreateStudioRequest withDescription(String description)
A detailed description of the Amazon EMR Studio.
description
- A detailed description of the Amazon EMR Studio.public void setAuthMode(String authMode)
Specifies whether the Studio authenticates users using single sign-on (SSO) or IAM. Amazon EMR Studio currently only supports SSO authentication.
authMode
- Specifies whether the Studio authenticates users using single sign-on (SSO) or IAM. Amazon EMR Studio
currently only supports SSO authentication.AuthMode
public String getAuthMode()
Specifies whether the Studio authenticates users using single sign-on (SSO) or IAM. Amazon EMR Studio currently only supports SSO authentication.
AuthMode
public CreateStudioRequest withAuthMode(String authMode)
Specifies whether the Studio authenticates users using single sign-on (SSO) or IAM. Amazon EMR Studio currently only supports SSO authentication.
authMode
- Specifies whether the Studio authenticates users using single sign-on (SSO) or IAM. Amazon EMR Studio
currently only supports SSO authentication.AuthMode
public CreateStudioRequest withAuthMode(AuthMode authMode)
Specifies whether the Studio authenticates users using single sign-on (SSO) or IAM. Amazon EMR Studio currently only supports SSO authentication.
authMode
- Specifies whether the Studio authenticates users using single sign-on (SSO) or IAM. Amazon EMR Studio
currently only supports SSO authentication.AuthMode
public void setVpcId(String vpcId)
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
vpcId
- The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.public String getVpcId()
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
public CreateStudioRequest withVpcId(String vpcId)
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
vpcId
- The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.public List<String> getSubnetIds()
A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The
subnets must belong to the VPC specified by VpcId
. Studio users can create a Workspace in any of the
specified subnets.
VpcId
. Studio users can create a Workspace
in any of the specified subnets.public void setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The
subnets must belong to the VPC specified by VpcId
. Studio users can create a Workspace in any of the
specified subnets.
subnetIds
- A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets.
The subnets must belong to the VPC specified by VpcId
. Studio users can create a Workspace in
any of the specified subnets.public CreateStudioRequest withSubnetIds(String... subnetIds)
A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The
subnets must belong to the VPC specified by VpcId
. Studio users can create a Workspace in any of the
specified subnets.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets.
The subnets must belong to the VPC specified by VpcId
. Studio users can create a Workspace in
any of the specified subnets.public CreateStudioRequest withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The
subnets must belong to the VPC specified by VpcId
. Studio users can create a Workspace in any of the
specified subnets.
subnetIds
- A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets.
The subnets must belong to the VPC specified by VpcId
. Studio users can create a Workspace in
any of the specified subnets.public void setServiceRole(String serviceRole)
The IAM role that will be assumed by the Amazon EMR Studio. The service role provides a way for Amazon EMR Studio to interoperate with other AWS services.
serviceRole
- The IAM role that will be assumed by the Amazon EMR Studio. The service role provides a way for Amazon EMR
Studio to interoperate with other AWS services.public String getServiceRole()
The IAM role that will be assumed by the Amazon EMR Studio. The service role provides a way for Amazon EMR Studio to interoperate with other AWS services.
public CreateStudioRequest withServiceRole(String serviceRole)
The IAM role that will be assumed by the Amazon EMR Studio. The service role provides a way for Amazon EMR Studio to interoperate with other AWS services.
serviceRole
- The IAM role that will be assumed by the Amazon EMR Studio. The service role provides a way for Amazon EMR
Studio to interoperate with other AWS services.public void setUserRole(String userRole)
The IAM user role that will be assumed by users and groups logged in to an Amazon EMR Studio. The permissions attached to this IAM role can be scoped down for each user or group using session policies.
userRole
- The IAM user role that will be assumed by users and groups logged in to an Amazon EMR Studio. The
permissions attached to this IAM role can be scoped down for each user or group using session policies.public String getUserRole()
The IAM user role that will be assumed by users and groups logged in to an Amazon EMR Studio. The permissions attached to this IAM role can be scoped down for each user or group using session policies.
public CreateStudioRequest withUserRole(String userRole)
The IAM user role that will be assumed by users and groups logged in to an Amazon EMR Studio. The permissions attached to this IAM role can be scoped down for each user or group using session policies.
userRole
- The IAM user role that will be assumed by users and groups logged in to an Amazon EMR Studio. The
permissions attached to this IAM role can be scoped down for each user or group using session policies.public void setWorkspaceSecurityGroupId(String workspaceSecurityGroupId)
The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound network
traffic to resources in the Engine security group, and it must be in the same VPC specified by VpcId
.
workspaceSecurityGroupId
- The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound
network traffic to resources in the Engine security group, and it must be in the same VPC specified by
VpcId
.public String getWorkspaceSecurityGroupId()
The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound network
traffic to resources in the Engine security group, and it must be in the same VPC specified by VpcId
.
VpcId
.public CreateStudioRequest withWorkspaceSecurityGroupId(String workspaceSecurityGroupId)
The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound network
traffic to resources in the Engine security group, and it must be in the same VPC specified by VpcId
.
workspaceSecurityGroupId
- The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound
network traffic to resources in the Engine security group, and it must be in the same VPC specified by
VpcId
.public void setEngineSecurityGroupId(String engineSecurityGroupId)
The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic
from the Workspace security group, and it must be in the same VPC specified by VpcId
.
engineSecurityGroupId
- The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network
traffic from the Workspace security group, and it must be in the same VPC specified by VpcId
.public String getEngineSecurityGroupId()
The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic
from the Workspace security group, and it must be in the same VPC specified by VpcId
.
VpcId
.public CreateStudioRequest withEngineSecurityGroupId(String engineSecurityGroupId)
The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic
from the Workspace security group, and it must be in the same VPC specified by VpcId
.
engineSecurityGroupId
- The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network
traffic from the Workspace security group, and it must be in the same VPC specified by VpcId
.public void setDefaultS3Location(String defaultS3Location)
The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
defaultS3Location
- The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.public String getDefaultS3Location()
The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
public CreateStudioRequest withDefaultS3Location(String defaultS3Location)
The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
defaultS3Location
- The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.public List<Tag> getTags()
A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
public void setTags(Collection<Tag> tags)
A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
tags
- A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist
of a required key string with a maximum of 128 characters, and an optional value string with a maximum of
256 characters.public CreateStudioRequest withTags(Tag... tags)
A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist
of a required key string with a maximum of 128 characters, and an optional value string with a maximum of
256 characters.public CreateStudioRequest withTags(Collection<Tag> tags)
A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
tags
- A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist
of a required key string with a maximum of 128 characters, and an optional value string with a maximum of
256 characters.public String toString()
toString
in class Object
Object.toString()
public CreateStudioRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.