Class OrderingRequirement
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OrderingRequirement.Builder,OrderingRequirement>
A requirement that must be met before an order can be submitted for a quote.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic OrderingRequirement.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final OrderingRequirementTypeThe type of ordering requirement.final StringThe type of ordering requirement.static Class<? extends OrderingRequirement.Builder>status()The status of the ordering requirement.final StringThe status of the ordering requirement.final StringA message about the ordering requirement.final StringtoString()Returns a string representation of this object.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
-
statusMessage
A message about the ordering requirement.
- Returns:
- A message about the ordering requirement.
-
orderingRequirementType
The type of ordering requirement. Indicates which check failed or passed.
-
OUTPOST_ACTIVE_CHECK_ERROR- The Outpost must be in an active state. -
MAXIMUM_ALLOWED_ORDERS_CHECK_ERROR- The maximum number of allowed orders has been reached. -
VALID_ZIP_CODE_CHECK_ERROR- The site address must have a valid zip code. -
RACK_PHYSICAL_PROPERTIES_CHECK_ERROR- The rack physical properties do not meet requirements. -
OPERATING_ADDRESS_EXISTENCE_CHECK_ERROR- The site must have an operating address. -
SHIPPING_ADDRESS_EXISTENCE_CHECK_ERROR- The site must have a shipping address. -
COUNTRY_CODE_MISMATCH_CHECK_ERROR- The country code on the quote does not match the Outpost site country. -
OUTPOST_GENERATION_MISMATCH_ERROR- The Outpost generation does not match the requested configuration. -
OUTPOST_ID_MISSING_ON_QUOTE_ERROR- The quote must be associated with an Outpost before submitting an order. -
ENTERPRISE_SUPPORT_ERROR- Enterprise Support is required. -
SHIPPING_ADDRESS_MISSING_CONTACT_NAME_ERROR- The shipping address must have a contact name. -
SHIPPING_ADDRESS_MISSING_CONTACT_NUMBER_ERROR- The shipping address must have a contact phone number. -
SHIPPING_ADDRESS_MISSING_CONTACT_INFO_ERROR- The shipping address must have contact information. -
OUTPOST_STATE_CHANGED_ERROR- The Outpost state has changed since the quote was created. -
OUTPOST_NOT_FOUND_ERROR- The Outpost associated with the quote was not found. -
OUTPOST_RENEWAL_REQUIRED_ERROR- The Outpost requires a renewal before a new order can be submitted. -
UNSUPPORTED- The requirement type is not recognized.
If the service returns an enum value that is not available in the current SDK version,
orderingRequirementTypewill returnOrderingRequirementType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderingRequirementTypeAsString().- Returns:
- The type of ordering requirement. Indicates which check failed or passed.
-
OUTPOST_ACTIVE_CHECK_ERROR- The Outpost must be in an active state. -
MAXIMUM_ALLOWED_ORDERS_CHECK_ERROR- The maximum number of allowed orders has been reached. -
VALID_ZIP_CODE_CHECK_ERROR- The site address must have a valid zip code. -
RACK_PHYSICAL_PROPERTIES_CHECK_ERROR- The rack physical properties do not meet requirements. -
OPERATING_ADDRESS_EXISTENCE_CHECK_ERROR- The site must have an operating address. -
SHIPPING_ADDRESS_EXISTENCE_CHECK_ERROR- The site must have a shipping address. -
COUNTRY_CODE_MISMATCH_CHECK_ERROR- The country code on the quote does not match the Outpost site country. -
OUTPOST_GENERATION_MISMATCH_ERROR- The Outpost generation does not match the requested configuration. -
OUTPOST_ID_MISSING_ON_QUOTE_ERROR- The quote must be associated with an Outpost before submitting an order. -
ENTERPRISE_SUPPORT_ERROR- Enterprise Support is required. -
SHIPPING_ADDRESS_MISSING_CONTACT_NAME_ERROR- The shipping address must have a contact name. -
SHIPPING_ADDRESS_MISSING_CONTACT_NUMBER_ERROR- The shipping address must have a contact phone number. -
SHIPPING_ADDRESS_MISSING_CONTACT_INFO_ERROR- The shipping address must have contact information. -
OUTPOST_STATE_CHANGED_ERROR- The Outpost state has changed since the quote was created. -
OUTPOST_NOT_FOUND_ERROR- The Outpost associated with the quote was not found. -
OUTPOST_RENEWAL_REQUIRED_ERROR- The Outpost requires a renewal before a new order can be submitted. -
UNSUPPORTED- The requirement type is not recognized.
-
- See Also:
-
-
orderingRequirementTypeAsString
The type of ordering requirement. Indicates which check failed or passed.
-
OUTPOST_ACTIVE_CHECK_ERROR- The Outpost must be in an active state. -
MAXIMUM_ALLOWED_ORDERS_CHECK_ERROR- The maximum number of allowed orders has been reached. -
VALID_ZIP_CODE_CHECK_ERROR- The site address must have a valid zip code. -
RACK_PHYSICAL_PROPERTIES_CHECK_ERROR- The rack physical properties do not meet requirements. -
OPERATING_ADDRESS_EXISTENCE_CHECK_ERROR- The site must have an operating address. -
SHIPPING_ADDRESS_EXISTENCE_CHECK_ERROR- The site must have a shipping address. -
COUNTRY_CODE_MISMATCH_CHECK_ERROR- The country code on the quote does not match the Outpost site country. -
OUTPOST_GENERATION_MISMATCH_ERROR- The Outpost generation does not match the requested configuration. -
OUTPOST_ID_MISSING_ON_QUOTE_ERROR- The quote must be associated with an Outpost before submitting an order. -
ENTERPRISE_SUPPORT_ERROR- Enterprise Support is required. -
SHIPPING_ADDRESS_MISSING_CONTACT_NAME_ERROR- The shipping address must have a contact name. -
SHIPPING_ADDRESS_MISSING_CONTACT_NUMBER_ERROR- The shipping address must have a contact phone number. -
SHIPPING_ADDRESS_MISSING_CONTACT_INFO_ERROR- The shipping address must have contact information. -
OUTPOST_STATE_CHANGED_ERROR- The Outpost state has changed since the quote was created. -
OUTPOST_NOT_FOUND_ERROR- The Outpost associated with the quote was not found. -
OUTPOST_RENEWAL_REQUIRED_ERROR- The Outpost requires a renewal before a new order can be submitted. -
UNSUPPORTED- The requirement type is not recognized.
If the service returns an enum value that is not available in the current SDK version,
orderingRequirementTypewill returnOrderingRequirementType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderingRequirementTypeAsString().- Returns:
- The type of ordering requirement. Indicates which check failed or passed.
-
OUTPOST_ACTIVE_CHECK_ERROR- The Outpost must be in an active state. -
MAXIMUM_ALLOWED_ORDERS_CHECK_ERROR- The maximum number of allowed orders has been reached. -
VALID_ZIP_CODE_CHECK_ERROR- The site address must have a valid zip code. -
RACK_PHYSICAL_PROPERTIES_CHECK_ERROR- The rack physical properties do not meet requirements. -
OPERATING_ADDRESS_EXISTENCE_CHECK_ERROR- The site must have an operating address. -
SHIPPING_ADDRESS_EXISTENCE_CHECK_ERROR- The site must have a shipping address. -
COUNTRY_CODE_MISMATCH_CHECK_ERROR- The country code on the quote does not match the Outpost site country. -
OUTPOST_GENERATION_MISMATCH_ERROR- The Outpost generation does not match the requested configuration. -
OUTPOST_ID_MISSING_ON_QUOTE_ERROR- The quote must be associated with an Outpost before submitting an order. -
ENTERPRISE_SUPPORT_ERROR- Enterprise Support is required. -
SHIPPING_ADDRESS_MISSING_CONTACT_NAME_ERROR- The shipping address must have a contact name. -
SHIPPING_ADDRESS_MISSING_CONTACT_NUMBER_ERROR- The shipping address must have a contact phone number. -
SHIPPING_ADDRESS_MISSING_CONTACT_INFO_ERROR- The shipping address must have contact information. -
OUTPOST_STATE_CHANGED_ERROR- The Outpost state has changed since the quote was created. -
OUTPOST_NOT_FOUND_ERROR- The Outpost associated with the quote was not found. -
OUTPOST_RENEWAL_REQUIRED_ERROR- The Outpost requires a renewal before a new order can be submitted. -
UNSUPPORTED- The requirement type is not recognized.
-
- See Also:
-
-
status
The status of the ordering requirement. Valid values are
PASS,FAIL, andEXEMPT.If the service returns an enum value that is not available in the current SDK version,
statuswill returnOrderingRequirementStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the ordering requirement. Valid values are
PASS,FAIL, andEXEMPT. - See Also:
-
statusAsString
The status of the ordering requirement. Valid values are
PASS,FAIL, andEXEMPT.If the service returns an enum value that is not available in the current SDK version,
statuswill returnOrderingRequirementStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the ordering requirement. Valid values are
PASS,FAIL, andEXEMPT. - See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<OrderingRequirement.Builder,OrderingRequirement>
-
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
-