Class CreateReturnShippingLabelRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.snowball.model.SnowballRequest
-
- software.amazon.awssdk.services.snowball.model.CreateReturnShippingLabelRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateReturnShippingLabelRequest.Builder,CreateReturnShippingLabelRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateReturnShippingLabelRequest extends SnowballRequest implements ToCopyableBuilder<CreateReturnShippingLabelRequest.Builder,CreateReturnShippingLabelRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateReturnShippingLabelRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateReturnShippingLabelRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobId()The ID for a job that you want to create the return shipping label for; for example,JID123e4567-e89b-12d3-a456-426655440000.List<SdkField<?>>sdkFields()static Class<? extends CreateReturnShippingLabelRequest.Builder>serializableBuilderClass()ShippingOptionshippingOption()The shipping speed for a particular job.StringshippingOptionAsString()The shipping speed for a particular job.CreateReturnShippingLabelRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
jobId
public final String jobId()
The ID for a job that you want to create the return shipping label for; for example,
JID123e4567-e89b-12d3-a456-426655440000.- Returns:
- The ID for a job that you want to create the return shipping label for; for example,
JID123e4567-e89b-12d3-a456-426655440000.
-
shippingOption
public final ShippingOption shippingOption()
The shipping speed for a particular job. This speed doesn't dictate how soon the device is returned to Amazon Web Services. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows:
If the service returns an enum value that is not available in the current SDK version,
shippingOptionwill returnShippingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshippingOptionAsString().- Returns:
- The shipping speed for a particular job. This speed doesn't dictate how soon the device is returned to Amazon Web Services. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows:
- See Also:
ShippingOption
-
shippingOptionAsString
public final String shippingOptionAsString()
The shipping speed for a particular job. This speed doesn't dictate how soon the device is returned to Amazon Web Services. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows:
If the service returns an enum value that is not available in the current SDK version,
shippingOptionwill returnShippingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshippingOptionAsString().- Returns:
- The shipping speed for a particular job. This speed doesn't dictate how soon the device is returned to Amazon Web Services. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows:
- See Also:
ShippingOption
-
toBuilder
public CreateReturnShippingLabelRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateReturnShippingLabelRequest.Builder,CreateReturnShippingLabelRequest>- Specified by:
toBuilderin classSnowballRequest
-
builder
public static CreateReturnShippingLabelRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateReturnShippingLabelRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-