@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PendingDeploymentSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary of an in-progress deployment when an endpoint is creating or updating with a new endpoint configuration.
| Constructor and Description |
|---|
PendingDeploymentSummary() |
| Modifier and Type | Method and Description |
|---|---|
PendingDeploymentSummary |
clone() |
boolean |
equals(Object obj) |
String |
getEndpointConfigName()
The name of the endpoint configuration used in the deployment.
|
List<PendingProductionVariantSummary> |
getProductionVariants()
List of
PendingProductionVariantSummary objects. |
List<PendingProductionVariantSummary> |
getShadowProductionVariants()
Array of
ProductionVariant objects, one for each model that you want to host at this endpoint in
shadow mode with production traffic replicated from the model specified on ProductionVariants.If you
use this field, you can only specify one variant for ProductionVariants and one variant for
ShadowProductionVariants. |
Date |
getStartTime()
The start time of the deployment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration used in the deployment.
|
void |
setProductionVariants(Collection<PendingProductionVariantSummary> productionVariants)
List of
PendingProductionVariantSummary objects. |
void |
setShadowProductionVariants(Collection<PendingProductionVariantSummary> shadowProductionVariants)
Array of
ProductionVariant objects, one for each model that you want to host at this endpoint in
shadow mode with production traffic replicated from the model specified on ProductionVariants.If you
use this field, you can only specify one variant for ProductionVariants and one variant for
ShadowProductionVariants. |
void |
setStartTime(Date startTime)
The start time of the deployment.
|
String |
toString()
Returns a string representation of this object.
|
PendingDeploymentSummary |
withEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration used in the deployment.
|
PendingDeploymentSummary |
withProductionVariants(Collection<PendingProductionVariantSummary> productionVariants)
List of
PendingProductionVariantSummary objects. |
PendingDeploymentSummary |
withProductionVariants(PendingProductionVariantSummary... productionVariants)
List of
PendingProductionVariantSummary objects. |
PendingDeploymentSummary |
withShadowProductionVariants(Collection<PendingProductionVariantSummary> shadowProductionVariants)
Array of
ProductionVariant objects, one for each model that you want to host at this endpoint in
shadow mode with production traffic replicated from the model specified on ProductionVariants.If you
use this field, you can only specify one variant for ProductionVariants and one variant for
ShadowProductionVariants. |
PendingDeploymentSummary |
withShadowProductionVariants(PendingProductionVariantSummary... shadowProductionVariants)
Array of
ProductionVariant objects, one for each model that you want to host at this endpoint in
shadow mode with production traffic replicated from the model specified on ProductionVariants.If you
use this field, you can only specify one variant for ProductionVariants and one variant for
ShadowProductionVariants. |
PendingDeploymentSummary |
withStartTime(Date startTime)
The start time of the deployment.
|
public void setEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration used in the deployment.
endpointConfigName - The name of the endpoint configuration used in the deployment.public String getEndpointConfigName()
The name of the endpoint configuration used in the deployment.
public PendingDeploymentSummary withEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration used in the deployment.
endpointConfigName - The name of the endpoint configuration used in the deployment.public List<PendingProductionVariantSummary> getProductionVariants()
List of PendingProductionVariantSummary objects.
PendingProductionVariantSummary objects.public void setProductionVariants(Collection<PendingProductionVariantSummary> productionVariants)
List of PendingProductionVariantSummary objects.
productionVariants - List of PendingProductionVariantSummary objects.public PendingDeploymentSummary withProductionVariants(PendingProductionVariantSummary... productionVariants)
List of PendingProductionVariantSummary objects.
NOTE: This method appends the values to the existing list (if any). Use
setProductionVariants(java.util.Collection) or withProductionVariants(java.util.Collection) if
you want to override the existing values.
productionVariants - List of PendingProductionVariantSummary objects.public PendingDeploymentSummary withProductionVariants(Collection<PendingProductionVariantSummary> productionVariants)
List of PendingProductionVariantSummary objects.
productionVariants - List of PendingProductionVariantSummary objects.public void setStartTime(Date startTime)
The start time of the deployment.
startTime - The start time of the deployment.public Date getStartTime()
The start time of the deployment.
public PendingDeploymentSummary withStartTime(Date startTime)
The start time of the deployment.
startTime - The start time of the deployment.public List<PendingProductionVariantSummary> getShadowProductionVariants()
Array of ProductionVariant objects, one for each model that you want to host at this endpoint in
shadow mode with production traffic replicated from the model specified on ProductionVariants.If you
use this field, you can only specify one variant for ProductionVariants and one variant for
ShadowProductionVariants.
ProductionVariant objects, one for each model that you want to host at this
endpoint in shadow mode with production traffic replicated from the model specified on
ProductionVariants.If you use this field, you can only specify one variant for
ProductionVariants and one variant for ShadowProductionVariants.public void setShadowProductionVariants(Collection<PendingProductionVariantSummary> shadowProductionVariants)
Array of ProductionVariant objects, one for each model that you want to host at this endpoint in
shadow mode with production traffic replicated from the model specified on ProductionVariants.If you
use this field, you can only specify one variant for ProductionVariants and one variant for
ShadowProductionVariants.
shadowProductionVariants - Array of ProductionVariant objects, one for each model that you want to host at this endpoint
in shadow mode with production traffic replicated from the model specified on
ProductionVariants.If you use this field, you can only specify one variant for
ProductionVariants and one variant for ShadowProductionVariants.public PendingDeploymentSummary withShadowProductionVariants(PendingProductionVariantSummary... shadowProductionVariants)
Array of ProductionVariant objects, one for each model that you want to host at this endpoint in
shadow mode with production traffic replicated from the model specified on ProductionVariants.If you
use this field, you can only specify one variant for ProductionVariants and one variant for
ShadowProductionVariants.
NOTE: This method appends the values to the existing list (if any). Use
setShadowProductionVariants(java.util.Collection) or
withShadowProductionVariants(java.util.Collection) if you want to override the existing values.
shadowProductionVariants - Array of ProductionVariant objects, one for each model that you want to host at this endpoint
in shadow mode with production traffic replicated from the model specified on
ProductionVariants.If you use this field, you can only specify one variant for
ProductionVariants and one variant for ShadowProductionVariants.public PendingDeploymentSummary withShadowProductionVariants(Collection<PendingProductionVariantSummary> shadowProductionVariants)
Array of ProductionVariant objects, one for each model that you want to host at this endpoint in
shadow mode with production traffic replicated from the model specified on ProductionVariants.If you
use this field, you can only specify one variant for ProductionVariants and one variant for
ShadowProductionVariants.
shadowProductionVariants - Array of ProductionVariant objects, one for each model that you want to host at this endpoint
in shadow mode with production traffic replicated from the model specified on
ProductionVariants.If you use this field, you can only specify one variant for
ProductionVariants and one variant for ShadowProductionVariants.public String toString()
toString in class ObjectObject.toString()public PendingDeploymentSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.