Class ResourceSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconnect.model.ResourceSpecification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceSpecification.Builder,ResourceSpecification>
@Generated("software.amazon.awssdk:codegen") public final class ResourceSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceSpecification.Builder,ResourceSpecification>
A definition of what is being billed for, including the type and amount.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceSpecification.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerreservedBitrate()The amount of outbound bandwidth that is discounted in the offering.ResourceTyperesourceType()The type of resource and the unit that is being billed for.StringresourceTypeAsString()The type of resource and the unit that is being billed for.List<SdkField<?>>sdkFields()static Class<? extends ResourceSpecification.Builder>serializableBuilderClass()ResourceSpecification.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
reservedBitrate
public final Integer reservedBitrate()
The amount of outbound bandwidth that is discounted in the offering.- Returns:
- The amount of outbound bandwidth that is discounted in the offering.
-
resourceType
public final ResourceType resourceType()
The type of resource and the unit that is being billed for.If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of resource and the unit that is being billed for.
- See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The type of resource and the unit that is being billed for.If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of resource and the unit that is being billed for.
- See Also:
ResourceType
-
toBuilder
public ResourceSpecification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceSpecification.Builder,ResourceSpecification>
-
builder
public static ResourceSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceSpecification.Builder> serializableBuilderClass()
-
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.
-
-