Class TransitGatewayMeteringPolicyEntry
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TransitGatewayMeteringPolicyEntry.Builder,TransitGatewayMeteringPolicyEntry>
Describes an entry in a transit gateway metering policy.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()The Amazon Web Services account ID to which the metered traffic is attributed.final StringThe Amazon Web Services account ID to which the metered traffic is attributed.The metering policy rule that defines traffic matching criteria.final StringThe rule number of the metering policy entry.static Class<? extends TransitGatewayMeteringPolicyEntry.Builder>state()The state of the metering policy entry.final StringThe state of the metering policy entry.final StringtoString()Returns a string representation of this object.final InstantThe date and time when the metering policy entry was last updated.final InstantThe date and time when the metering policy entry update becomes effective.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
policyRuleNumber
The rule number of the metering policy entry.
- Returns:
- The rule number of the metering policy entry.
-
meteredAccount
The Amazon Web Services account ID to which the metered traffic is attributed.
If the service returns an enum value that is not available in the current SDK version,
meteredAccountwill returnTransitGatewayMeteringPayerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommeteredAccountAsString().- Returns:
- The Amazon Web Services account ID to which the metered traffic is attributed.
- See Also:
-
meteredAccountAsString
The Amazon Web Services account ID to which the metered traffic is attributed.
If the service returns an enum value that is not available in the current SDK version,
meteredAccountwill returnTransitGatewayMeteringPayerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommeteredAccountAsString().- Returns:
- The Amazon Web Services account ID to which the metered traffic is attributed.
- See Also:
-
state
The state of the metering policy entry.
If the service returns an enum value that is not available in the current SDK version,
statewill returnTransitGatewayMeteringPolicyEntryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the metering policy entry.
- See Also:
-
stateAsString
The state of the metering policy entry.
If the service returns an enum value that is not available in the current SDK version,
statewill returnTransitGatewayMeteringPolicyEntryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the metering policy entry.
- See Also:
-
updatedAt
The date and time when the metering policy entry was last updated.
- Returns:
- The date and time when the metering policy entry was last updated.
-
updateEffectiveAt
The date and time when the metering policy entry update becomes effective.
- Returns:
- The date and time when the metering policy entry update becomes effective.
-
meteringPolicyRule
The metering policy rule that defines traffic matching criteria.
- Returns:
- The metering policy rule that defines traffic matching criteria.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<TransitGatewayMeteringPolicyEntry.Builder,TransitGatewayMeteringPolicyEntry>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-