Class UpdatePricingRuleRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.billingconductor.model.BillingconductorRequest
-
- software.amazon.awssdk.services.billingconductor.model.UpdatePricingRuleRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdatePricingRuleRequest.Builder,UpdatePricingRuleRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdatePricingRuleRequest extends BillingconductorRequest implements ToCopyableBuilder<UpdatePricingRuleRequest.Builder,UpdatePricingRuleRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdatePricingRuleRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the pricing rule to update.static UpdatePricingRuleRequest.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()DoublemodifierPercentage()The new modifier to show pricing plan rates as a percentage.Stringname()The new name of the pricing rule.List<SdkField<?>>sdkFields()static Class<? extends UpdatePricingRuleRequest.Builder>serializableBuilderClass()UpdateTieringInputtiering()The set of tiering configurations for the pricing rule.UpdatePricingRuleRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.PricingRuleTypetype()The new pricing rule type.StringtypeAsString()The new pricing rule type.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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 pricing rule to update.
- Returns:
- The Amazon Resource Name (ARN) of the pricing rule to update.
-
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.
-
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.
-
tiering
public final UpdateTieringInput tiering()
The set of tiering configurations for the pricing rule.
- Returns:
- The set of tiering configurations for the pricing rule.
-
toBuilder
public UpdatePricingRuleRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdatePricingRuleRequest.Builder,UpdatePricingRuleRequest>- Specified by:
toBuilderin classBillingconductorRequest
-
builder
public static UpdatePricingRuleRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdatePricingRuleRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-