@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RootCause extends Object implements Serializable, Cloneable, StructuredPojo
The combination of AWS service, linked account, Region, and usage type where a cost anomaly is observed.
Constructor and Description |
---|
RootCause() |
Modifier and Type | Method and Description |
---|---|
RootCause |
clone() |
boolean |
equals(Object obj) |
String |
getLinkedAccount()
The linked account value associated with the cost anomaly.
|
String |
getRegion()
The AWS Region associated with the cost anomaly.
|
String |
getService()
The AWS service name associated with the cost anomaly.
|
String |
getUsageType()
The
UsageType value associated with the cost anomaly. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLinkedAccount(String linkedAccount)
The linked account value associated with the cost anomaly.
|
void |
setRegion(String region)
The AWS Region associated with the cost anomaly.
|
void |
setService(String service)
The AWS service name associated with the cost anomaly.
|
void |
setUsageType(String usageType)
The
UsageType value associated with the cost anomaly. |
String |
toString()
Returns a string representation of this object.
|
RootCause |
withLinkedAccount(String linkedAccount)
The linked account value associated with the cost anomaly.
|
RootCause |
withRegion(String region)
The AWS Region associated with the cost anomaly.
|
RootCause |
withService(String service)
The AWS service name associated with the cost anomaly.
|
RootCause |
withUsageType(String usageType)
The
UsageType value associated with the cost anomaly. |
public void setService(String service)
The AWS service name associated with the cost anomaly.
service
- The AWS service name associated with the cost anomaly.public String getService()
The AWS service name associated with the cost anomaly.
public RootCause withService(String service)
The AWS service name associated with the cost anomaly.
service
- The AWS service name associated with the cost anomaly.public void setRegion(String region)
The AWS Region associated with the cost anomaly.
region
- The AWS Region associated with the cost anomaly.public String getRegion()
The AWS Region associated with the cost anomaly.
public RootCause withRegion(String region)
The AWS Region associated with the cost anomaly.
region
- The AWS Region associated with the cost anomaly.public void setLinkedAccount(String linkedAccount)
The linked account value associated with the cost anomaly.
linkedAccount
- The linked account value associated with the cost anomaly.public String getLinkedAccount()
The linked account value associated with the cost anomaly.
public RootCause withLinkedAccount(String linkedAccount)
The linked account value associated with the cost anomaly.
linkedAccount
- The linked account value associated with the cost anomaly.public void setUsageType(String usageType)
The UsageType
value associated with the cost anomaly.
usageType
- The UsageType
value associated with the cost anomaly.public String getUsageType()
The UsageType
value associated with the cost anomaly.
UsageType
value associated with the cost anomaly.public RootCause withUsageType(String usageType)
The UsageType
value associated with the cost anomaly.
usageType
- The UsageType
value associated with the cost anomaly.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.