Interface SendHeartbeatRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SendHeartbeatRequest.Builder,SendHeartbeatRequest>,SagemakerEdgeRequest.Builder,SdkBuilder<SendHeartbeatRequest.Builder,SendHeartbeatRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SendHeartbeatRequest
public static interface SendHeartbeatRequest.Builder extends SagemakerEdgeRequest.Builder, SdkPojo, CopyableBuilder<SendHeartbeatRequest.Builder,SendHeartbeatRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemakeredge.model.SagemakerEdgeRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
agentMetrics
SendHeartbeatRequest.Builder agentMetrics(Collection<EdgeMetric> agentMetrics)
For internal use. Returns a list of SageMaker Edge Manager agent operating metrics.
- Parameters:
agentMetrics- For internal use. Returns a list of SageMaker Edge Manager agent operating metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentMetrics
SendHeartbeatRequest.Builder agentMetrics(EdgeMetric... agentMetrics)
For internal use. Returns a list of SageMaker Edge Manager agent operating metrics.
- Parameters:
agentMetrics- For internal use. Returns a list of SageMaker Edge Manager agent operating metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentMetrics
SendHeartbeatRequest.Builder agentMetrics(Consumer<EdgeMetric.Builder>... agentMetrics)
For internal use. Returns a list of SageMaker Edge Manager agent operating metrics.
This is a convenience method that creates an instance of theEdgeMetric.Builderavoiding the need to create one manually viaEdgeMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#agentMetrics(List.) - Parameters:
agentMetrics- a consumer that will call methods onEdgeMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#agentMetrics(java.util.Collection)
-
models
SendHeartbeatRequest.Builder models(Collection<Model> models)
Returns a list of models deployed on the the device.
- Parameters:
models- Returns a list of models deployed on the the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
SendHeartbeatRequest.Builder models(Model... models)
Returns a list of models deployed on the the device.
- Parameters:
models- Returns a list of models deployed on the the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
SendHeartbeatRequest.Builder models(Consumer<Model.Builder>... models)
Returns a list of models deployed on the the device.
This is a convenience method that creates an instance of theModel.Builderavoiding the need to create one manually viaModel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#models(List.) - Parameters:
models- a consumer that will call methods onModel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#models(java.util.Collection)
-
agentVersion
SendHeartbeatRequest.Builder agentVersion(String agentVersion)
Returns the version of the agent.
- Parameters:
agentVersion- Returns the version of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceName
SendHeartbeatRequest.Builder deviceName(String deviceName)
The unique name of the device.
- Parameters:
deviceName- The unique name of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceFleetName
SendHeartbeatRequest.Builder deviceFleetName(String deviceFleetName)
The name of the fleet that the device belongs to.
- Parameters:
deviceFleetName- The name of the fleet that the device belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentResult
SendHeartbeatRequest.Builder deploymentResult(DeploymentResult deploymentResult)
Returns the result of a deployment on the device.
- Parameters:
deploymentResult- Returns the result of a deployment on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentResult
default SendHeartbeatRequest.Builder deploymentResult(Consumer<DeploymentResult.Builder> deploymentResult)
Returns the result of a deployment on the device.
This is a convenience method that creates an instance of theDeploymentResult.Builderavoiding the need to create one manually viaDeploymentResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentResult(DeploymentResult).- Parameters:
deploymentResult- a consumer that will call methods onDeploymentResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deploymentResult(DeploymentResult)
-
overrideConfiguration
SendHeartbeatRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SendHeartbeatRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-