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) Indicates whether some other object is "equal to" this one by SDK fields.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.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.Methods 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
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<OrderingRequirement.Builder,OrderingRequirement> - 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.
-