@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrefixListAssociation extends Object implements Serializable, Cloneable
Describes the resource with which a prefix list is associated.
Constructor and Description |
---|
PrefixListAssociation() |
Modifier and Type | Method and Description |
---|---|
PrefixListAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getResourceId()
The ID of the resource.
|
String |
getResourceOwner()
The owner of the resource.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
The ID of the resource.
|
void |
setResourceOwner(String resourceOwner)
The owner of the resource.
|
String |
toString()
Returns a string representation of this object.
|
PrefixListAssociation |
withResourceId(String resourceId)
The ID of the resource.
|
PrefixListAssociation |
withResourceOwner(String resourceOwner)
The owner of the resource.
|
public void setResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public String getResourceId()
The ID of the resource.
public PrefixListAssociation withResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public void setResourceOwner(String resourceOwner)
The owner of the resource.
resourceOwner
- The owner of the resource.public String getResourceOwner()
The owner of the resource.
public PrefixListAssociation withResourceOwner(String resourceOwner)
The owner of the resource.
resourceOwner
- The owner of the resource.public String toString()
toString
in class Object
Object.toString()
public PrefixListAssociation clone()