@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacityReservationGroup extends Object implements Serializable, Cloneable
Describes a resource group to which a Capacity Reservation has been added.
Constructor and Description |
---|
CapacityReservationGroup() |
Modifier and Type | Method and Description |
---|---|
CapacityReservationGroup |
clone() |
boolean |
equals(Object obj) |
String |
getGroupArn()
The ARN of the resource group.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that owns the resource group.
|
int |
hashCode() |
void |
setGroupArn(String groupArn)
The ARN of the resource group.
|
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the resource group.
|
String |
toString()
Returns a string representation of this object.
|
CapacityReservationGroup |
withGroupArn(String groupArn)
The ARN of the resource group.
|
CapacityReservationGroup |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the resource group.
|
public void setGroupArn(String groupArn)
The ARN of the resource group.
groupArn
- The ARN of the resource group.public String getGroupArn()
The ARN of the resource group.
public CapacityReservationGroup withGroupArn(String groupArn)
The ARN of the resource group.
groupArn
- The ARN of the resource group.public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the resource group.
ownerId
- The ID of the Amazon Web Services account that owns the resource group.public String getOwnerId()
The ID of the Amazon Web Services account that owns the resource group.
public CapacityReservationGroup withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the resource group.
ownerId
- The ID of the Amazon Web Services account that owns the resource group.public String toString()
toString
in class Object
Object.toString()
public CapacityReservationGroup clone()