@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CollectionSummary extends Object implements Serializable, Cloneable
A complex type that is an entry in an CidrCollection array.
Constructor and Description |
---|
CollectionSummary() |
Modifier and Type | Method and Description |
---|---|
CollectionSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the collection summary.
|
String |
getId()
Unique ID for the CIDR collection.
|
String |
getName()
The name of a CIDR collection.
|
Long |
getVersion()
A sequential counter that Route 53 sets to 1 when you create a CIDR collection and increments by 1 each time you
update settings for the CIDR collection.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the collection summary.
|
void |
setId(String id)
Unique ID for the CIDR collection.
|
void |
setName(String name)
The name of a CIDR collection.
|
void |
setVersion(Long version)
A sequential counter that Route 53 sets to 1 when you create a CIDR collection and increments by 1 each time you
update settings for the CIDR collection.
|
String |
toString()
Returns a string representation of this object.
|
CollectionSummary |
withArn(String arn)
The ARN of the collection summary.
|
CollectionSummary |
withId(String id)
Unique ID for the CIDR collection.
|
CollectionSummary |
withName(String name)
The name of a CIDR collection.
|
CollectionSummary |
withVersion(Long version)
A sequential counter that Route 53 sets to 1 when you create a CIDR collection and increments by 1 each time you
update settings for the CIDR collection.
|
public void setArn(String arn)
The ARN of the collection summary. Can be used to reference the collection in IAM policy or cross-account.
arn
- The ARN of the collection summary. Can be used to reference the collection in IAM policy or cross-account.public String getArn()
The ARN of the collection summary. Can be used to reference the collection in IAM policy or cross-account.
public CollectionSummary withArn(String arn)
The ARN of the collection summary. Can be used to reference the collection in IAM policy or cross-account.
arn
- The ARN of the collection summary. Can be used to reference the collection in IAM policy or cross-account.public void setId(String id)
Unique ID for the CIDR collection.
id
- Unique ID for the CIDR collection.public String getId()
Unique ID for the CIDR collection.
public CollectionSummary withId(String id)
Unique ID for the CIDR collection.
id
- Unique ID for the CIDR collection.public void setName(String name)
The name of a CIDR collection.
name
- The name of a CIDR collection.public String getName()
The name of a CIDR collection.
public CollectionSummary withName(String name)
The name of a CIDR collection.
name
- The name of a CIDR collection.public void setVersion(Long version)
A sequential counter that Route 53 sets to 1 when you create a CIDR collection and increments by 1 each time you update settings for the CIDR collection.
version
- A sequential counter that Route 53 sets to 1 when you create a CIDR collection and increments by 1 each
time you update settings for the CIDR collection.public Long getVersion()
A sequential counter that Route 53 sets to 1 when you create a CIDR collection and increments by 1 each time you update settings for the CIDR collection.
public CollectionSummary withVersion(Long version)
A sequential counter that Route 53 sets to 1 when you create a CIDR collection and increments by 1 each time you update settings for the CIDR collection.
version
- A sequential counter that Route 53 sets to 1 when you create a CIDR collection and increments by 1 each
time you update settings for the CIDR collection.public String toString()
toString
in class Object
Object.toString()
public CollectionSummary clone()