@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAccountResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents an AWS account that is associated with API Gateway.
Constructor and Description |
---|
UpdateAccountResult() |
Modifier and Type | Method and Description |
---|---|
UpdateAccountResult |
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.
|
UpdateAccountResult |
withApiKeyVersion(String apiKeyVersion)
The version of the API keys used for the account.
|
UpdateAccountResult |
withCloudwatchRoleArn(String cloudwatchRoleArn)
The ARN of an Amazon CloudWatch role for the current Account.
|
UpdateAccountResult |
withFeatures(Collection<String> features)
A list of features supported for the account.
|
UpdateAccountResult |
withFeatures(String... features)
A list of features supported for the account.
|
UpdateAccountResult |
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 UpdateAccountResult 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 UpdateAccountResult 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 UpdateAccountResult 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 UpdateAccountResult 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 UpdateAccountResult 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 UpdateAccountResult clone()