Class ServiceQuotaWarningSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceQuotaWarningSummary.Builder,ServiceQuotaWarningSummary>
A service quota warning for a plan. Region switch creates a warning when the applied quota value in one Region of a plan is lower than the value for the matching resource in another Region or account in the plan, or when it can't complete a service quota check.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Amazon Web Services account ID that owns the plan that the warning applies to.builder()final StringcaseId()The ID of the support case associated with the quota increase request, if Region switch submitted one for this quota.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe time (UTC) when Region switch last checked this quota.final StringplanArn()The Amazon Resource Name (ARN) of the plan that the warning applies to.final StringThe quota code of the quota that the warning applies to, as defined in Service Quotas.final StringThe name of the quota that the warning applies to, as defined in Service Quotas.final StringThe Amazon Web Services Region that the quota applies to.final StringThe ID of the quota increase request that Region switch submitted, if it submitted one for this quota.static Class<? extends ServiceQuotaWarningSummary.Builder> final StringThe service code of the service that the quota belongs to, as defined in Service Quotas.status()The status of the service quota warning.final StringThe status of the service quota warning.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final InstantThe time (UTC) when Region switch created this warning.final StringA message that describes the service quota warning.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
accountId
The Amazon Web Services account ID that owns the plan that the warning applies to.
- Returns:
- The Amazon Web Services account ID that owns the plan that the warning applies to.
-
quotaRegion
The Amazon Web Services Region that the quota applies to.
- Returns:
- The Amazon Web Services Region that the quota applies to.
-
serviceCode
The service code of the service that the quota belongs to, as defined in Service Quotas. For example,
ec2.- Returns:
- The service code of the service that the quota belongs to, as defined in Service Quotas. For example,
ec2.
-
quotaCode
The quota code of the quota that the warning applies to, as defined in Service Quotas.
- Returns:
- The quota code of the quota that the warning applies to, as defined in Service Quotas.
-
quotaName
The name of the quota that the warning applies to, as defined in Service Quotas.
- Returns:
- The name of the quota that the warning applies to, as defined in Service Quotas.
-
status
The status of the service quota warning.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnServiceQuotaWarningStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the service quota warning.
- See Also:
-
statusAsString
The status of the service quota warning.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnServiceQuotaWarningStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the service quota warning.
- See Also:
-
planArn
The Amazon Resource Name (ARN) of the plan that the warning applies to.
- Returns:
- The Amazon Resource Name (ARN) of the plan that the warning applies to.
-
requestId
The ID of the quota increase request that Region switch submitted, if it submitted one for this quota.
- Returns:
- The ID of the quota increase request that Region switch submitted, if it submitted one for this quota.
-
caseId
The ID of the support case associated with the quota increase request, if Region switch submitted one for this quota.
- Returns:
- The ID of the support case associated with the quota increase request, if Region switch submitted one for this quota.
-
warningMessage
A message that describes the service quota warning.
- Returns:
- A message that describes the service quota warning.
-
lastCheckedAt
The time (UTC) when Region switch last checked this quota.
- Returns:
- The time (UTC) when Region switch last checked this quota.
-
warningCreatedAt
The time (UTC) when Region switch created this warning.
- Returns:
- The time (UTC) when Region switch created this warning.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceQuotaWarningSummary.Builder,ServiceQuotaWarningSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-