@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregationAuthorization extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the authorizations granted to aggregator accounts and regions.
Constructor and Description |
---|
AggregationAuthorization() |
Modifier and Type | Method and Description |
---|---|
AggregationAuthorization |
clone() |
boolean |
equals(Object obj) |
String |
getAggregationAuthorizationArn()
The Amazon Resource Name (ARN) of the aggregation object.
|
String |
getAuthorizedAccountId()
The 12-digit account ID of the account authorized to aggregate data.
|
String |
getAuthorizedAwsRegion()
The region authorized to collect aggregated data.
|
Date |
getCreationTime()
The time stamp when the aggregation authorization was created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAggregationAuthorizationArn(String aggregationAuthorizationArn)
The Amazon Resource Name (ARN) of the aggregation object.
|
void |
setAuthorizedAccountId(String authorizedAccountId)
The 12-digit account ID of the account authorized to aggregate data.
|
void |
setAuthorizedAwsRegion(String authorizedAwsRegion)
The region authorized to collect aggregated data.
|
void |
setCreationTime(Date creationTime)
The time stamp when the aggregation authorization was created.
|
String |
toString()
Returns a string representation of this object.
|
AggregationAuthorization |
withAggregationAuthorizationArn(String aggregationAuthorizationArn)
The Amazon Resource Name (ARN) of the aggregation object.
|
AggregationAuthorization |
withAuthorizedAccountId(String authorizedAccountId)
The 12-digit account ID of the account authorized to aggregate data.
|
AggregationAuthorization |
withAuthorizedAwsRegion(String authorizedAwsRegion)
The region authorized to collect aggregated data.
|
AggregationAuthorization |
withCreationTime(Date creationTime)
The time stamp when the aggregation authorization was created.
|
public void setAggregationAuthorizationArn(String aggregationAuthorizationArn)
The Amazon Resource Name (ARN) of the aggregation object.
aggregationAuthorizationArn
- The Amazon Resource Name (ARN) of the aggregation object.public String getAggregationAuthorizationArn()
The Amazon Resource Name (ARN) of the aggregation object.
public AggregationAuthorization withAggregationAuthorizationArn(String aggregationAuthorizationArn)
The Amazon Resource Name (ARN) of the aggregation object.
aggregationAuthorizationArn
- The Amazon Resource Name (ARN) of the aggregation object.public void setAuthorizedAccountId(String authorizedAccountId)
The 12-digit account ID of the account authorized to aggregate data.
authorizedAccountId
- The 12-digit account ID of the account authorized to aggregate data.public String getAuthorizedAccountId()
The 12-digit account ID of the account authorized to aggregate data.
public AggregationAuthorization withAuthorizedAccountId(String authorizedAccountId)
The 12-digit account ID of the account authorized to aggregate data.
authorizedAccountId
- The 12-digit account ID of the account authorized to aggregate data.public void setAuthorizedAwsRegion(String authorizedAwsRegion)
The region authorized to collect aggregated data.
authorizedAwsRegion
- The region authorized to collect aggregated data.public String getAuthorizedAwsRegion()
The region authorized to collect aggregated data.
public AggregationAuthorization withAuthorizedAwsRegion(String authorizedAwsRegion)
The region authorized to collect aggregated data.
authorizedAwsRegion
- The region authorized to collect aggregated data.public void setCreationTime(Date creationTime)
The time stamp when the aggregation authorization was created.
creationTime
- The time stamp when the aggregation authorization was created.public Date getCreationTime()
The time stamp when the aggregation authorization was created.
public AggregationAuthorization withCreationTime(Date creationTime)
The time stamp when the aggregation authorization was created.
creationTime
- The time stamp when the aggregation authorization was created.public String toString()
toString
in class Object
Object.toString()
public AggregationAuthorization clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.