Class PrefixList
java.lang.Object
com.amazonaws.services.ec2.model.PrefixList
- All Implemented Interfaces:
Serializable, Cloneable
Describes prefixes for AWS services.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetCidrs()The IP address range of the AWS service.The ID of the prefix.The name of the prefix.inthashCode()voidsetCidrs(Collection<String> cidrs) The IP address range of the AWS service.voidsetPrefixListId(String prefixListId) The ID of the prefix.voidsetPrefixListName(String prefixListName) The name of the prefix.toString()Returns a string representation of this object; useful for testing and debugging.The IP address range of the AWS service.withCidrs(Collection<String> cidrs) The IP address range of the AWS service.withPrefixListId(String prefixListId) The ID of the prefix.withPrefixListName(String prefixListName) The name of the prefix.
-
Constructor Details
-
PrefixList
public PrefixList()
-
-
Method Details
-
setPrefixListId
The ID of the prefix.
- Parameters:
prefixListId- The ID of the prefix.
-
getPrefixListId
-
withPrefixListId
The ID of the prefix.
- Parameters:
prefixListId- The ID of the prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPrefixListName
The name of the prefix.
- Parameters:
prefixListName- The name of the prefix.
-
getPrefixListName
-
withPrefixListName
The name of the prefix.
- Parameters:
prefixListName- The name of the prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCidrs
-
setCidrs
The IP address range of the AWS service.
- Parameters:
cidrs- The IP address range of the AWS service.
-
withCidrs
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)orwithCidrs(java.util.Collection)if you want to override the existing values.- Parameters:
cidrs- The IP address range of the AWS service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCidrs
The IP address range of the AWS service.
- Parameters:
cidrs- The IP address range of the AWS service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-