Interface CreateDeploymentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDeploymentRequest.Builder,,CreateDeploymentRequest> NetworkSecurityManagerRequest.Builder,SdkBuilder<CreateDeploymentRequest.Builder,,CreateDeploymentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDeploymentRequest
-
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 CreateDeploymentRequest.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.deploymentName(String deploymentName) The name 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.The tags to add to the resource when it is created.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
-
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.
-
deploymentName
The name of the deployment.
- Parameters:
deploymentName- The name of the deployment.- 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
CreateDeploymentRequest.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 CreateDeploymentRequest.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
CreateDeploymentRequest.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
CreateDeploymentRequest.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
CreateDeploymentRequest.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). Default:true.- 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). Default:true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the resource when it is created.
- Parameters:
tags- The tags to add to the resource when it is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDeploymentRequest.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
CreateDeploymentRequest.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.
-