Class ReturnInformation
- java.lang.Object
-
- software.amazon.awssdk.services.privatenetworks.model.ReturnInformation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReturnInformation.Builder,ReturnInformation>
@Generated("software.amazon.awssdk:codegen") public final class ReturnInformation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReturnInformation.Builder,ReturnInformation>
Information about a request to return a network resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReturnInformation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReturnInformation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringreplacementOrderArn()The Amazon Resource Name (ARN) of the replacement order.StringreturnReason()The reason for the return.List<SdkField<?>>sdkFields()static Class<? extends ReturnInformation.Builder>serializableBuilderClass()AddressshippingAddress()The shipping address.StringshippingLabel()The URL of the shipping label.ReturnInformation.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
-
replacementOrderArn
public final String replacementOrderArn()
The Amazon Resource Name (ARN) of the replacement order.
- Returns:
- The Amazon Resource Name (ARN) of the replacement order.
-
returnReason
public final String returnReason()
The reason for the return. If the return request did not include a reason for the return, this value is null.
- Returns:
- The reason for the return. If the return request did not include a reason for the return, this value is null.
-
shippingAddress
public final Address shippingAddress()
The shipping address.
- Returns:
- The shipping address.
-
shippingLabel
public final String shippingLabel()
The URL of the shipping label. The shipping label is available for download only if the status of the network resource is
PENDING_RETURN. For more information, see Return a radio unit.- Returns:
- The URL of the shipping label. The shipping label is available for download only if the status of the
network resource is
PENDING_RETURN. For more information, see Return a radio unit.
-
toBuilder
public ReturnInformation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReturnInformation.Builder,ReturnInformation>
-
builder
public static ReturnInformation.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReturnInformation.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.
-
-