Interface PendingDeploymentSummary.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<PendingDeploymentSummary.Builder,PendingDeploymentSummary>
,SdkBuilder<PendingDeploymentSummary.Builder,PendingDeploymentSummary>
,SdkPojo
- Enclosing class:
- PendingDeploymentSummary
public static interface PendingDeploymentSummary.Builder extends SdkPojo, CopyableBuilder<PendingDeploymentSummary.Builder,PendingDeploymentSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PendingDeploymentSummary.Builder
endpointConfigName(String endpointConfigName)
The name of the endpoint configuration used in the deployment.PendingDeploymentSummary.Builder
productionVariants(Collection<PendingProductionVariantSummary> productionVariants)
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.PendingDeploymentSummary.Builder
productionVariants(Consumer<PendingProductionVariantSummary.Builder>... productionVariants)
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.PendingDeploymentSummary.Builder
productionVariants(PendingProductionVariantSummary... productionVariants)
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.PendingDeploymentSummary.Builder
shadowProductionVariants(Collection<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 onProductionVariants
for the in-progress deployment.PendingDeploymentSummary.Builder
shadowProductionVariants(Consumer<PendingProductionVariantSummary.Builder>... 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 onProductionVariants
for the in-progress deployment.PendingDeploymentSummary.Builder
shadowProductionVariants(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 onProductionVariants
for the in-progress deployment.PendingDeploymentSummary.Builder
startTime(Instant startTime)
The start time of the deployment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
endpointConfigName
PendingDeploymentSummary.Builder endpointConfigName(String endpointConfigName)
The name of the endpoint configuration used in the deployment.
- Parameters:
endpointConfigName
- The name of the endpoint configuration used in the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productionVariants
PendingDeploymentSummary.Builder productionVariants(Collection<PendingProductionVariantSummary> productionVariants)
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.
- Parameters:
productionVariants
- An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productionVariants
PendingDeploymentSummary.Builder productionVariants(PendingProductionVariantSummary... productionVariants)
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.
- Parameters:
productionVariants
- An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productionVariants
PendingDeploymentSummary.Builder productionVariants(Consumer<PendingProductionVariantSummary.Builder>... productionVariants)
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.
This is a convenience method that creates an instance of thePendingProductionVariantSummary.Builder
avoiding the need to create one manually viaPendingProductionVariantSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#productionVariants(List
.) - Parameters:
productionVariants
- a consumer that will call methods onPendingProductionVariantSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#productionVariants(java.util.Collection
)
-
startTime
PendingDeploymentSummary.Builder startTime(Instant startTime)
The start time of the deployment.
- Parameters:
startTime
- The start time of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadowProductionVariants
PendingDeploymentSummary.Builder shadowProductionVariants(Collection<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
ProductionVariants
for the in-progress deployment.- Parameters:
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 onProductionVariants
for the in-progress deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadowProductionVariants
PendingDeploymentSummary.Builder shadowProductionVariants(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
ProductionVariants
for the in-progress deployment.- Parameters:
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 onProductionVariants
for the in-progress deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadowProductionVariants
PendingDeploymentSummary.Builder shadowProductionVariants(Consumer<PendingProductionVariantSummary.Builder>... 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
This is a convenience method that creates an instance of theProductionVariants
for the in-progress deployment.PendingProductionVariantSummary.Builder
avoiding the need to create one manually viaPendingProductionVariantSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#shadowProductionVariants(List
.) - Parameters:
shadowProductionVariants
- a consumer that will call methods onPendingProductionVariantSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#shadowProductionVariants(java.util.Collection
)
-
-