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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IpamPolicy.BuilderipamId(String ipamId)The ID of the IPAM this policy belongs to.IpamPolicy.BuilderipamPolicyArn(String ipamPolicyArn)The Amazon Resource Name (ARN) of the IPAM policy.IpamPolicy.BuilderipamPolicyId(String ipamPolicyId)The ID of the IPAM policy.IpamPolicy.BuilderipamPolicyRegion(String ipamPolicyRegion)The Region of the IPAM policy.IpamPolicy.BuilderownerId(String ownerId)The account ID that owns the IPAM policy.IpamPolicy.Builderstate(String state)The state of the IPAM policy.IpamPolicy.Builderstate(IpamPolicyState state)The state of the IPAM policy.IpamPolicy.BuilderstateMessage(String stateMessage)A message about the state of the IPAM policy.IpamPolicy.Buildertags(Collection<Tag> tags)The tags assigned to the IPAM policy.IpamPolicy.Buildertags(Consumer<Tag.Builder>... tags)The tags assigned to the IPAM policy.IpamPolicy.Buildertags(Tag... tags)The tags assigned to the IPAM policy.-
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
-
ownerId
IpamPolicy.Builder ownerId(String 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
IpamPolicy.Builder ipamPolicyId(String 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
IpamPolicy.Builder ipamPolicyArn(String 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
IpamPolicy.Builder ipamPolicyRegion(String 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
IpamPolicy.Builder state(String 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:
IpamPolicyState,IpamPolicyState
-
state
IpamPolicy.Builder state(IpamPolicyState 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:
IpamPolicyState,IpamPolicyState
-
stateMessage
IpamPolicy.Builder stateMessage(String 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
IpamPolicy.Builder tags(Collection<Tag> 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
IpamPolicy.Builder tags(Tag... 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
IpamPolicy.Builder tags(Consumer<Tag.Builder>... 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 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)
-
ipamId
IpamPolicy.Builder ipamId(String 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.
-
-