@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAppRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAppRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAppRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppName()
The name of the app.
|
String |
getAppType()
The type of app.
|
String |
getDomainId()
The domain ID.
|
ResourceSpec |
getResourceSpec()
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
|
String |
getSpaceName()
The name of the space.
|
List<Tag> |
getTags()
Each tag consists of a key and an optional value.
|
String |
getUserProfileName()
The user profile name.
|
int |
hashCode() |
void |
setAppName(String appName)
The name of the app.
|
void |
setAppType(String appType)
The type of app.
|
void |
setDomainId(String domainId)
The domain ID.
|
void |
setResourceSpec(ResourceSpec resourceSpec)
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
|
void |
setSpaceName(String spaceName)
The name of the space.
|
void |
setTags(Collection<Tag> tags)
Each tag consists of a key and an optional value.
|
void |
setUserProfileName(String userProfileName)
The user profile name.
|
String |
toString()
Returns a string representation of this object.
|
CreateAppRequest |
withAppName(String appName)
The name of the app.
|
CreateAppRequest |
withAppType(AppType appType)
The type of app.
|
CreateAppRequest |
withAppType(String appType)
The type of app.
|
CreateAppRequest |
withDomainId(String domainId)
The domain ID.
|
CreateAppRequest |
withResourceSpec(ResourceSpec resourceSpec)
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
|
CreateAppRequest |
withSpaceName(String spaceName)
The name of the space.
|
CreateAppRequest |
withTags(Collection<Tag> tags)
Each tag consists of a key and an optional value.
|
CreateAppRequest |
withTags(Tag... tags)
Each tag consists of a key and an optional value.
|
CreateAppRequest |
withUserProfileName(String userProfileName)
The user profile name.
|
addHandlerContext, 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 setDomainId(String domainId)
The domain ID.
domainId
- The domain ID.public String getDomainId()
The domain ID.
public CreateAppRequest withDomainId(String domainId)
The domain ID.
domainId
- The domain ID.public void setUserProfileName(String userProfileName)
The user profile name. If this value is not set, then SpaceName
must be set.
userProfileName
- The user profile name. If this value is not set, then SpaceName
must be set.public String getUserProfileName()
The user profile name. If this value is not set, then SpaceName
must be set.
SpaceName
must be set.public CreateAppRequest withUserProfileName(String userProfileName)
The user profile name. If this value is not set, then SpaceName
must be set.
userProfileName
- The user profile name. If this value is not set, then SpaceName
must be set.public void setSpaceName(String spaceName)
The name of the space. If this value is not set, then UserProfileName
must be set.
spaceName
- The name of the space. If this value is not set, then UserProfileName
must be set.public String getSpaceName()
The name of the space. If this value is not set, then UserProfileName
must be set.
UserProfileName
must be set.public CreateAppRequest withSpaceName(String spaceName)
The name of the space. If this value is not set, then UserProfileName
must be set.
spaceName
- The name of the space. If this value is not set, then UserProfileName
must be set.public void setAppType(String appType)
The type of app.
appType
- The type of app.AppType
public CreateAppRequest withAppType(String appType)
The type of app.
appType
- The type of app.AppType
public CreateAppRequest withAppType(AppType appType)
The type of app.
appType
- The type of app.AppType
public void setAppName(String appName)
The name of the app.
appName
- The name of the app.public String getAppName()
The name of the app.
public CreateAppRequest withAppName(String appName)
The name of the app.
appName
- The name of the app.public List<Tag> getTags()
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
public void setTags(Collection<Tag> tags)
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
tags
- Each tag consists of a key and an optional value. Tag keys must be unique per resource.public CreateAppRequest withTags(Tag... tags)
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
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
- Each tag consists of a key and an optional value. Tag keys must be unique per resource.public CreateAppRequest withTags(Collection<Tag> tags)
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
tags
- Each tag consists of a key and an optional value. Tag keys must be unique per resource.public void setResourceSpec(ResourceSpec resourceSpec)
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
The value of InstanceType
passed as part of the ResourceSpec
in the
CreateApp
call overrides the value passed as part of the ResourceSpec
configured for
the user profile or the domain. If InstanceType
is not specified in any of those three
ResourceSpec
values for a KernelGateway
app, the CreateApp
call fails with
a request validation error.
resourceSpec
- The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
The value of InstanceType
passed as part of the ResourceSpec
in the
CreateApp
call overrides the value passed as part of the ResourceSpec
configured
for the user profile or the domain. If InstanceType
is not specified in any of those three
ResourceSpec
values for a KernelGateway
app, the CreateApp
call
fails with a request validation error.
public ResourceSpec getResourceSpec()
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
The value of InstanceType
passed as part of the ResourceSpec
in the
CreateApp
call overrides the value passed as part of the ResourceSpec
configured for
the user profile or the domain. If InstanceType
is not specified in any of those three
ResourceSpec
values for a KernelGateway
app, the CreateApp
call fails with
a request validation error.
The value of InstanceType
passed as part of the ResourceSpec
in the
CreateApp
call overrides the value passed as part of the ResourceSpec
configured for the user profile or the domain. If InstanceType
is not specified in any of
those three ResourceSpec
values for a KernelGateway
app, the
CreateApp
call fails with a request validation error.
public CreateAppRequest withResourceSpec(ResourceSpec resourceSpec)
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
The value of InstanceType
passed as part of the ResourceSpec
in the
CreateApp
call overrides the value passed as part of the ResourceSpec
configured for
the user profile or the domain. If InstanceType
is not specified in any of those three
ResourceSpec
values for a KernelGateway
app, the CreateApp
call fails with
a request validation error.
resourceSpec
- The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
The value of InstanceType
passed as part of the ResourceSpec
in the
CreateApp
call overrides the value passed as part of the ResourceSpec
configured
for the user profile or the domain. If InstanceType
is not specified in any of those three
ResourceSpec
values for a KernelGateway
app, the CreateApp
call
fails with a request validation error.
public String toString()
toString
in class Object
Object.toString()
public CreateAppRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()