CopyableBuilder<PrefixList.Builder,PrefixList>
, SdkBuilder<PrefixList.Builder,PrefixList>
public static interface PrefixList.Builder extends CopyableBuilder<PrefixList.Builder,PrefixList>
Modifier and Type | Method | Description |
---|---|---|
PrefixList.Builder |
cidrs(String... cidrs) |
The IP address range of the AWS service.
|
PrefixList.Builder |
cidrs(Collection<String> cidrs) |
The IP address range of the AWS service.
|
PrefixList.Builder |
prefixListId(String prefixListId) |
The ID of the prefix.
|
PrefixList.Builder |
prefixListName(String prefixListName) |
The name of the prefix.
|
copy
apply, build
PrefixList.Builder cidrs(Collection<String> cidrs)
The IP address range of the AWS service.
cidrs
- The IP address range of the AWS service.PrefixList.Builder cidrs(String... cidrs)
The IP address range of the AWS service.
NOTE: This method appends the values to the existing list (if any). Use
#setCidrs(java.util.Collection)
or #withCidrs(java.util.Collection)
if you want to override
the existing values.
cidrs
- The IP address range of the AWS service.PrefixList.Builder prefixListId(String prefixListId)
The ID of the prefix.
prefixListId
- The ID of the prefix.PrefixList.Builder prefixListName(String prefixListName)
The name of the prefix.
prefixListName
- The name of the prefix.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.