Interface CreateDeploymentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateDeploymentResponse.Builder,,CreateDeploymentResponse> NetworkSecurityManagerResponse.Builder,SdkBuilder<CreateDeploymentResponse.Builder,,CreateDeploymentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateDeploymentResponse
-
Method Summary
Modifier and TypeMethodDescriptionassociatedPolicyList(Collection<AssociatedPolicy> associatedPolicyList) The policies associated with the deployment.associatedPolicyList(Consumer<AssociatedPolicy.Builder>... associatedPolicyList) The policies associated with the deployment.associatedPolicyList(AssociatedPolicy... associatedPolicyList) The policies associated with the deployment.associatedScopeList(Collection<AssociatedScope> associatedScopeList) The scope associated with the deployment.associatedScopeList(Consumer<AssociatedScope.Builder>... associatedScopeList) The scope associated with the deployment.associatedScopeList(AssociatedScope... associatedScopeList) The scope associated with the deployment.deploymentArn(String deploymentArn) The Amazon Resource Name (ARN) of the deployment.default CreateDeploymentResponse.BuilderdeploymentConfiguration(Consumer<DeploymentConfiguration.Builder> deploymentConfiguration) The configuration settings for the deployment.deploymentConfiguration(DeploymentConfiguration deploymentConfiguration) The configuration settings for the deployment.deploymentCoverage(Collection<DeploymentCoverageEntry> deploymentCoverage) The coverage information for the deployment.deploymentCoverage(Consumer<DeploymentCoverageEntry.Builder>... deploymentCoverage) The coverage information for the deployment.deploymentCoverage(DeploymentCoverageEntry... deploymentCoverage) The coverage information for the deployment.deploymentDescription(String deploymentDescription) A description of the deployment.deploymentId(String deploymentId) The service-generated id of the deployment.deploymentName(String deploymentName) The name of the deployment.hasPublishedVersion(Boolean hasPublishedVersion) Specifies whether a published version of the resource exists.isSnapshot(Boolean isSnapshot) Specifies whether the resource is a snapshot of a published version.The current status of the resource:DRAFT(unpublished, editable) orACTIVE(published, in use).status(EntityStatus status) The current status of the resource:DRAFT(unpublished, editable) orACTIVE(published, in use).The time when the resource was last updated.updateToken(String updateToken) A token used for optimistic concurrency control.The version of the resource.warnings(Collection<DeploymentWarningEntry> warnings) Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.warnings(Consumer<DeploymentWarningEntry.Builder>... warnings) Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.warnings(DeploymentWarningEntry... warnings) Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networksecuritymanager.model.NetworkSecurityManagerResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
deploymentId
The service-generated id of the deployment.
- Parameters:
deploymentId- The service-generated 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.
-
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.
-
status
The current status of the resource:
DRAFT(unpublished, editable) orACTIVE(published, in use).- Parameters:
status- The current status of the resource:DRAFT(unpublished, editable) orACTIVE(published, in use).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the resource:
DRAFT(unpublished, editable) orACTIVE(published, in use).- Parameters:
status- The current status of the resource:DRAFT(unpublished, editable) orACTIVE(published, in use).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentConfiguration
CreateDeploymentResponse.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 CreateDeploymentResponse.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
CreateDeploymentResponse.Builder associatedPolicyList(Collection<AssociatedPolicy> 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
CreateDeploymentResponse.Builder associatedPolicyList(Consumer<AssociatedPolicy.Builder>... associatedPolicyList) The policies associated with the deployment.
This is a convenience method that creates an instance of theAssociatedPolicy.Builderavoiding the need to create one manually viaAssociatedPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedPolicyList(List<AssociatedPolicy>).- Parameters:
associatedPolicyList- a consumer that will call methods onAssociatedPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associatedScopeList
CreateDeploymentResponse.Builder associatedScopeList(Collection<AssociatedScope> 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
CreateDeploymentResponse.Builder associatedScopeList(Consumer<AssociatedScope.Builder>... associatedScopeList) The scope associated with the deployment. A deployment has exactly one scope.
This is a convenience method that creates an instance of theAssociatedScope.Builderavoiding the need to create one manually viaAssociatedScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedScopeList(List<AssociatedScope>).- Parameters:
associatedScopeList- a consumer that will call methods onAssociatedScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The version of the resource.
- Parameters:
version- The version of the resource.- 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.
-
isSnapshot
Specifies whether the resource is a snapshot of a published version.
- Parameters:
isSnapshot- Specifies whether the resource is a snapshot of a published version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hasPublishedVersion
Specifies whether a published version of the resource exists.
- Parameters:
hasPublishedVersion- Specifies whether a published version of the resource exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentCoverage
CreateDeploymentResponse.Builder deploymentCoverage(Collection<DeploymentCoverageEntry> deploymentCoverage) The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.
- Parameters:
deploymentCoverage- The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentCoverage
The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.
- Parameters:
deploymentCoverage- The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentCoverage
CreateDeploymentResponse.Builder deploymentCoverage(Consumer<DeploymentCoverageEntry.Builder>... deploymentCoverage) The coverage information for the deployment. For each firewall type, it shows which policies have that firewall type and which in-scope resource types the firewall type protects.
This is a convenience method that creates an instance of theDeploymentCoverageEntry.Builderavoiding the need to create one manually viaDeploymentCoverageEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentCoverage(List<DeploymentCoverageEntry>).- Parameters:
deploymentCoverage- a consumer that will call methods onDeploymentCoverageEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
warnings
Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.
- Parameters:
warnings- Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.
- Parameters:
warnings- Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
Warnings about potential issues, such as a policy that has no applicable resources in the deployment's scope.
This is a convenience method that creates an instance of theDeploymentWarningEntry.Builderavoiding the need to create one manually viaDeploymentWarningEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towarnings(List<DeploymentWarningEntry>).- Parameters:
warnings- a consumer that will call methods onDeploymentWarningEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The time when the resource was last updated.
- Parameters:
updatedAt- The time when the resource was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-