@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateManagedPrefixListRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateManagedPrefixListRequest>
NOOP
Constructor and Description |
---|
CreateManagedPrefixListRequest() |
Modifier and Type | Method and Description |
---|---|
CreateManagedPrefixListRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAddressFamily()
The IP address type.
|
String |
getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
Request<CreateManagedPrefixListRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<AddPrefixListEntry> |
getEntries()
One or more entries for the prefix list.
|
Integer |
getMaxEntries()
The maximum number of entries for the prefix list.
|
String |
getPrefixListName()
A name for the prefix list.
|
List<TagSpecification> |
getTagSpecifications()
The tags to apply to the prefix list during creation.
|
int |
hashCode() |
void |
setAddressFamily(String addressFamily)
The IP address type.
|
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
void |
setEntries(Collection<AddPrefixListEntry> entries)
One or more entries for the prefix list.
|
void |
setMaxEntries(Integer maxEntries)
The maximum number of entries for the prefix list.
|
void |
setPrefixListName(String prefixListName)
A name for the prefix list.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the prefix list during creation.
|
String |
toString()
Returns a string representation of this object.
|
CreateManagedPrefixListRequest |
withAddressFamily(String addressFamily)
The IP address type.
|
CreateManagedPrefixListRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
CreateManagedPrefixListRequest |
withEntries(AddPrefixListEntry... entries)
One or more entries for the prefix list.
|
CreateManagedPrefixListRequest |
withEntries(Collection<AddPrefixListEntry> entries)
One or more entries for the prefix list.
|
CreateManagedPrefixListRequest |
withMaxEntries(Integer maxEntries)
The maximum number of entries for the prefix list.
|
CreateManagedPrefixListRequest |
withPrefixListName(String prefixListName)
A name for the prefix list.
|
CreateManagedPrefixListRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the prefix list during creation.
|
CreateManagedPrefixListRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the prefix list during creation.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPrefixListName(String prefixListName)
A name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws
.
prefixListName
- A name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws
.
public String getPrefixListName()
A name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws
.
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws
.
public CreateManagedPrefixListRequest withPrefixListName(String prefixListName)
A name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws
.
prefixListName
- A name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws
.
public List<AddPrefixListEntry> getEntries()
One or more entries for the prefix list.
public void setEntries(Collection<AddPrefixListEntry> entries)
One or more entries for the prefix list.
entries
- One or more entries for the prefix list.public CreateManagedPrefixListRequest withEntries(AddPrefixListEntry... entries)
One or more entries for the prefix list.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection)
or withEntries(java.util.Collection)
if you want to override
the existing values.
entries
- One or more entries for the prefix list.public CreateManagedPrefixListRequest withEntries(Collection<AddPrefixListEntry> entries)
One or more entries for the prefix list.
entries
- One or more entries for the prefix list.public void setMaxEntries(Integer maxEntries)
The maximum number of entries for the prefix list.
maxEntries
- The maximum number of entries for the prefix list.public Integer getMaxEntries()
The maximum number of entries for the prefix list.
public CreateManagedPrefixListRequest withMaxEntries(Integer maxEntries)
The maximum number of entries for the prefix list.
maxEntries
- The maximum number of entries for the prefix list.public List<TagSpecification> getTagSpecifications()
The tags to apply to the prefix list during creation.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the prefix list during creation.
tagSpecifications
- The tags to apply to the prefix list during creation.public CreateManagedPrefixListRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the prefix list during creation.
NOTE: This method appends the values to the existing list (if any). Use
setTagSpecifications(java.util.Collection)
or withTagSpecifications(java.util.Collection)
if
you want to override the existing values.
tagSpecifications
- The tags to apply to the prefix list during creation.public CreateManagedPrefixListRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the prefix list during creation.
tagSpecifications
- The tags to apply to the prefix list during creation.public void setAddressFamily(String addressFamily)
The IP address type.
Valid Values: IPv4
| IPv6
addressFamily
- The IP address type.
Valid Values: IPv4
| IPv6
public String getAddressFamily()
The IP address type.
Valid Values: IPv4
| IPv6
Valid Values: IPv4
| IPv6
public CreateManagedPrefixListRequest withAddressFamily(String addressFamily)
The IP address type.
Valid Values: IPv4
| IPv6
addressFamily
- The IP address type.
Valid Values: IPv4
| IPv6
public void setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraints: Up to 255 UTF-8 characters in length.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
information, see Ensuring
idempotency.
Constraints: Up to 255 UTF-8 characters in length.
public String getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraints: Up to 255 UTF-8 characters in length.
Constraints: Up to 255 UTF-8 characters in length.
public CreateManagedPrefixListRequest withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraints: Up to 255 UTF-8 characters in length.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
information, see Ensuring
idempotency.
Constraints: Up to 255 UTF-8 characters in length.
public Request<CreateManagedPrefixListRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateManagedPrefixListRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateManagedPrefixListRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()