Interface VpcEncryptionControl.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VpcEncryptionControl.Builder,,VpcEncryptionControl> SdkBuilder<VpcEncryptionControl.Builder,,VpcEncryptionControl> SdkPojo
- Enclosing class:
VpcEncryptionControl
@Mutable
@NotThreadSafe
public static interface VpcEncryptionControl.Builder
extends SdkPojo, CopyableBuilder<VpcEncryptionControl.Builder,VpcEncryptionControl>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Mode property for this object.mode(VpcEncryptionControlMode mode) Sets the value of the Mode property for this object.default VpcEncryptionControl.BuilderresourceExclusions(Consumer<VpcEncryptionControlExclusions.Builder> resourceExclusions) Sets the value of the ResourceExclusions property for this object.resourceExclusions(VpcEncryptionControlExclusions resourceExclusions) Sets the value of the ResourceExclusions property for this object.Sets the value of the State property for this object.state(VpcEncryptionControlState state) Sets the value of the State property for this object.stateMessage(String stateMessage) Sets the value of the StateMessage property for this object.tags(Collection<Tag> tags) Sets the value of the Tags property for this object.tags(Consumer<Tag.Builder>... tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.vpcEncryptionControlId(String vpcEncryptionControlId) Sets the value of the VpcEncryptionControlId property for this object.Sets the value of the VpcId property for this object.Methods 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, sdkFields
-
Method Details
-
vpcId
Sets the value of the VpcId property for this object.- Parameters:
vpcId- The new value for the VpcId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEncryptionControlId
Sets the value of the VpcEncryptionControlId property for this object.- Parameters:
vpcEncryptionControlId- The new value for the VpcEncryptionControlId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mode
Sets the value of the Mode property for this object.- Parameters:
mode- The new value for the Mode property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
Sets the value of the Mode property for this object.- Parameters:
mode- The new value for the Mode property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Sets the value of the State property for this object.- Parameters:
state- The new value for the State property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Sets the value of the State property for this object.- Parameters:
state- The new value for the State property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateMessage
Sets the value of the StateMessage property for this object.- Parameters:
stateMessage- The new value for the StateMessage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceExclusions
Sets the value of the ResourceExclusions property for this object.- Parameters:
resourceExclusions- The new value for the ResourceExclusions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceExclusions
default VpcEncryptionControl.Builder resourceExclusions(Consumer<VpcEncryptionControlExclusions.Builder> resourceExclusions) Sets the value of the ResourceExclusions property for this object. This is a convenience method that creates an instance of theVpcEncryptionControlExclusions.Builderavoiding the need to create one manually viaVpcEncryptionControlExclusions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceExclusions(VpcEncryptionControlExclusions).- Parameters:
resourceExclusions- a consumer that will call methods onVpcEncryptionControlExclusions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-