Class DescribeClusterSchedulerConfigResponse
- 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.DescribeClusterSchedulerConfigResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeClusterSchedulerConfigResponse.Builder,DescribeClusterSchedulerConfigResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeClusterSchedulerConfigResponse extends SageMakerResponse implements ToCopyableBuilder<DescribeClusterSchedulerConfigResponse.Builder,DescribeClusterSchedulerConfigResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeClusterSchedulerConfigResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeClusterSchedulerConfigResponse.Builderbuilder()StringclusterArn()ARN of the cluster where the cluster policy is applied.StringclusterSchedulerConfigArn()ARN of the cluster policy.StringclusterSchedulerConfigId()ID of the cluster policy.IntegerclusterSchedulerConfigVersion()Version of the cluster policy.UserContextcreatedBy()Returns the value of the CreatedBy property for this object.InstantcreationTime()Creation time of the cluster policy.Stringdescription()Description of the cluster policy.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureReason()Failure reason of the cluster policy.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()UserContextlastModifiedBy()Returns the value of the LastModifiedBy property for this object.InstantlastModifiedTime()Last modified time of the cluster policy.Stringname()Name of the cluster policy.SchedulerConfigschedulerConfig()Cluster policy configuration.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DescribeClusterSchedulerConfigResponse.Builder>serializableBuilderClass()SchedulerResourceStatusstatus()Status of the cluster policy.StringstatusAsString()Status of the cluster policy.DescribeClusterSchedulerConfigResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
clusterSchedulerConfigArn
public final String clusterSchedulerConfigArn()
ARN of the cluster policy.
- Returns:
- ARN of the cluster policy.
-
clusterSchedulerConfigId
public final String clusterSchedulerConfigId()
ID of the cluster policy.
- Returns:
- ID of the cluster policy.
-
name
public final String name()
Name of the cluster policy.
- Returns:
- Name of the cluster policy.
-
clusterSchedulerConfigVersion
public final Integer clusterSchedulerConfigVersion()
Version of the cluster policy.
- Returns:
- Version of the cluster policy.
-
status
public final SchedulerResourceStatus status()
Status of the cluster policy.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSchedulerResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the cluster policy.
- See Also:
SchedulerResourceStatus
-
statusAsString
public final String statusAsString()
Status of the cluster policy.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSchedulerResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the cluster policy.
- See Also:
SchedulerResourceStatus
-
failureReason
public final String failureReason()
Failure reason of the cluster policy.
- Returns:
- Failure reason of the cluster policy.
-
clusterArn
public final String clusterArn()
ARN of the cluster where the cluster policy is applied.
- Returns:
- ARN of the cluster where the cluster policy is applied.
-
schedulerConfig
public final SchedulerConfig schedulerConfig()
Cluster policy configuration. This policy is used for task prioritization and fair-share allocation. This helps prioritize critical workloads and distributes idle compute across entities.
- Returns:
- Cluster policy configuration. This policy is used for task prioritization and fair-share allocation. This helps prioritize critical workloads and distributes idle compute across entities.
-
description
public final String description()
Description of the cluster policy.
- Returns:
- Description of the cluster policy.
-
creationTime
public final Instant creationTime()
Creation time of the cluster policy.
- Returns:
- Creation time of the cluster policy.
-
createdBy
public final UserContext createdBy()
Returns the value of the CreatedBy property for this object.- Returns:
- The value of the CreatedBy property for this object.
-
lastModifiedTime
public final Instant lastModifiedTime()
Last modified time of the cluster policy.
- Returns:
- Last modified time of the cluster policy.
-
lastModifiedBy
public final UserContext lastModifiedBy()
Returns the value of the LastModifiedBy property for this object.- Returns:
- The value of the LastModifiedBy property for this object.
-
toBuilder
public DescribeClusterSchedulerConfigResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeClusterSchedulerConfigResponse.Builder,DescribeClusterSchedulerConfigResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeClusterSchedulerConfigResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeClusterSchedulerConfigResponse.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-