@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RootCause extends Object implements Serializable, Cloneable, StructuredPojo
The combination of Amazon Web Service, linked account, linked account name, Region, and usage type where a cost anomaly is observed. The linked account name will only be available when the account name can be identified.
Constructor and Description |
---|
RootCause() |
Modifier and Type | Method and Description |
---|---|
RootCause |
clone() |
boolean |
equals(Object obj) |
String |
getLinkedAccount()
The member account value that's associated with the cost anomaly.
|
String |
getLinkedAccountName()
The member account name value that's associated with the cost anomaly.
|
String |
getRegion()
The Amazon Web Services Region that's associated with the cost anomaly.
|
String |
getService()
The Amazon Web Service name that's associated with the cost anomaly.
|
String |
getUsageType()
The
UsageType value that's associated with the cost anomaly. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLinkedAccount(String linkedAccount)
The member account value that's associated with the cost anomaly.
|
void |
setLinkedAccountName(String linkedAccountName)
The member account name value that's associated with the cost anomaly.
|
void |
setRegion(String region)
The Amazon Web Services Region that's associated with the cost anomaly.
|
void |
setService(String service)
The Amazon Web Service name that's associated with the cost anomaly.
|
void |
setUsageType(String usageType)
The
UsageType value that's associated with the cost anomaly. |
String |
toString()
Returns a string representation of this object.
|
RootCause |
withLinkedAccount(String linkedAccount)
The member account value that's associated with the cost anomaly.
|
RootCause |
withLinkedAccountName(String linkedAccountName)
The member account name value that's associated with the cost anomaly.
|
RootCause |
withRegion(String region)
The Amazon Web Services Region that's associated with the cost anomaly.
|
RootCause |
withService(String service)
The Amazon Web Service name that's associated with the cost anomaly.
|
RootCause |
withUsageType(String usageType)
The
UsageType value that's associated with the cost anomaly. |
public void setService(String service)
The Amazon Web Service name that's associated with the cost anomaly.
service
- The Amazon Web Service name that's associated with the cost anomaly.public String getService()
The Amazon Web Service name that's associated with the cost anomaly.
public RootCause withService(String service)
The Amazon Web Service name that's associated with the cost anomaly.
service
- The Amazon Web Service name that's associated with the cost anomaly.public void setRegion(String region)
The Amazon Web Services Region that's associated with the cost anomaly.
region
- The Amazon Web Services Region that's associated with the cost anomaly.public String getRegion()
The Amazon Web Services Region that's associated with the cost anomaly.
public RootCause withRegion(String region)
The Amazon Web Services Region that's associated with the cost anomaly.
region
- The Amazon Web Services Region that's associated with the cost anomaly.public void setLinkedAccount(String linkedAccount)
The member account value that's associated with the cost anomaly.
linkedAccount
- The member account value that's associated with the cost anomaly.public String getLinkedAccount()
The member account value that's associated with the cost anomaly.
public RootCause withLinkedAccount(String linkedAccount)
The member account value that's associated with the cost anomaly.
linkedAccount
- The member account value that's associated with the cost anomaly.public void setUsageType(String usageType)
The UsageType
value that's associated with the cost anomaly.
usageType
- The UsageType
value that's associated with the cost anomaly.public String getUsageType()
The UsageType
value that's associated with the cost anomaly.
UsageType
value that's associated with the cost anomaly.public RootCause withUsageType(String usageType)
The UsageType
value that's associated with the cost anomaly.
usageType
- The UsageType
value that's associated with the cost anomaly.public void setLinkedAccountName(String linkedAccountName)
The member account name value that's associated with the cost anomaly.
linkedAccountName
- The member account name value that's associated with the cost anomaly.public String getLinkedAccountName()
The member account name value that's associated with the cost anomaly.
public RootCause withLinkedAccountName(String linkedAccountName)
The member account name value that's associated with the cost anomaly.
linkedAccountName
- The member account name value that's 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.