Interface Endpoint.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Endpoint.Builder,Endpoint>
,SdkBuilder<Endpoint.Builder,Endpoint>
,SdkPojo
- Enclosing class:
- Endpoint
public static interface Endpoint.Builder extends SdkPojo, CopyableBuilder<Endpoint.Builder,Endpoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Endpoint.Builder
creationTime(Instant creationTime)
The time that the endpoint was created.default Endpoint.Builder
dataCaptureConfig(Consumer<DataCaptureConfigSummary.Builder> dataCaptureConfig)
Sets the value of the DataCaptureConfig property for this object.Endpoint.Builder
dataCaptureConfig(DataCaptureConfigSummary dataCaptureConfig)
Sets the value of the DataCaptureConfig property for this object.Endpoint.Builder
endpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint.Endpoint.Builder
endpointConfigName(String endpointConfigName)
The endpoint configuration associated with the endpoint.Endpoint.Builder
endpointName(String endpointName)
The name of the endpoint.Endpoint.Builder
endpointStatus(String endpointStatus)
The status of the endpoint.Endpoint.Builder
endpointStatus(EndpointStatus endpointStatus)
The status of the endpoint.Endpoint.Builder
failureReason(String failureReason)
If the endpoint failed, the reason it failed.Endpoint.Builder
lastModifiedTime(Instant lastModifiedTime)
The last time the endpoint was modified.Endpoint.Builder
monitoringSchedules(Collection<MonitoringSchedule> monitoringSchedules)
A list of monitoring schedules for the endpoint.Endpoint.Builder
monitoringSchedules(Consumer<MonitoringSchedule.Builder>... monitoringSchedules)
A list of monitoring schedules for the endpoint.Endpoint.Builder
monitoringSchedules(MonitoringSchedule... monitoringSchedules)
A list of monitoring schedules for the endpoint.Endpoint.Builder
productionVariants(Collection<ProductionVariantSummary> productionVariants)
A list of the production variants hosted on the endpoint.Endpoint.Builder
productionVariants(Consumer<ProductionVariantSummary.Builder>... productionVariants)
A list of the production variants hosted on the endpoint.Endpoint.Builder
productionVariants(ProductionVariantSummary... productionVariants)
A list of the production variants hosted on the endpoint.Endpoint.Builder
shadowProductionVariants(Collection<ProductionVariantSummary> shadowProductionVariants)
A list of the shadow variants hosted on the endpoint.Endpoint.Builder
shadowProductionVariants(Consumer<ProductionVariantSummary.Builder>... shadowProductionVariants)
A list of the shadow variants hosted on the endpoint.Endpoint.Builder
shadowProductionVariants(ProductionVariantSummary... shadowProductionVariants)
A list of the shadow variants hosted on the endpoint.Endpoint.Builder
tags(Collection<Tag> tags)
A list of the tags associated with the endpoint.Endpoint.Builder
tags(Consumer<Tag.Builder>... tags)
A list of the tags associated with the endpoint.Endpoint.Builder
tags(Tag... tags)
A list of the tags associated with the endpoint.-
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
-
endpointName
Endpoint.Builder endpointName(String endpointName)
The name of the endpoint.
- Parameters:
endpointName
- The name of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointArn
Endpoint.Builder endpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint.
- Parameters:
endpointArn
- The Amazon Resource Name (ARN) of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfigName
Endpoint.Builder endpointConfigName(String endpointConfigName)
The endpoint configuration associated with the endpoint.
- Parameters:
endpointConfigName
- The endpoint configuration associated with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productionVariants
Endpoint.Builder productionVariants(Collection<ProductionVariantSummary> productionVariants)
A list of the production variants hosted on the endpoint. Each production variant is a model.
- Parameters:
productionVariants
- A list of the production variants hosted on the endpoint. Each production variant is a model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productionVariants
Endpoint.Builder productionVariants(ProductionVariantSummary... productionVariants)
A list of the production variants hosted on the endpoint. Each production variant is a model.
- Parameters:
productionVariants
- A list of the production variants hosted on the endpoint. Each production variant is a model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productionVariants
Endpoint.Builder productionVariants(Consumer<ProductionVariantSummary.Builder>... productionVariants)
A list of the production variants hosted on the endpoint. Each production variant is a model.
This is a convenience method that creates an instance of theProductionVariantSummary.Builder
avoiding the need to create one manually viaProductionVariantSummary.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 onProductionVariantSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#productionVariants(java.util.Collection
)
-
dataCaptureConfig
Endpoint.Builder dataCaptureConfig(DataCaptureConfigSummary dataCaptureConfig)
Sets the value of the DataCaptureConfig property for this object.- Parameters:
dataCaptureConfig
- The new value for the DataCaptureConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataCaptureConfig
default Endpoint.Builder dataCaptureConfig(Consumer<DataCaptureConfigSummary.Builder> dataCaptureConfig)
Sets the value of the DataCaptureConfig property for this object. This is a convenience method that creates an instance of theDataCaptureConfigSummary.Builder
avoiding the need to create one manually viaDataCaptureConfigSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataCaptureConfig(DataCaptureConfigSummary)
.- Parameters:
dataCaptureConfig
- a consumer that will call methods onDataCaptureConfigSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataCaptureConfig(DataCaptureConfigSummary)
-
endpointStatus
Endpoint.Builder endpointStatus(String endpointStatus)
The status of the endpoint.
- Parameters:
endpointStatus
- The status of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EndpointStatus
,EndpointStatus
-
endpointStatus
Endpoint.Builder endpointStatus(EndpointStatus endpointStatus)
The status of the endpoint.
- Parameters:
endpointStatus
- The status of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EndpointStatus
,EndpointStatus
-
failureReason
Endpoint.Builder failureReason(String failureReason)
If the endpoint failed, the reason it failed.
- Parameters:
failureReason
- If the endpoint failed, the reason it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
Endpoint.Builder creationTime(Instant creationTime)
The time that the endpoint was created.
- Parameters:
creationTime
- The time that the endpoint was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
Endpoint.Builder lastModifiedTime(Instant lastModifiedTime)
The last time the endpoint was modified.
- Parameters:
lastModifiedTime
- The last time the endpoint was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringSchedules
Endpoint.Builder monitoringSchedules(Collection<MonitoringSchedule> monitoringSchedules)
A list of monitoring schedules for the endpoint. For information about model monitoring, see Amazon SageMaker Model Monitor.
- Parameters:
monitoringSchedules
- A list of monitoring schedules for the endpoint. For information about model monitoring, see Amazon SageMaker Model Monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringSchedules
Endpoint.Builder monitoringSchedules(MonitoringSchedule... monitoringSchedules)
A list of monitoring schedules for the endpoint. For information about model monitoring, see Amazon SageMaker Model Monitor.
- Parameters:
monitoringSchedules
- A list of monitoring schedules for the endpoint. For information about model monitoring, see Amazon SageMaker Model Monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringSchedules
Endpoint.Builder monitoringSchedules(Consumer<MonitoringSchedule.Builder>... monitoringSchedules)
A list of monitoring schedules for the endpoint. For information about model monitoring, see Amazon SageMaker Model Monitor.
This is a convenience method that creates an instance of theMonitoringSchedule.Builder
avoiding the need to create one manually viaMonitoringSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#monitoringSchedules(List
.) - Parameters:
monitoringSchedules
- a consumer that will call methods onMonitoringSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#monitoringSchedules(java.util.Collection
)
-
tags
Endpoint.Builder tags(Collection<Tag> tags)
A list of the tags associated with the endpoint. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
- Parameters:
tags
- A list of the tags associated with the endpoint. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Endpoint.Builder tags(Tag... tags)
A list of the tags associated with the endpoint. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
- Parameters:
tags
- A list of the tags associated with the endpoint. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Endpoint.Builder tags(Consumer<Tag.Builder>... tags)
A list of the tags associated with the endpoint. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
shadowProductionVariants
Endpoint.Builder shadowProductionVariants(Collection<ProductionVariantSummary> shadowProductionVariants)
A list of the shadow variants hosted on the endpoint. Each shadow variant is a model in shadow mode with production traffic replicated from the production variant.
- Parameters:
shadowProductionVariants
- A list of the shadow variants hosted on the endpoint. Each shadow variant is a model in shadow mode with production traffic replicated from the production variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadowProductionVariants
Endpoint.Builder shadowProductionVariants(ProductionVariantSummary... shadowProductionVariants)
A list of the shadow variants hosted on the endpoint. Each shadow variant is a model in shadow mode with production traffic replicated from the production variant.
- Parameters:
shadowProductionVariants
- A list of the shadow variants hosted on the endpoint. Each shadow variant is a model in shadow mode with production traffic replicated from the production variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadowProductionVariants
Endpoint.Builder shadowProductionVariants(Consumer<ProductionVariantSummary.Builder>... shadowProductionVariants)
A list of the shadow variants hosted on the endpoint. Each shadow variant is a model in shadow mode with production traffic replicated from the production variant.
This is a convenience method that creates an instance of theProductionVariantSummary.Builder
avoiding the need to create one manually viaProductionVariantSummary.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 onProductionVariantSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#shadowProductionVariants(java.util.Collection
)
-
-