Interface Deployment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Deployment.Builder,
,Deployment> SdkBuilder<Deployment.Builder,
,Deployment> SdkPojo
- Enclosing class:
Deployment
@Mutable
@NotThreadSafe
public static interface Deployment.Builder
extends SdkPojo, CopyableBuilder<Deployment.Builder,Deployment>
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentId
(Long deploymentId) The ID of the deployment.deploymentTime
(Instant deploymentTime) For in-progress deployments, the time that the deployment started.The status of the deployment:versionLabel
(String versionLabel) The version label of the application version in the deployment.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
-
versionLabel
The version label of the application version in the deployment.
- Parameters:
versionLabel
- The version label of the application version in the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentId
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
- Parameters:
deploymentId
- The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the deployment:
-
In Progress
: The deployment is in progress. -
Deployed
: The deployment succeeded. -
Failed
: The deployment failed.
- Parameters:
status
- The status of the deployment:-
In Progress
: The deployment is in progress. -
Deployed
: The deployment succeeded. -
Failed
: The deployment failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
deploymentTime
For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
- Parameters:
deploymentTime
- For in-progress deployments, the time that the deployment started.For completed deployments, the time that the deployment ended.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-