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.Builderdescription(String description)The description of the scope.IpamScope.BuilderipamArn(String ipamArn)The ARN of the IPAM.IpamScope.BuilderipamRegion(String ipamRegion)The Amazon Web Services Region of the IPAM scope.IpamScope.BuilderipamScopeArn(String ipamScopeArn)The Amazon Resource Name (ARN) of the scope.IpamScope.BuilderipamScopeId(String ipamScopeId)The ID of the scope.IpamScope.BuilderipamScopeType(String ipamScopeType)The type of the scope.IpamScope.BuilderipamScopeType(IpamScopeType ipamScopeType)The type of the scope.IpamScope.BuilderisDefault(Boolean isDefault)Defines if the scope is the default scope or not.IpamScope.BuilderownerId(String ownerId)The Amazon Web Services account ID of the owner of the scope.IpamScope.BuilderpoolCount(Integer poolCount)The number of pools in the scope.IpamScope.Builderstate(String state)The state of the IPAM scope.IpamScope.Builderstate(IpamScopeState state)The state of the IPAM scope.IpamScope.Buildertags(Collection<Tag> tags)The key/value combination of a tag assigned to the resource.IpamScope.Buildertags(Consumer<Tag.Builder>... tags)The key/value combination of a tag assigned to the resource.IpamScope.Buildertags(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
Ownerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor 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 keyOwnerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor 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
Ownerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor 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 keyOwnerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor 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 theOwnerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value.Tag.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)
-
-