Interface UpdateDeploymentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDeploymentRequest.Builder,,UpdateDeploymentRequest> NetworkSecurityManagerRequest.Builder,SdkBuilder<UpdateDeploymentRequest.Builder,,UpdateDeploymentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateDeploymentRequest
-
Method Summary
Modifier and TypeMethodDescriptionassociatedPolicyList(Collection<PolicyReference> associatedPolicyList) The policies associated with the deployment.associatedPolicyList(Consumer<PolicyReference.Builder>... associatedPolicyList) The policies associated with the deployment.associatedPolicyList(PolicyReference... associatedPolicyList) The policies associated with the deployment.associatedScopeList(Collection<ScopeReference> associatedScopeList) The scope associated with the deployment.associatedScopeList(Consumer<ScopeReference.Builder>... associatedScopeList) The scope associated with the deployment.associatedScopeList(ScopeReference... associatedScopeList) The scope associated with the deployment.clientToken(String clientToken) A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time.default UpdateDeploymentRequest.BuilderdeploymentConfiguration(Consumer<DeploymentConfiguration.Builder> deploymentConfiguration) The configuration settings for the deployment.deploymentConfiguration(DeploymentConfiguration deploymentConfiguration) The configuration settings for the deployment.deploymentDescription(String deploymentDescription) A description of the deployment.deploymentIdentifier(String deploymentIdentifier) The identifier of the deployment.isPublished(Boolean isPublished) Specifies whether to publish the resource.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.updateToken(String updateToken) A token used for optimistic concurrency control.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networksecuritymanager.model.NetworkSecurityManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
deploymentIdentifier
The identifier of the deployment. This is the deployment's Amazon Resource Name (ARN).
- Parameters:
deploymentIdentifier- The identifier of the deployment. This is the deployment's Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateToken
A token used for optimistic concurrency control. Each read and write returns an
updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.- Parameters:
updateToken- A token used for optimistic concurrency control. Each read and write returns anupdateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentDescription
A description of the deployment.
- Parameters:
deploymentDescription- A description of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfiguration
UpdateDeploymentRequest.Builder deploymentConfiguration(DeploymentConfiguration deploymentConfiguration) The configuration settings for the deployment.
- Parameters:
deploymentConfiguration- The configuration settings for the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfiguration
default UpdateDeploymentRequest.Builder deploymentConfiguration(Consumer<DeploymentConfiguration.Builder> deploymentConfiguration) The configuration settings for the deployment.
This is a convenience method that creates an instance of theDeploymentConfiguration.Builderavoiding the need to create one manually viaDeploymentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentConfiguration(DeploymentConfiguration).- Parameters:
deploymentConfiguration- a consumer that will call methods onDeploymentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associatedPolicyList
UpdateDeploymentRequest.Builder associatedPolicyList(Collection<PolicyReference> associatedPolicyList) The policies associated with the deployment.
- Parameters:
associatedPolicyList- The policies associated with the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedPolicyList
The policies associated with the deployment.
- Parameters:
associatedPolicyList- The policies associated with the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedPolicyList
UpdateDeploymentRequest.Builder associatedPolicyList(Consumer<PolicyReference.Builder>... associatedPolicyList) The policies associated with the deployment.
This is a convenience method that creates an instance of thePolicyReference.Builderavoiding the need to create one manually viaPolicyReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedPolicyList(List<PolicyReference>).- Parameters:
associatedPolicyList- a consumer that will call methods onPolicyReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associatedScopeList
The scope associated with the deployment. A deployment has exactly one scope.
- Parameters:
associatedScopeList- The scope associated with the deployment. A deployment has exactly one scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedScopeList
The scope associated with the deployment. A deployment has exactly one scope.
- Parameters:
associatedScopeList- The scope associated with the deployment. A deployment has exactly one scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedScopeList
UpdateDeploymentRequest.Builder associatedScopeList(Consumer<ScopeReference.Builder>... associatedScopeList) The scope associated with the deployment. A deployment has exactly one scope.
This is a convenience method that creates an instance of theScopeReference.Builderavoiding the need to create one manually viaScopeReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedScopeList(List<ScopeReference>).- Parameters:
associatedScopeList- a consumer that will call methods onScopeReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isPublished
Specifies whether to publish the resource. When
true, the resource is saved in published (ACTIVE) state. Whenfalse, it is saved as a draft (DRAFT).- Parameters:
isPublished- Specifies whether to publish the resource. Whentrue, the resource is saved in published (ACTIVE) state. Whenfalse, it is saved as a draft (DRAFT).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.
- Parameters:
clientToken- A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateDeploymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDeploymentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-