Class UpdatePricingRuleResponse
- 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.UpdatePricingRuleResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdatePricingRuleResponse.Builder,UpdatePricingRuleResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdatePricingRuleResponse extends BillingconductorResponse implements ToCopyableBuilder<UpdatePricingRuleResponse.Builder,UpdatePricingRuleResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdatePricingRuleResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the successfully updated pricing rule.LongassociatedPricingPlanCount()The pricing plans count that this pricing rule is associated with.StringbillingEntity()The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.static UpdatePricingRuleResponse.Builderbuilder()Stringdescription()The new description for the pricing rule.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LonglastModifiedTime()The most recent time the pricing rule was modified.DoublemodifierPercentage()The new modifier to show pricing plan rates as a percentage.Stringname()The new name of the pricing rule.Stringoperation()Operation refers to the specific Amazon Web Services covered by this line item.PricingRuleScopescope()The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.StringscopeAsString()The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.List<SdkField<?>>sdkFields()static Class<? extends UpdatePricingRuleResponse.Builder>serializableBuilderClass()Stringservice()If theScopeattribute is set toSERVICE, the attribute indicates which service thePricingRuleis applicable for.UpdateTieringInputtiering()The set of tiering configurations for the pricing rule.UpdatePricingRuleResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.PricingRuleTypetype()The new pricing rule type.StringtypeAsString()The new pricing rule type.StringusageType()Usage type is the unit that each service uses to measure the usage of a specific type of resource.-
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 successfully updated pricing rule.
- Returns:
- The Amazon Resource Name (ARN) of the successfully updated pricing rule.
-
name
public final String name()
The new name of the pricing rule. The name must be unique to each pricing rule.
- Returns:
- The new name of the pricing rule. The name must be unique to each pricing rule.
-
description
public final String description()
The new description for the pricing rule.
- Returns:
- The new description for the pricing rule.
-
scope
public final PricingRuleScope scope()
The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
If the service returns an enum value that is not available in the current SDK version,
scopewill returnPricingRuleScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
- See Also:
PricingRuleScope
-
scopeAsString
public final String scopeAsString()
The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
If the service returns an enum value that is not available in the current SDK version,
scopewill returnPricingRuleScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
- See Also:
PricingRuleScope
-
type
public final PricingRuleType type()
The new pricing rule type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnPricingRuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The new pricing rule type.
- See Also:
PricingRuleType
-
typeAsString
public final String typeAsString()
The new pricing rule type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnPricingRuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The new pricing rule type.
- See Also:
PricingRuleType
-
modifierPercentage
public final Double modifierPercentage()
The new modifier to show pricing plan rates as a percentage.
- Returns:
- The new modifier to show pricing plan rates as a percentage.
-
service
public final String service()
If the
Scopeattribute is set toSERVICE, the attribute indicates which service thePricingRuleis applicable for.- Returns:
- If the
Scopeattribute is set toSERVICE, the attribute indicates which service thePricingRuleis applicable for.
-
associatedPricingPlanCount
public final Long associatedPricingPlanCount()
The pricing plans count that this pricing rule is associated with.
- Returns:
- The pricing plans count that this pricing rule is associated with.
-
lastModifiedTime
public final Long lastModifiedTime()
The most recent time the pricing rule was modified.
- Returns:
- The most recent time the pricing rule was modified.
-
billingEntity
public final String billingEntity()
The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
- Returns:
- The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
-
tiering
public final UpdateTieringInput tiering()
The set of tiering configurations for the pricing rule.
- Returns:
- The set of tiering configurations for the pricing rule.
-
usageType
public final String usageType()
Usage type is the unit that each service uses to measure the usage of a specific type of resource.
If the
Scopeattribute is set toSKU, this attribute indicates which usage type thePricingRuleis modifying. For example,USW2-BoxUsage:m2.2xlargedescribes anM2 High Memory Double Extra Largeinstance in the US West (Oregon) Region.- Returns:
- Usage type is the unit that each service uses to measure the usage of a specific type of resource.
If the
Scopeattribute is set toSKU, this attribute indicates which usage type thePricingRuleis modifying. For example,USW2-BoxUsage:m2.2xlargedescribes anM2 High Memory Double Extra Largeinstance in the US West (Oregon) Region.
-
operation
public final String operation()
Operation refers to the specific Amazon Web Services covered by this line item. This describes the specific usage of the line item.
If the
Scopeattribute is set toSKU, this attribute indicates which operation thePricingRuleis modifying. For example, a value ofRunInstances:0202indicates the operation of running an Amazon EC2 instance.- Returns:
- Operation refers to the specific Amazon Web Services covered by this line item. This describes the
specific usage of the line item.
If the
Scopeattribute is set toSKU, this attribute indicates which operation thePricingRuleis modifying. For example, a value ofRunInstances:0202indicates the operation of running an Amazon EC2 instance.
-
toBuilder
public UpdatePricingRuleResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdatePricingRuleResponse.Builder,UpdatePricingRuleResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static UpdatePricingRuleResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdatePricingRuleResponse.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
-
-