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 interface
DescribeClusterSchedulerConfigResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeClusterSchedulerConfigResponse.Builder
builder()
String
clusterArn()
ARN of the cluster where the cluster policy is applied.String
clusterSchedulerConfigArn()
ARN of the cluster policy.String
clusterSchedulerConfigId()
ID of the cluster policy.Integer
clusterSchedulerConfigVersion()
Version of the cluster policy.UserContext
createdBy()
Returns the value of the CreatedBy property for this object.Instant
creationTime()
Creation time of the cluster policy.String
description()
Description of the cluster policy.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
failureReason()
Failure reason of the cluster policy.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
UserContext
lastModifiedBy()
Returns the value of the LastModifiedBy property for this object.Instant
lastModifiedTime()
Last modified time of the cluster policy.String
name()
Name of the cluster policy.SchedulerConfig
schedulerConfig()
Cluster policy configuration.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends DescribeClusterSchedulerConfigResponse.Builder>
serializableBuilderClass()
SchedulerResourceStatus
status()
Status of the cluster policy.String
statusAsString()
Status of the cluster policy.DescribeClusterSchedulerConfigResponse.Builder
toBuilder()
String
toString()
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,
status
will 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,
status
will 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:
toBuilder
in interfaceToCopyableBuilder<DescribeClusterSchedulerConfigResponse.Builder,DescribeClusterSchedulerConfigResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static DescribeClusterSchedulerConfigResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeClusterSchedulerConfigResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-