Interface IpamPolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IpamPolicy.Builder,,IpamPolicy> SdkBuilder<IpamPolicy.Builder,,IpamPolicy> SdkPojo
- Enclosing class:
IpamPolicy
@Mutable
@NotThreadSafe
public static interface IpamPolicy.Builder
extends SdkPojo, CopyableBuilder<IpamPolicy.Builder,IpamPolicy>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the IPAM this policy belongs to.ipamPolicyArn(String ipamPolicyArn) The Amazon Resource Name (ARN) of the IPAM policy.ipamPolicyId(String ipamPolicyId) The ID of the IPAM policy.ipamPolicyRegion(String ipamPolicyRegion) The Region of the IPAM policy.The account ID that owns the IPAM policy.The state of the IPAM policy.state(IpamPolicyState state) The state of the IPAM policy.stateMessage(String stateMessage) A message about the state of the IPAM policy.tags(Collection<Tag> tags) The tags assigned to the IPAM policy.tags(Consumer<Tag.Builder>... tags) The tags assigned to the IPAM policy.The tags assigned to the IPAM policy.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
-
ownerId
The account ID that owns the IPAM policy.
- Parameters:
ownerId- The account ID that owns the IPAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPolicyId
The ID of the IPAM policy.
- Parameters:
ipamPolicyId- The ID of the IPAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPolicyArn
The Amazon Resource Name (ARN) of the IPAM policy.
- Parameters:
ipamPolicyArn- The Amazon Resource Name (ARN) of the IPAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPolicyRegion
The Region of the IPAM policy.
- Parameters:
ipamPolicyRegion- The Region of the IPAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the IPAM policy.
- Parameters:
state- The state of the IPAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the IPAM policy.
- Parameters:
state- The state of the IPAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateMessage
A message about the state of the IPAM policy.
- Parameters:
stateMessage- A message about the state of the IPAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the IPAM policy.
- Parameters:
tags- The tags assigned to the IPAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the IPAM policy.
- Parameters:
tags- The tags assigned to the IPAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the IPAM policy.
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:
-
ipamId
The ID of the IPAM this policy belongs to.
- Parameters:
ipamId- The ID of the IPAM this policy belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-