Interface GetDeploymentResponse.Builder
-
- All Superinterfaces:
AppConfigResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>,SdkBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDeploymentResponse
public static interface GetDeploymentResponse.Builder extends AppConfigResponse.Builder, SdkPojo, CopyableBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDeploymentResponse.BuilderapplicationId(String applicationId)The ID of the application that was deployed.GetDeploymentResponse.BuilderappliedExtensions(Collection<AppliedExtension> appliedExtensions)A list of extensions that were processed as part of the deployment.GetDeploymentResponse.BuilderappliedExtensions(Consumer<AppliedExtension.Builder>... appliedExtensions)A list of extensions that were processed as part of the deployment.GetDeploymentResponse.BuilderappliedExtensions(AppliedExtension... appliedExtensions)A list of extensions that were processed as part of the deployment.GetDeploymentResponse.BuildercompletedAt(Instant completedAt)The time the deployment completed.GetDeploymentResponse.BuilderconfigurationLocationUri(String configurationLocationUri)Information about the source location of the configuration.GetDeploymentResponse.BuilderconfigurationName(String configurationName)The name of the configuration.GetDeploymentResponse.BuilderconfigurationProfileId(String configurationProfileId)The ID of the configuration profile that was deployed.GetDeploymentResponse.BuilderconfigurationVersion(String configurationVersion)The configuration version that was deployed.GetDeploymentResponse.BuilderdeploymentDurationInMinutes(Integer deploymentDurationInMinutes)Total amount of time the deployment lasted.GetDeploymentResponse.BuilderdeploymentNumber(Integer deploymentNumber)The sequence number of the deployment.GetDeploymentResponse.BuilderdeploymentStrategyId(String deploymentStrategyId)The ID of the deployment strategy that was deployed.GetDeploymentResponse.Builderdescription(String description)The description of the deployment.GetDeploymentResponse.BuilderenvironmentId(String environmentId)The ID of the environment that was deployed.GetDeploymentResponse.BuildereventLog(Collection<DeploymentEvent> eventLog)A list containing all events related to a deployment.GetDeploymentResponse.BuildereventLog(Consumer<DeploymentEvent.Builder>... eventLog)A list containing all events related to a deployment.GetDeploymentResponse.BuildereventLog(DeploymentEvent... eventLog)A list containing all events related to a deployment.GetDeploymentResponse.BuilderfinalBakeTimeInMinutes(Integer finalBakeTimeInMinutes)The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.GetDeploymentResponse.BuildergrowthFactor(Float growthFactor)The percentage of targets to receive a deployed configuration during each interval.GetDeploymentResponse.BuildergrowthType(String growthType)The algorithm used to define how percentage grew over time.GetDeploymentResponse.BuildergrowthType(GrowthType growthType)The algorithm used to define how percentage grew over time.GetDeploymentResponse.BuilderkmsKeyArn(String kmsKeyArn)The Amazon Resource Name of the Key Management Service key used to encrypt configuration data.GetDeploymentResponse.BuilderkmsKeyIdentifier(String kmsKeyIdentifier)The Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.GetDeploymentResponse.BuilderpercentageComplete(Float percentageComplete)The percentage of targets for which the deployment is available.GetDeploymentResponse.BuilderstartedAt(Instant startedAt)The time the deployment started.GetDeploymentResponse.Builderstate(String state)The state of the deployment.GetDeploymentResponse.Builderstate(DeploymentState state)The state of the deployment.GetDeploymentResponse.BuilderversionLabel(String versionLabel)A user-defined label for an AppConfig hosted configuration version.-
Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
applicationId
GetDeploymentResponse.Builder applicationId(String applicationId)
The ID of the application that was deployed.
- Parameters:
applicationId- The ID of the application that was deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
GetDeploymentResponse.Builder environmentId(String environmentId)
The ID of the environment that was deployed.
- Parameters:
environmentId- The ID of the environment that was deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentStrategyId
GetDeploymentResponse.Builder deploymentStrategyId(String deploymentStrategyId)
The ID of the deployment strategy that was deployed.
- Parameters:
deploymentStrategyId- The ID of the deployment strategy that was deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationProfileId
GetDeploymentResponse.Builder configurationProfileId(String configurationProfileId)
The ID of the configuration profile that was deployed.
- Parameters:
configurationProfileId- The ID of the configuration profile that was deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentNumber
GetDeploymentResponse.Builder deploymentNumber(Integer deploymentNumber)
The sequence number of the deployment.
- Parameters:
deploymentNumber- The sequence number of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationName
GetDeploymentResponse.Builder configurationName(String configurationName)
The name of the configuration.
- Parameters:
configurationName- The name of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationLocationUri
GetDeploymentResponse.Builder configurationLocationUri(String configurationLocationUri)
Information about the source location of the configuration.
- Parameters:
configurationLocationUri- Information about the source location of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationVersion
GetDeploymentResponse.Builder configurationVersion(String configurationVersion)
The configuration version that was deployed.
- Parameters:
configurationVersion- The configuration version that was deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetDeploymentResponse.Builder description(String 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.
-
deploymentDurationInMinutes
GetDeploymentResponse.Builder deploymentDurationInMinutes(Integer deploymentDurationInMinutes)
Total amount of time the deployment lasted.
- Parameters:
deploymentDurationInMinutes- Total amount of time the deployment lasted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
growthType
GetDeploymentResponse.Builder growthType(String growthType)
The algorithm used to define how percentage grew over time.
- Parameters:
growthType- The algorithm used to define how percentage grew over time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GrowthType,GrowthType
-
growthType
GetDeploymentResponse.Builder growthType(GrowthType growthType)
The algorithm used to define how percentage grew over time.
- Parameters:
growthType- The algorithm used to define how percentage grew over time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GrowthType,GrowthType
-
growthFactor
GetDeploymentResponse.Builder growthFactor(Float growthFactor)
The percentage of targets to receive a deployed configuration during each interval.
- Parameters:
growthFactor- The percentage of targets to receive a deployed configuration during each interval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalBakeTimeInMinutes
GetDeploymentResponse.Builder finalBakeTimeInMinutes(Integer finalBakeTimeInMinutes)
The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.
- Parameters:
finalBakeTimeInMinutes- The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
GetDeploymentResponse.Builder state(String state)
The state of the deployment.
- Parameters:
state- The state of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeploymentState,DeploymentState
-
state
GetDeploymentResponse.Builder state(DeploymentState state)
The state of the deployment.
- Parameters:
state- The state of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeploymentState,DeploymentState
-
eventLog
GetDeploymentResponse.Builder eventLog(Collection<DeploymentEvent> eventLog)
A list containing all events related to a deployment. The most recent events are displayed first.
- Parameters:
eventLog- A list containing all events related to a deployment. The most recent events are displayed first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventLog
GetDeploymentResponse.Builder eventLog(DeploymentEvent... eventLog)
A list containing all events related to a deployment. The most recent events are displayed first.
- Parameters:
eventLog- A list containing all events related to a deployment. The most recent events are displayed first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventLog
GetDeploymentResponse.Builder eventLog(Consumer<DeploymentEvent.Builder>... eventLog)
A list containing all events related to a deployment. The most recent events are displayed first.
This is a convenience method that creates an instance of theDeploymentEvent.Builderavoiding the need to create one manually viaDeploymentEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#eventLog(List.) - Parameters:
eventLog- a consumer that will call methods onDeploymentEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#eventLog(java.util.Collection)
-
percentageComplete
GetDeploymentResponse.Builder percentageComplete(Float percentageComplete)
The percentage of targets for which the deployment is available.
- Parameters:
percentageComplete- The percentage of targets for which the deployment is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
GetDeploymentResponse.Builder startedAt(Instant startedAt)
The time the deployment started.
- Parameters:
startedAt- The time the deployment started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedAt
GetDeploymentResponse.Builder completedAt(Instant completedAt)
The time the deployment completed.
- Parameters:
completedAt- The time the deployment completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appliedExtensions
GetDeploymentResponse.Builder appliedExtensions(Collection<AppliedExtension> appliedExtensions)
A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when
StartDeploymentwas called.- Parameters:
appliedExtensions- A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application whenStartDeploymentwas called.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appliedExtensions
GetDeploymentResponse.Builder appliedExtensions(AppliedExtension... appliedExtensions)
A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when
StartDeploymentwas called.- Parameters:
appliedExtensions- A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application whenStartDeploymentwas called.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appliedExtensions
GetDeploymentResponse.Builder appliedExtensions(Consumer<AppliedExtension.Builder>... appliedExtensions)
A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when
This is a convenience method that creates an instance of theStartDeploymentwas called.AppliedExtension.Builderavoiding the need to create one manually viaAppliedExtension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#appliedExtensions(List.) - Parameters:
appliedExtensions- a consumer that will call methods onAppliedExtension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#appliedExtensions(java.util.Collection)
-
kmsKeyArn
GetDeploymentResponse.Builder kmsKeyArn(String kmsKeyArn)
The Amazon Resource Name of the Key Management Service key used to encrypt configuration data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in Amazon Web Services Systems Manager Parameter Store.
- Parameters:
kmsKeyArn- The Amazon Resource Name of the Key Management Service key used to encrypt configuration data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in Amazon Web Services Systems Manager Parameter Store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyIdentifier
GetDeploymentResponse.Builder kmsKeyIdentifier(String kmsKeyIdentifier)
The Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
- Parameters:
kmsKeyIdentifier- The Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionLabel
GetDeploymentResponse.Builder versionLabel(String versionLabel)
A user-defined label for an AppConfig hosted configuration version.
- Parameters:
versionLabel- A user-defined label for an AppConfig hosted configuration version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-