Interface IpamScope.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IpamScope.Builder,
,IpamScope> SdkBuilder<IpamScope.Builder,
,IpamScope> SdkPojo
- Enclosing class:
IpamScope
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description of the scope.The ARN of the IPAM.ipamRegion
(String ipamRegion) The Amazon Web Services Region of the IPAM scope.ipamScopeArn
(String ipamScopeArn) The Amazon Resource Name (ARN) of the scope.ipamScopeId
(String ipamScopeId) The ID of the scope.ipamScopeType
(String ipamScopeType) The type of the scope.ipamScopeType
(IpamScopeType ipamScopeType) The type of the scope.Defines if the scope is the default scope or not.The Amazon Web Services account ID of the owner of the scope.The number of pools in the scope.The state of the IPAM scope.state
(IpamScopeState state) The state of the IPAM scope.tags
(Collection<Tag> tags) The key/value combination of a tag assigned to the resource.tags
(Consumer<Tag.Builder>... tags) The key/value combination of a tag assigned to the resource.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 Details
-
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
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
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
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
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
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
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:
-
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
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
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
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:
-
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:
-
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
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
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 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:
-