public static interface DeploymentResult.Builder extends SdkPojo, CopyableBuilder<DeploymentResult.Builder,DeploymentResult>
| Modifier and Type | Method and Description |
|---|---|
DeploymentResult.Builder |
deploymentEndTime(Instant deploymentEndTime)
The timestamp of when the deployment was ended, and the agent got the deployment results.
|
DeploymentResult.Builder |
deploymentModels(Collection<DeploymentModel> deploymentModels)
Returns a list of models deployed on the agent.
|
DeploymentResult.Builder |
deploymentModels(Consumer<DeploymentModel.Builder>... deploymentModels)
Returns a list of models deployed on the agent.
|
DeploymentResult.Builder |
deploymentModels(DeploymentModel... deploymentModels)
Returns a list of models deployed on the agent.
|
DeploymentResult.Builder |
deploymentName(String deploymentName)
The name and unique ID of the deployment.
|
DeploymentResult.Builder |
deploymentStartTime(Instant deploymentStartTime)
The timestamp of when the deployment was started on the agent.
|
DeploymentResult.Builder |
deploymentStatus(String deploymentStatus)
Returns the bucket error code.
|
DeploymentResult.Builder |
deploymentStatusMessage(String deploymentStatusMessage)
Returns the detailed error message.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDeploymentResult.Builder deploymentName(String deploymentName)
The name and unique ID of the deployment.
deploymentName - The name and unique ID of the deployment.DeploymentResult.Builder deploymentStatus(String deploymentStatus)
Returns the bucket error code.
deploymentStatus - Returns the bucket error code.DeploymentResult.Builder deploymentStatusMessage(String deploymentStatusMessage)
Returns the detailed error message.
deploymentStatusMessage - Returns the detailed error message.DeploymentResult.Builder deploymentStartTime(Instant deploymentStartTime)
The timestamp of when the deployment was started on the agent.
deploymentStartTime - The timestamp of when the deployment was started on the agent.DeploymentResult.Builder deploymentEndTime(Instant deploymentEndTime)
The timestamp of when the deployment was ended, and the agent got the deployment results.
deploymentEndTime - The timestamp of when the deployment was ended, and the agent got the deployment results.DeploymentResult.Builder deploymentModels(Collection<DeploymentModel> deploymentModels)
Returns a list of models deployed on the agent.
deploymentModels - Returns a list of models deployed on the agent.DeploymentResult.Builder deploymentModels(DeploymentModel... deploymentModels)
Returns a list of models deployed on the agent.
deploymentModels - Returns a list of models deployed on the agent.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.Builder avoiding the need to
create one manually via DeploymentModel.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #deploymentModels(List.
deploymentModels - a consumer that will call methods on
DeploymentModel.Builder#deploymentModels(java.util.Collection) Copyright © 2023. All rights reserved.