Interface GetDeploymentResponse.Builder
- All Superinterfaces:
AmplifyGen3Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetDeploymentResponse.Builder,,GetDeploymentResponse> SdkBuilder<GetDeploymentResponse.Builder,,GetDeploymentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDeploymentResponse
-
Method Summary
Modifier and TypeMethodDescriptionaliases(Collection<AliasSummary> aliases) The aliases.aliases(Consumer<AliasSummary.Builder>... aliases) The aliases.aliases(AliasSummary... aliases) The aliases.The name of the app.default GetDeploymentResponse.Builderbackend(Consumer<DeploymentBackend.Builder> backend) The backend settings that the deployment captured when it was created.backend(DeploymentBackend backend) The backend settings that the deployment captured when it was created.default GetDeploymentResponse.Builderbranch(Consumer<DeploymentBranch.Builder> branch) The branch that the deployment ran against.branch(DeploymentBranch branch) The branch that the deployment ran against.The time at which the deployment was created.deploymentArn(String deploymentArn) The Amazon Resource Name (ARN) of the deployment.deploymentId(String deploymentId) The ID of the deployment.description(String description) The description of the deployment.domainName(String domainName) The fully qualified domain name.The time at which processing ended.environmentName(String environmentName) The name of the environment.environmentVariables(Collection<EnvironmentVariableOutput> environmentVariables) The environment variables.environmentVariables(Consumer<EnvironmentVariableOutput.Builder>... environmentVariables) The environment variables.environmentVariables(EnvironmentVariableOutput... environmentVariables) The environment variables.The time at which the deployment expired.sessionPolicy(String sessionPolicy) The IAM session policy, as a JSON document, that the app's runtime was scoped to for this deployment.default GetDeploymentResponse.BuildersourceConfig(Consumer<DeploymentSourceConfig.Builder> sourceConfig) The source configuration for the deployment.sourceConfig(DeploymentSourceConfig sourceConfig) The source configuration for the deployment.The time at which processing started.The status of the deployment.status(DeploymentStatus status) The status of the deployment.statusReason(String statusReason) The reason for the status.statusReasonCode(String statusReasonCode) A code that identifies the reason for the status.statusReasonCode(DeploymentStatusReasonCode statusReasonCode) A code that identifies the reason for the status.default GetDeploymentResponse.Buildersteps(Consumer<DeploymentSteps.Builder> steps) The steps of the deployment.steps(DeploymentSteps steps) The steps of the deployment.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
appName
The name of the app.
- Parameters:
appName- The name of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentId
The ID of the deployment.
- Parameters:
deploymentId- The ID of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentArn
The Amazon Resource Name (ARN) of the deployment.
- Parameters:
deploymentArn- The Amazon Resource Name (ARN) of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
The name of the environment.
- Parameters:
environmentName- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfig
The source configuration for the deployment.
- Parameters:
sourceConfig- The source configuration for the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfig
default GetDeploymentResponse.Builder sourceConfig(Consumer<DeploymentSourceConfig.Builder> sourceConfig) The source configuration for the deployment.
This is a convenience method that creates an instance of theDeploymentSourceConfig.Builderavoiding the need to create one manually viaDeploymentSourceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfig(DeploymentSourceConfig).- Parameters:
sourceConfig- a consumer that will call methods onDeploymentSourceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the deployment.
- Parameters:
description- The description of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the deployment.
- Parameters:
status- The status of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the deployment.
- Parameters:
status- The status of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainName
The fully qualified domain name.
- Parameters:
domainName- The fully qualified domain name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliases
The aliases.
- Parameters:
aliases- The aliases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliases
The aliases.
- Parameters:
aliases- The aliases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliases
The aliases.
This is a convenience method that creates an instance of theAliasSummary.Builderavoiding the need to create one manually viaAliasSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaliases(List<AliasSummary>).- Parameters:
aliases- a consumer that will call methods onAliasSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentVariables
GetDeploymentResponse.Builder environmentVariables(Collection<EnvironmentVariableOutput> environmentVariables) The environment variables.
- Parameters:
environmentVariables- The environment variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentVariables
GetDeploymentResponse.Builder environmentVariables(EnvironmentVariableOutput... environmentVariables) The environment variables.
- Parameters:
environmentVariables- The environment variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentVariables
GetDeploymentResponse.Builder environmentVariables(Consumer<EnvironmentVariableOutput.Builder>... environmentVariables) The environment variables.
This is a convenience method that creates an instance of theEnvironmentVariableOutput.Builderavoiding the need to create one manually viaEnvironmentVariableOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvironmentVariables(List<EnvironmentVariableOutput>).- Parameters:
environmentVariables- a consumer that will call methods onEnvironmentVariableOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time at which the deployment was created. The value is in ISO-8601 format.
- Parameters:
createdAt- The time at which the deployment was created. The value is in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The time at which processing started. The value is in ISO-8601 format.
- Parameters:
startedAt- The time at which processing started. The value is in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
The time at which processing ended. The value is in ISO-8601 format.
- Parameters:
endedAt- The time at which processing ended. The value is in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiredAt
The time at which the deployment expired. The value is in ISO-8601 format.
- Parameters:
expiredAt- The time at which the deployment expired. The value is in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
The reason for the status.
- Parameters:
statusReason- The reason for the status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReasonCode
A code that identifies the reason for the status.
- Parameters:
statusReasonCode- A code that identifies the reason for the status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReasonCode
A code that identifies the reason for the status.
- Parameters:
statusReasonCode- A code that identifies the reason for the status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionPolicy
The IAM session policy, as a JSON document, that the app's runtime was scoped to for this deployment.
- Parameters:
sessionPolicy- The IAM session policy, as a JSON document, that the app's runtime was scoped to for this deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branch
The branch that the deployment ran against. Present after the deployment's branch exists.
- Parameters:
branch- The branch that the deployment ran against. Present after the deployment's branch exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branch
The branch that the deployment ran against. Present after the deployment's branch exists.
This is a convenience method that creates an instance of theDeploymentBranch.Builderavoiding the need to create one manually viaDeploymentBranch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobranch(DeploymentBranch).- Parameters:
branch- a consumer that will call methods onDeploymentBranch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
backend
The backend settings that the deployment captured when it was created. Present only when the app has a backend.
- Parameters:
backend- The backend settings that the deployment captured when it was created. Present only when the app has a backend.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backend
The backend settings that the deployment captured when it was created. Present only when the app has a backend.
This is a convenience method that creates an instance of theDeploymentBackend.Builderavoiding the need to create one manually viaDeploymentBackend.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackend(DeploymentBackend).- Parameters:
backend- a consumer that will call methods onDeploymentBackend.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
steps
The steps of the deployment. Each step that applies to the deployment is present from the time that the deployment is created.
- Parameters:
steps- The steps of the deployment. Each step that applies to the deployment is present from the time that the deployment is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The steps of the deployment. Each step that applies to the deployment is present from the time that the deployment is created.
This is a convenience method that creates an instance of theDeploymentSteps.Builderavoiding the need to create one manually viaDeploymentSteps.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosteps(DeploymentSteps).- Parameters:
steps- a consumer that will call methods onDeploymentSteps.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-