Class DescribeAppResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.sagemaker.model.SageMakerResponse
-
- software.amazon.awssdk.services.sagemaker.model.DescribeAppResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeAppResponse.Builder,DescribeAppResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeAppResponse extends SageMakerResponse implements ToCopyableBuilder<DescribeAppResponse.Builder,DescribeAppResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeAppResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringappArn()The Amazon Resource Name (ARN) of the app.StringappName()The name of the app.AppTypeappType()The type of app.StringappTypeAsString()The type of app.static DescribeAppResponse.Builderbuilder()InstantcreationTime()The creation time.StringdomainId()The domain ID.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureReason()The failure reason.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastHealthCheckTimestamp()The timestamp of the last health check.InstantlastUserActivityTimestamp()The timestamp of the last user's activity.ResourceSpecresourceSpec()The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.List<SdkField<?>>sdkFields()static Class<? extends DescribeAppResponse.Builder>serializableBuilderClass()StringspaceName()The name of the space.AppStatusstatus()The status.StringstatusAsString()The status.DescribeAppResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserProfileName()The user profile name.-
Methods inherited from class software.amazon.awssdk.services.sagemaker.model.SageMakerResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
appArn
public final String appArn()
The Amazon Resource Name (ARN) of the app.
- Returns:
- The Amazon Resource Name (ARN) of the app.
-
appType
public final AppType appType()
The type of app.
If the service returns an enum value that is not available in the current SDK version,
appTypewill returnAppType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromappTypeAsString().- Returns:
- The type of app.
- See Also:
AppType
-
appTypeAsString
public final String appTypeAsString()
The type of app.
If the service returns an enum value that is not available in the current SDK version,
appTypewill returnAppType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromappTypeAsString().- Returns:
- The type of app.
- See Also:
AppType
-
appName
public final String appName()
The name of the app.
- Returns:
- The name of the app.
-
domainId
public final String domainId()
The domain ID.
- Returns:
- The domain ID.
-
userProfileName
public final String userProfileName()
The user profile name.
- Returns:
- The user profile name.
-
status
public final AppStatus status()
The status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAppStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status.
- See Also:
AppStatus
-
statusAsString
public final String statusAsString()
The status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAppStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status.
- See Also:
AppStatus
-
lastHealthCheckTimestamp
public final Instant lastHealthCheckTimestamp()
The timestamp of the last health check.
- Returns:
- The timestamp of the last health check.
-
lastUserActivityTimestamp
public final Instant lastUserActivityTimestamp()
The timestamp of the last user's activity.
LastUserActivityTimestampis also updated when SageMaker performs health checks without user activity. As a result, this value is set to the same value asLastHealthCheckTimestamp.- Returns:
- The timestamp of the last user's activity.
LastUserActivityTimestampis also updated when SageMaker performs health checks without user activity. As a result, this value is set to the same value asLastHealthCheckTimestamp.
-
creationTime
public final Instant creationTime()
The creation time.
- Returns:
- The creation time.
-
failureReason
public final String failureReason()
The failure reason.
- Returns:
- The failure reason.
-
resourceSpec
public final ResourceSpec resourceSpec()
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
- Returns:
- The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
-
spaceName
public final String spaceName()
The name of the space. If this value is not set, then
UserProfileNamemust be set.- Returns:
- The name of the space. If this value is not set, then
UserProfileNamemust be set.
-
toBuilder
public DescribeAppResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeAppResponse.Builder,DescribeAppResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeAppResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeAppResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-