Interface DeploymentResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentResult.Builder,DeploymentResult>,SdkBuilder<DeploymentResult.Builder,DeploymentResult>,SdkPojo
- Enclosing class:
- DeploymentResult
public static interface DeploymentResult.Builder extends SdkPojo, CopyableBuilder<DeploymentResult.Builder,DeploymentResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeploymentResult.BuilderdeploymentEndTime(Instant deploymentEndTime)The timestamp of when the deployment was ended, and the agent got the deployment results.DeploymentResult.BuilderdeploymentModels(Collection<DeploymentModel> deploymentModels)Returns a list of models deployed on the agent.DeploymentResult.BuilderdeploymentModels(Consumer<DeploymentModel.Builder>... deploymentModels)Returns a list of models deployed on the agent.DeploymentResult.BuilderdeploymentModels(DeploymentModel... deploymentModels)Returns a list of models deployed on the agent.DeploymentResult.BuilderdeploymentName(String deploymentName)The name and unique ID of the deployment.DeploymentResult.BuilderdeploymentStartTime(Instant deploymentStartTime)The timestamp of when the deployment was started on the agent.DeploymentResult.BuilderdeploymentStatus(String deploymentStatus)Returns the bucket error code.DeploymentResult.BuilderdeploymentStatusMessage(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, sdkFields
-
-
-
-
Method Detail
-
deploymentName
DeploymentResult.Builder deploymentName(String 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
DeploymentResult.Builder deploymentStatus(String 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
DeploymentResult.Builder deploymentStatusMessage(String 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
DeploymentResult.Builder deploymentStartTime(Instant 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
DeploymentResult.Builder deploymentEndTime(Instant 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
DeploymentResult.Builder deploymentModels(Collection<DeploymentModel> 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
DeploymentResult.Builder deploymentModels(DeploymentModel... 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
DeploymentResult.Builder deploymentModels(Consumer<DeploymentModel.Builder>... deploymentModels)
Returns a list of models deployed on the agent.
This is a convenience method that creates an instance of theDeploymentModel.Builderavoiding the need to create one manually viaDeploymentModel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#deploymentModels(List.) - 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:
#deploymentModels(java.util.Collection)
-
-