Interface IpamScope.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<IpamScope.Builder,IpamScope>
,SdkBuilder<IpamScope.Builder,IpamScope>
,SdkPojo
- Enclosing class:
- IpamScope
public static interface IpamScope.Builder extends SdkPojo, CopyableBuilder<IpamScope.Builder,IpamScope>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IpamScope.Builder
description(String description)
The description of the scope.IpamScope.Builder
ipamArn(String ipamArn)
The ARN of the IPAM.IpamScope.Builder
ipamRegion(String ipamRegion)
The Amazon Web Services Region of the IPAM scope.IpamScope.Builder
ipamScopeArn(String ipamScopeArn)
The Amazon Resource Name (ARN) of the scope.IpamScope.Builder
ipamScopeId(String ipamScopeId)
The ID of the scope.IpamScope.Builder
ipamScopeType(String ipamScopeType)
The type of the scope.IpamScope.Builder
ipamScopeType(IpamScopeType ipamScopeType)
The type of the scope.IpamScope.Builder
isDefault(Boolean isDefault)
Defines if the scope is the default scope or not.IpamScope.Builder
ownerId(String ownerId)
The Amazon Web Services account ID of the owner of the scope.IpamScope.Builder
poolCount(Integer poolCount)
The number of pools in the scope.IpamScope.Builder
state(String state)
The state of the IPAM scope.IpamScope.Builder
state(IpamScopeState state)
The state of the IPAM scope.IpamScope.Builder
tags(Collection<Tag> tags)
The key/value combination of a tag assigned to the resource.IpamScope.Builder
tags(Consumer<Tag.Builder>... tags)
The key/value combination of a tag assigned to the resource.IpamScope.Builder
tags(Tag... tags)
The key/value combination of a tag assigned to the resource.-
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, sdkFields
-
-
-
-
Method Detail
-
ownerId
IpamScope.Builder ownerId(String ownerId)
The Amazon Web Services account ID of the owner of the scope.
- Parameters:
ownerId
- The Amazon Web Services account ID of the owner of the scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamScopeId
IpamScope.Builder ipamScopeId(String ipamScopeId)
The ID of the scope.
- Parameters:
ipamScopeId
- The ID of the scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamScopeArn
IpamScope.Builder ipamScopeArn(String ipamScopeArn)
The Amazon Resource Name (ARN) of the scope.
- Parameters:
ipamScopeArn
- The Amazon Resource Name (ARN) of the scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamArn
IpamScope.Builder ipamArn(String ipamArn)
The ARN of the IPAM.
- Parameters:
ipamArn
- The ARN of the IPAM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamRegion
IpamScope.Builder ipamRegion(String ipamRegion)
The Amazon Web Services Region of the IPAM scope.
- Parameters:
ipamRegion
- The Amazon Web Services Region of the IPAM scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamScopeType
IpamScope.Builder ipamScopeType(String ipamScopeType)
The type of the scope.
- Parameters:
ipamScopeType
- The type of the scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamScopeType
,IpamScopeType
-
ipamScopeType
IpamScope.Builder ipamScopeType(IpamScopeType ipamScopeType)
The type of the scope.
- Parameters:
ipamScopeType
- The type of the scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamScopeType
,IpamScopeType
-
isDefault
IpamScope.Builder isDefault(Boolean isDefault)
Defines if the scope is the default scope or not.
- Parameters:
isDefault
- Defines if the scope is the default scope or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
IpamScope.Builder description(String description)
The description of the scope.
- Parameters:
description
- The description of the scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolCount
IpamScope.Builder poolCount(Integer poolCount)
The number of pools in the scope.
- Parameters:
poolCount
- The number of pools in the scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
IpamScope.Builder state(String state)
The state of the IPAM scope.
- Parameters:
state
- The state of the IPAM scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamScopeState
,IpamScopeState
-
state
IpamScope.Builder state(IpamScopeState state)
The state of the IPAM scope.
- Parameters:
state
- The state of the IPAM scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamScopeState
,IpamScopeState
-
tags
IpamScope.Builder tags(Collection<Tag> tags)
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key
Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.- Parameters:
tags
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
IpamScope.Builder tags(Tag... tags)
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key
Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.- Parameters:
tags
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
IpamScope.Builder tags(Consumer<Tag.Builder>... tags)
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key
This is a convenience method that creates an instance of theOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.Tag.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
)
-
-