Class FreeTierOutcome
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FreeTierOutcome.Builder,FreeTierOutcome>
The Free plan's modeled outcome. Absent when plans has no Free plan and no free trial is suggested, for
example when the request's planOptions.freeTierInclusion is EXCLUDE, or is absent for ENTERPRISE with no
planOptions.pricingModelPreference, or absent with a pricingModelPreference other than
TIERED. One case is NOT_INCLUDED instead of absent: a per-use model the service chose, with no
pricingModelPreference, for a segment whose default considers a Free plan (statusSource
SEGMENT_DEFAULT). planOptions.freeTierInclusion INCLUDE never gives a per-use model: with no preference
it limits the choice to TIERED, and with a PER_USE or PER_USE_SPLIT preference it is rejected.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FreeTierOutcome.Builderbuilder()final DoubleModeled share of free users who convert to the paid plan.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final DoubleModeled number of free users, as a whole number.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final PriceMonthly cost of serving the free users: for INCLUDED, the Free plan's cost; for TRIAL_SUGGESTED and NOT_INCLUDED, what a Free plan at the default quota would cost.static Class<? extends FreeTierOutcome.Builder> final FreeTierStatusstatus()Whether a Free plan is included, or what is suggested instead.final StringWhether a Free plan is included, or what is suggested instead.final FreeTierStatusSourceWhetherstatusfollows the request'splanOptions.freeTierInclusionor the segment's default.final StringWhetherstatusfollows the request'splanOptions.freeTierInclusionor the segment's default.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 IntegerLength of the suggested free trial.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
status
Whether a Free plan is included, or what is suggested instead.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFreeTierStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Whether a Free plan is included, or what is suggested instead.
- See Also:
-
statusAsString
Whether a Free plan is included, or what is suggested instead.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFreeTierStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Whether a Free plan is included, or what is suggested instead.
- See Also:
-
statusSource
Whether
statusfollows the request'splanOptions.freeTierInclusionor the segment's default.If the service returns an enum value that is not available in the current SDK version,
statusSourcewill returnFreeTierStatusSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusSourceAsString().- Returns:
- Whether
statusfollows the request'splanOptions.freeTierInclusionor the segment's default. - See Also:
-
statusSourceAsString
Whether
statusfollows the request'splanOptions.freeTierInclusionor the segment's default.If the service returns an enum value that is not available in the current SDK version,
statusSourcewill returnFreeTierStatusSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusSourceAsString().- Returns:
- Whether
statusfollows the request'splanOptions.freeTierInclusionor the segment's default. - See Also:
-
trialDays
Length of the suggested free trial. TRIAL_SUGGESTED only.
- Returns:
- Length of the suggested free trial. TRIAL_SUGGESTED only.
-
freeUsers
Modeled number of free users, as a whole number. INCLUDED, or NOT_INCLUDED with what a Free plan would cost.
- Returns:
- Modeled number of free users, as a whole number. INCLUDED, or NOT_INCLUDED with what a Free plan would cost.
-
conversion
Modeled share of free users who convert to the paid plan. Not returned.
- Returns:
- Modeled share of free users who convert to the paid plan. Not returned.
-
monthlyCost
Monthly cost of serving the free users: for INCLUDED, the Free plan's cost; for TRIAL_SUGGESTED and NOT_INCLUDED, what a Free plan at the default quota would cost. Up to 4 decimal places.
- Returns:
- Monthly cost of serving the free users: for INCLUDED, the Free plan's cost; for TRIAL_SUGGESTED and NOT_INCLUDED, what a Free plan at the default quota would cost. Up to 4 decimal places.
-
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<FreeTierOutcome.Builder,FreeTierOutcome> - 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.
-