Interface Deployment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Deployment.Builder,Deployment>,SdkBuilder<Deployment.Builder,Deployment>,SdkPojo
- Enclosing class:
- Deployment
public static interface Deployment.Builder extends SdkPojo, CopyableBuilder<Deployment.Builder,Deployment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Deployment.BuilderdeploymentId(Long deploymentId)The ID of the deployment.Deployment.BuilderdeploymentTime(Instant deploymentTime)For in-progress deployments, the time that the deployment started.Deployment.Builderstatus(String status)The status of the deployment:Deployment.BuilderversionLabel(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 Detail
-
versionLabel
Deployment.Builder versionLabel(String 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
Deployment.Builder deploymentId(Long 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
Deployment.Builder status(String 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
Deployment.Builder deploymentTime(Instant 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.
-
-