Interface VpcEncryptionControl.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcEncryptionControl.Builder,VpcEncryptionControl>
,SdkBuilder<VpcEncryptionControl.Builder,VpcEncryptionControl>
,SdkPojo
- Enclosing class:
- VpcEncryptionControl
public static interface VpcEncryptionControl.Builder extends SdkPojo, CopyableBuilder<VpcEncryptionControl.Builder,VpcEncryptionControl>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VpcEncryptionControl.Builder
mode(String mode)
Sets the value of the Mode property for this object.VpcEncryptionControl.Builder
mode(VpcEncryptionControlMode mode)
Sets the value of the Mode property for this object.default VpcEncryptionControl.Builder
resourceExclusions(Consumer<VpcEncryptionControlExclusions.Builder> resourceExclusions)
Sets the value of the ResourceExclusions property for this object.VpcEncryptionControl.Builder
resourceExclusions(VpcEncryptionControlExclusions resourceExclusions)
Sets the value of the ResourceExclusions property for this object.VpcEncryptionControl.Builder
state(String state)
Sets the value of the State property for this object.VpcEncryptionControl.Builder
state(VpcEncryptionControlState state)
Sets the value of the State property for this object.VpcEncryptionControl.Builder
stateMessage(String stateMessage)
Sets the value of the StateMessage property for this object.VpcEncryptionControl.Builder
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.VpcEncryptionControl.Builder
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.VpcEncryptionControl.Builder
tags(Tag... tags)
Sets the value of the Tags property for this object.VpcEncryptionControl.Builder
vpcEncryptionControlId(String vpcEncryptionControlId)
Sets the value of the VpcEncryptionControlId property for this object.VpcEncryptionControl.Builder
vpcId(String vpcId)
Sets the value of the VpcId property for this object.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
vpcId
VpcEncryptionControl.Builder vpcId(String 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
VpcEncryptionControl.Builder vpcEncryptionControlId(String 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
VpcEncryptionControl.Builder mode(String 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:
VpcEncryptionControlMode
,VpcEncryptionControlMode
-
mode
VpcEncryptionControl.Builder mode(VpcEncryptionControlMode 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:
VpcEncryptionControlMode
,VpcEncryptionControlMode
-
state
VpcEncryptionControl.Builder state(String 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:
VpcEncryptionControlState
,VpcEncryptionControlState
-
state
VpcEncryptionControl.Builder state(VpcEncryptionControlState 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:
VpcEncryptionControlState
,VpcEncryptionControlState
-
stateMessage
VpcEncryptionControl.Builder stateMessage(String 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
VpcEncryptionControl.Builder resourceExclusions(VpcEncryptionControlExclusions 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.Builder
avoiding the need to create one manually viaVpcEncryptionControlExclusions.builder()
.When the
Consumer
completes,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:
resourceExclusions(VpcEncryptionControlExclusions)
-
tags
VpcEncryptionControl.Builder tags(Collection<Tag> 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
VpcEncryptionControl.Builder tags(Tag... 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
VpcEncryptionControl.Builder tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
-