Class UpdateBillingGroupResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.billingconductor.model.BillingconductorResponse
-
- software.amazon.awssdk.services.billingconductor.model.UpdateBillingGroupResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateBillingGroupResponse.Builder,UpdateBillingGroupResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdateBillingGroupResponse extends BillingconductorResponse implements ToCopyableBuilder<UpdateBillingGroupResponse.Builder,UpdateBillingGroupResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateBillingGroupResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateBillingGroupAccountGroupingaccountGrouping()Specifies if the billing group has automatic account association (AutoAssociate) enabled.Stringarn()The Amazon Resource Name (ARN) of the billing group that was updated.static UpdateBillingGroupResponse.Builderbuilder()Stringdescription()A description of the billing group.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LonglastModifiedTime()The most recent time when the billing group was modified.Stringname()The name of the billing group.StringpricingPlanArn()The Amazon Resource Name (ARN) of the pricing plan to compute Amazon Web Services charges for the billing group.StringprimaryAccountId()The account ID that serves as the main account in a billing group.List<SdkField<?>>sdkFields()static Class<? extends UpdateBillingGroupResponse.Builder>serializableBuilderClass()Longsize()The number of accounts in the particular billing group.BillingGroupStatusstatus()The status of the billing group.StringstatusAsString()The status of the billing group.StringstatusReason()The reason why the billing group is in its current status.UpdateBillingGroupResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.billingconductor.model.BillingconductorResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the billing group that was updated.
- Returns:
- The Amazon Resource Name (ARN) of the billing group that was updated.
-
name
public final String name()
The name of the billing group. The names must be unique to each billing group.
- Returns:
- The name of the billing group. The names must be unique to each billing group.
-
description
public final String description()
A description of the billing group.
- Returns:
- A description of the billing group.
-
primaryAccountId
public final String primaryAccountId()
The account ID that serves as the main account in a billing group.
- Returns:
- The account ID that serves as the main account in a billing group.
-
pricingPlanArn
public final String pricingPlanArn()
The Amazon Resource Name (ARN) of the pricing plan to compute Amazon Web Services charges for the billing group.
- Returns:
- The Amazon Resource Name (ARN) of the pricing plan to compute Amazon Web Services charges for the billing group.
-
size
public final Long size()
The number of accounts in the particular billing group.
- Returns:
- The number of accounts in the particular billing group.
-
lastModifiedTime
public final Long lastModifiedTime()
The most recent time when the billing group was modified.
- Returns:
- The most recent time when the billing group was modified.
-
status
public final BillingGroupStatus status()
The status of the billing group. Only one of the valid values can be used.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnBillingGroupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the billing group. Only one of the valid values can be used.
- See Also:
BillingGroupStatus
-
statusAsString
public final String statusAsString()
The status of the billing group. Only one of the valid values can be used.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnBillingGroupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the billing group. Only one of the valid values can be used.
- See Also:
BillingGroupStatus
-
statusReason
public final String statusReason()
The reason why the billing group is in its current status.
- Returns:
- The reason why the billing group is in its current status.
-
accountGrouping
public final UpdateBillingGroupAccountGrouping accountGrouping()
Specifies if the billing group has automatic account association (
AutoAssociate) enabled.- Returns:
- Specifies if the billing group has automatic account association (
AutoAssociate) enabled.
-
toBuilder
public UpdateBillingGroupResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateBillingGroupResponse.Builder,UpdateBillingGroupResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static UpdateBillingGroupResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateBillingGroupResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-