Interface DeploymentResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeploymentResult.Builder,
,DeploymentResult> SdkBuilder<DeploymentResult.Builder,
,DeploymentResult> SdkPojo
- Enclosing class:
DeploymentResult
@Mutable
@NotThreadSafe
public static interface DeploymentResult.Builder
extends SdkPojo, CopyableBuilder<DeploymentResult.Builder,DeploymentResult>
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentEndTime
(Instant deploymentEndTime) The timestamp of when the deployment was ended, and the agent got the deployment results.deploymentModels
(Collection<DeploymentModel> deploymentModels) Returns a list of models deployed on the agent.deploymentModels
(Consumer<DeploymentModel.Builder>... deploymentModels) Returns a list of models deployed on the agent.deploymentModels
(DeploymentModel... deploymentModels) Returns a list of models deployed on the agent.deploymentName
(String deploymentName) The name and unique ID of the deployment.deploymentStartTime
(Instant deploymentStartTime) The timestamp of when the deployment was started on the agent.deploymentStatus
(String deploymentStatus) Returns the bucket error code.deploymentStatusMessage
(String deploymentStatusMessage) Returns the detailed error message.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 Details
-
deploymentName
The name and unique ID of the deployment.
- Parameters:
deploymentName
- The name and unique ID of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentStatus
Returns the bucket error code.
- Parameters:
deploymentStatus
- Returns the bucket error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentStatusMessage
Returns the detailed error message.
- Parameters:
deploymentStatusMessage
- Returns the detailed error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentStartTime
The timestamp of when the deployment was started on the agent.
- Parameters:
deploymentStartTime
- The timestamp of when the deployment was started on the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentEndTime
The timestamp of when the deployment was ended, and the agent got the deployment results.
- Parameters:
deploymentEndTime
- The timestamp of when the deployment was ended, and the agent got the deployment results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentModels
Returns a list of models deployed on the agent.
- Parameters:
deploymentModels
- Returns a list of models deployed on the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentModels
Returns a list of models deployed on the agent.
- Parameters:
deploymentModels
- Returns a list of models deployed on the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentModels
Returns a list of models deployed on the agent.
This is a convenience method that creates an instance of theDeploymentModel.Builder
avoiding the need to create one manually viaDeploymentModel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeploymentModels(List<DeploymentModel>)
.- Parameters:
deploymentModels
- a consumer that will call methods onDeploymentModel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-