@Generated(value="software.amazon.awssdk:codegen") public final class CreateAppRequest extends SageMakerRequest implements ToCopyableBuilder<CreateAppRequest.Builder,CreateAppRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateAppRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
appName()
The name of the app.
|
AppType |
appType()
The type of app.
|
String |
appTypeAsString()
The type of app.
|
static CreateAppRequest.Builder |
builder() |
String |
domainId()
The domain ID.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
ResourceSpec |
resourceSpec()
The instance type and quantity.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateAppRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Each tag consists of a key and an optional value.
|
CreateAppRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userProfileName()
The user profile name.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String domainId()
The domain ID.
public String userProfileName()
The user profile name.
public AppType appType()
The type of app.
If the service returns an enum value that is not available in the current SDK version, appType
will
return AppType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
appTypeAsString()
.
AppType
public String appTypeAsString()
The type of app.
If the service returns an enum value that is not available in the current SDK version, appType
will
return AppType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
appTypeAsString()
.
AppType
public String appName()
The name of the app.
public boolean hasTags()
public List<Tag> tags()
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags()
to see if a value was sent in this field.
public ResourceSpec resourceSpec()
The instance type and quantity.
public CreateAppRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateAppRequest.Builder,CreateAppRequest>
toBuilder
in class SageMakerRequest
public static CreateAppRequest.Builder builder()
public static Class<? extends CreateAppRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.