@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReturnInformation extends Object implements Serializable, Cloneable, StructuredPojo
Information about a request to return a network resource.
Constructor and Description |
---|
ReturnInformation() |
Modifier and Type | Method and Description |
---|---|
ReturnInformation |
clone() |
boolean |
equals(Object obj) |
String |
getReplacementOrderArn()
The Amazon Resource Name (ARN) of the replacement order.
|
String |
getReturnReason()
The reason for the return.
|
Address |
getShippingAddress()
The shipping address.
|
String |
getShippingLabel()
The URL of the shipping label.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReplacementOrderArn(String replacementOrderArn)
The Amazon Resource Name (ARN) of the replacement order.
|
void |
setReturnReason(String returnReason)
The reason for the return.
|
void |
setShippingAddress(Address shippingAddress)
The shipping address.
|
void |
setShippingLabel(String shippingLabel)
The URL of the shipping label.
|
String |
toString()
Returns a string representation of this object.
|
ReturnInformation |
withReplacementOrderArn(String replacementOrderArn)
The Amazon Resource Name (ARN) of the replacement order.
|
ReturnInformation |
withReturnReason(String returnReason)
The reason for the return.
|
ReturnInformation |
withShippingAddress(Address shippingAddress)
The shipping address.
|
ReturnInformation |
withShippingLabel(String shippingLabel)
The URL of the shipping label.
|
public void setReplacementOrderArn(String replacementOrderArn)
The Amazon Resource Name (ARN) of the replacement order.
replacementOrderArn
- The Amazon Resource Name (ARN) of the replacement order.public String getReplacementOrderArn()
The Amazon Resource Name (ARN) of the replacement order.
public ReturnInformation withReplacementOrderArn(String replacementOrderArn)
The Amazon Resource Name (ARN) of the replacement order.
replacementOrderArn
- The Amazon Resource Name (ARN) of the replacement order.public void setReturnReason(String returnReason)
The reason for the return. If the return request did not include a reason for the return, this value is null.
returnReason
- The reason for the return. If the return request did not include a reason for the return, this value is
null.public String getReturnReason()
The reason for the return. If the return request did not include a reason for the return, this value is null.
public ReturnInformation withReturnReason(String returnReason)
The reason for the return. If the return request did not include a reason for the return, this value is null.
returnReason
- The reason for the return. If the return request did not include a reason for the return, this value is
null.public void setShippingAddress(Address shippingAddress)
The shipping address.
shippingAddress
- The shipping address.public Address getShippingAddress()
The shipping address.
public ReturnInformation withShippingAddress(Address shippingAddress)
The shipping address.
shippingAddress
- The shipping address.public void setShippingLabel(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.
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.public String getShippingLabel()
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.
PENDING_RETURN
. For more information, see Return a radio unit.public ReturnInformation withShippingLabel(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.
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.public String toString()
toString
in class Object
Object.toString()
public ReturnInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.