@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAccountResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents an AWS account that is associated with API Gateway.
Constructor and Description |
---|
GetAccountResult() |
Modifier and Type | Method and Description |
---|---|
GetAccountResult |
clone() |
boolean |
equals(Object obj) |
String |
getApiKeyVersion()
The version of the API keys used for the account.
|
String |
getCloudwatchRoleArn()
The ARN of an Amazon CloudWatch role for the current Account.
|
List<String> |
getFeatures()
A list of features supported for the account.
|
ThrottleSettings |
getThrottleSettings()
Specifies the API request limits configured for the current Account.
|
int |
hashCode() |
void |
setApiKeyVersion(String apiKeyVersion)
The version of the API keys used for the account.
|
void |
setCloudwatchRoleArn(String cloudwatchRoleArn)
The ARN of an Amazon CloudWatch role for the current Account.
|
void |
setFeatures(Collection<String> features)
A list of features supported for the account.
|
void |
setThrottleSettings(ThrottleSettings throttleSettings)
Specifies the API request limits configured for the current Account.
|
String |
toString()
Returns a string representation of this object.
|
GetAccountResult |
withApiKeyVersion(String apiKeyVersion)
The version of the API keys used for the account.
|
GetAccountResult |
withCloudwatchRoleArn(String cloudwatchRoleArn)
The ARN of an Amazon CloudWatch role for the current Account.
|
GetAccountResult |
withFeatures(Collection<String> features)
A list of features supported for the account.
|
GetAccountResult |
withFeatures(String... features)
A list of features supported for the account.
|
GetAccountResult |
withThrottleSettings(ThrottleSettings throttleSettings)
Specifies the API request limits configured for the current Account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCloudwatchRoleArn(String cloudwatchRoleArn)
The ARN of an Amazon CloudWatch role for the current Account.
cloudwatchRoleArn
- The ARN of an Amazon CloudWatch role for the current Account.public String getCloudwatchRoleArn()
The ARN of an Amazon CloudWatch role for the current Account.
public GetAccountResult withCloudwatchRoleArn(String cloudwatchRoleArn)
The ARN of an Amazon CloudWatch role for the current Account.
cloudwatchRoleArn
- The ARN of an Amazon CloudWatch role for the current Account.public void setThrottleSettings(ThrottleSettings throttleSettings)
Specifies the API request limits configured for the current Account.
throttleSettings
- Specifies the API request limits configured for the current Account.public ThrottleSettings getThrottleSettings()
Specifies the API request limits configured for the current Account.
public GetAccountResult withThrottleSettings(ThrottleSettings throttleSettings)
Specifies the API request limits configured for the current Account.
throttleSettings
- Specifies the API request limits configured for the current Account.public List<String> getFeatures()
A list of features supported for the account. When usage plans are enabled, the features list will include an
entry of "UsagePlans"
.
"UsagePlans"
.public void setFeatures(Collection<String> features)
A list of features supported for the account. When usage plans are enabled, the features list will include an
entry of "UsagePlans"
.
features
- A list of features supported for the account. When usage plans are enabled, the features list will include
an entry of "UsagePlans"
.public GetAccountResult withFeatures(String... features)
A list of features supported for the account. When usage plans are enabled, the features list will include an
entry of "UsagePlans"
.
NOTE: This method appends the values to the existing list (if any). Use
setFeatures(java.util.Collection)
or withFeatures(java.util.Collection)
if you want to override
the existing values.
features
- A list of features supported for the account. When usage plans are enabled, the features list will include
an entry of "UsagePlans"
.public GetAccountResult withFeatures(Collection<String> features)
A list of features supported for the account. When usage plans are enabled, the features list will include an
entry of "UsagePlans"
.
features
- A list of features supported for the account. When usage plans are enabled, the features list will include
an entry of "UsagePlans"
.public void setApiKeyVersion(String apiKeyVersion)
The version of the API keys used for the account.
apiKeyVersion
- The version of the API keys used for the account.public String getApiKeyVersion()
The version of the API keys used for the account.
public GetAccountResult withApiKeyVersion(String apiKeyVersion)
The version of the API keys used for the account.
apiKeyVersion
- The version of the API keys used for the account.public String toString()
toString
in class Object
Object.toString()
public GetAccountResult clone()