Interface SendHeartbeatRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SendHeartbeatRequest.Builder,,SendHeartbeatRequest> SagemakerEdgeRequest.Builder,SdkBuilder<SendHeartbeatRequest.Builder,,SendHeartbeatRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SendHeartbeatRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentMetrics(Collection<EdgeMetric> agentMetrics) For internal use.agentMetrics(Consumer<EdgeMetric.Builder>... agentMetrics) For internal use.agentMetrics(EdgeMetric... agentMetrics) For internal use.agentVersion(String agentVersion) Returns the version of the agent.default SendHeartbeatRequest.BuilderdeploymentResult(Consumer<DeploymentResult.Builder> deploymentResult) Returns the result of a deployment on the device.deploymentResult(DeploymentResult deploymentResult) Returns the result of a deployment on the device.deviceFleetName(String deviceFleetName) The name of the fleet that the device belongs to.deviceName(String deviceName) The unique name of the device.models(Collection<Model> models) Returns a list of models deployed on the the device.models(Consumer<Model.Builder>... models) Returns a list of models deployed on the the device.Returns a list of models deployed on the the device.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemakeredge.model.SagemakerEdgeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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 toagentMetrics(List<EdgeMetric>).- 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:
-
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
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
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 tomodels(List<Model>).- 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:
-
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
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
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
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:
-
overrideConfiguration
SendHeartbeatRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SendHeartbeatRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-