Interface ManagedPrefixList.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ManagedPrefixList.Builder,ManagedPrefixList>
,SdkBuilder<ManagedPrefixList.Builder,ManagedPrefixList>
,SdkPojo
- Enclosing class:
- ManagedPrefixList
public static interface ManagedPrefixList.Builder extends SdkPojo, CopyableBuilder<ManagedPrefixList.Builder,ManagedPrefixList>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedPrefixList.Builder
addressFamily(String addressFamily)
The IP address version.ManagedPrefixList.Builder
maxEntries(Integer maxEntries)
The maximum number of entries for the prefix list.ManagedPrefixList.Builder
ownerId(String ownerId)
The ID of the owner of the prefix list.ManagedPrefixList.Builder
prefixListArn(String prefixListArn)
The Amazon Resource Name (ARN) for the prefix list.ManagedPrefixList.Builder
prefixListId(String prefixListId)
The ID of the prefix list.ManagedPrefixList.Builder
prefixListName(String prefixListName)
The name of the prefix list.ManagedPrefixList.Builder
state(String state)
The current state of the prefix list.ManagedPrefixList.Builder
state(PrefixListState state)
The current state of the prefix list.ManagedPrefixList.Builder
stateMessage(String stateMessage)
The state message.ManagedPrefixList.Builder
tags(Collection<Tag> tags)
The tags for the prefix list.ManagedPrefixList.Builder
tags(Consumer<Tag.Builder>... tags)
The tags for the prefix list.ManagedPrefixList.Builder
tags(Tag... tags)
The tags for the prefix list.ManagedPrefixList.Builder
version(Long version)
The version of the prefix list.-
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
-
prefixListId
ManagedPrefixList.Builder prefixListId(String prefixListId)
The ID of the prefix list.
- Parameters:
prefixListId
- The ID of the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressFamily
ManagedPrefixList.Builder addressFamily(String addressFamily)
The IP address version.
- Parameters:
addressFamily
- The IP address version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
ManagedPrefixList.Builder state(String state)
The current state of the prefix list.
- Parameters:
state
- The current state of the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PrefixListState
,PrefixListState
-
state
ManagedPrefixList.Builder state(PrefixListState state)
The current state of the prefix list.
- Parameters:
state
- The current state of the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PrefixListState
,PrefixListState
-
stateMessage
ManagedPrefixList.Builder stateMessage(String stateMessage)
The state message.
- Parameters:
stateMessage
- The state message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListArn
ManagedPrefixList.Builder prefixListArn(String prefixListArn)
The Amazon Resource Name (ARN) for the prefix list.
- Parameters:
prefixListArn
- The Amazon Resource Name (ARN) for the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListName
ManagedPrefixList.Builder prefixListName(String prefixListName)
The name of the prefix list.
- Parameters:
prefixListName
- The name of the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxEntries
ManagedPrefixList.Builder maxEntries(Integer maxEntries)
The maximum number of entries for the prefix list.
- Parameters:
maxEntries
- The maximum number of entries for the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
ManagedPrefixList.Builder version(Long version)
The version of the prefix list.
- Parameters:
version
- The version of the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ManagedPrefixList.Builder tags(Collection<Tag> tags)
The tags for the prefix list.
- Parameters:
tags
- The tags for the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ManagedPrefixList.Builder tags(Tag... tags)
The tags for the prefix list.
- Parameters:
tags
- The tags for the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ManagedPrefixList.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the prefix list.
This is a convenience method that creates an instance of theTag.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
)
-
ownerId
ManagedPrefixList.Builder ownerId(String ownerId)
The ID of the owner of the prefix list.
- Parameters:
ownerId
- The ID of the owner of the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-