Class PendingDeploymentSummary
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.PendingDeploymentSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PendingDeploymentSummary.Builder,PendingDeploymentSummary>
@Generated("software.amazon.awssdk:codegen") public final class PendingDeploymentSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PendingDeploymentSummary.Builder,PendingDeploymentSummary>
The summary of an in-progress deployment when an endpoint is creating or updating with a new endpoint configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePendingDeploymentSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PendingDeploymentSummary.Builderbuilder()StringendpointConfigName()The name of the endpoint configuration used in the deployment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasProductionVariants()For responses, this returns true if the service returned a value for the ProductionVariants property.booleanhasShadowProductionVariants()For responses, this returns true if the service returned a value for the ShadowProductionVariants property.List<PendingProductionVariantSummary>productionVariants()An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.List<SdkField<?>>sdkFields()static Class<? extends PendingDeploymentSummary.Builder>serializableBuilderClass()List<PendingProductionVariantSummary>shadowProductionVariants()An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint in shadow mode with production traffic replicated from the model specified onProductionVariantsfor the in-progress deployment.InstantstartTime()The start time of the deployment.PendingDeploymentSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
endpointConfigName
public final String endpointConfigName()
The name of the endpoint configuration used in the deployment.
- Returns:
- The name of the endpoint configuration used in the deployment.
-
hasProductionVariants
public final boolean hasProductionVariants()
For responses, this returns true if the service returned a value for the ProductionVariants property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
productionVariants
public final List<PendingProductionVariantSummary> productionVariants()
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasProductionVariants()method.- Returns:
- An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.
-
startTime
public final Instant startTime()
The start time of the deployment.
- Returns:
- The start time of the deployment.
-
hasShadowProductionVariants
public final boolean hasShadowProductionVariants()
For responses, this returns true if the service returned a value for the ShadowProductionVariants property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
shadowProductionVariants
public final List<PendingProductionVariantSummary> shadowProductionVariants()
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint in shadow mode with production traffic replicated from the model specified on
ProductionVariantsfor the in-progress deployment.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasShadowProductionVariants()method.- Returns:
- An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint in shadow
mode with production traffic replicated from the model specified on
ProductionVariantsfor the in-progress deployment.
-
toBuilder
public PendingDeploymentSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PendingDeploymentSummary.Builder,PendingDeploymentSummary>
-
builder
public static PendingDeploymentSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends PendingDeploymentSummary.Builder> serializableBuilderClass()
-
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.
-
-