public class GetShippingLabelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
GetShippingLabel operation
.
This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing.
NOOP
Constructor and Description |
---|
GetShippingLabelRequest() |
Modifier and Type | Method and Description |
---|---|
GetShippingLabelRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAPIVersion()
Returns the value of the APIVersion property for this object.
|
String |
getCity()
Returns the value of the City property for this object.
|
String |
getCompany()
Returns the value of the Company property for this object.
|
String |
getCountry()
Returns the value of the Country property for this object.
|
List<String> |
getJobIds()
Returns the value of the JobIds property for this object.
|
String |
getName()
Returns the value of the Name property for this object.
|
String |
getPhoneNumber()
Returns the value of the PhoneNumber property for this object.
|
String |
getPostalCode()
Returns the value of the PostalCode property for this object.
|
String |
getStateOrProvince()
Returns the value of the StateOrProvince property for this object.
|
String |
getStreet1()
Returns the value of the Street1 property for this object.
|
String |
getStreet2()
Returns the value of the Street2 property for this object.
|
String |
getStreet3()
Returns the value of the Street3 property for this object.
|
int |
hashCode() |
void |
setAPIVersion(String aPIVersion)
Sets the value of the APIVersion property for this object.
|
void |
setCity(String city)
Sets the value of the City property for this object.
|
void |
setCompany(String company)
Sets the value of the Company property for this object.
|
void |
setCountry(String country)
Sets the value of the Country property for this object.
|
void |
setJobIds(Collection<String> jobIds)
Sets the value of the JobIds property for this object.
|
void |
setName(String name)
Sets the value of the Name property for this object.
|
void |
setPhoneNumber(String phoneNumber)
Sets the value of the PhoneNumber property for this object.
|
void |
setPostalCode(String postalCode)
Sets the value of the PostalCode property for this object.
|
void |
setStateOrProvince(String stateOrProvince)
Sets the value of the StateOrProvince property for this object.
|
void |
setStreet1(String street1)
Sets the value of the Street1 property for this object.
|
void |
setStreet2(String street2)
Sets the value of the Street2 property for this object.
|
void |
setStreet3(String street3)
Sets the value of the Street3 property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetShippingLabelRequest |
withAPIVersion(String aPIVersion)
Sets the value of the APIVersion property for this object.
|
GetShippingLabelRequest |
withCity(String city)
Sets the value of the City property for this object.
|
GetShippingLabelRequest |
withCompany(String company)
Sets the value of the Company property for this object.
|
GetShippingLabelRequest |
withCountry(String country)
Sets the value of the Country property for this object.
|
GetShippingLabelRequest |
withJobIds(Collection<String> jobIds)
Sets the value of the JobIds property for this object.
|
GetShippingLabelRequest |
withJobIds(String... jobIds)
Sets the value of the JobIds property for this object.
|
GetShippingLabelRequest |
withName(String name)
Sets the value of the Name property for this object.
|
GetShippingLabelRequest |
withPhoneNumber(String phoneNumber)
Sets the value of the PhoneNumber property for this object.
|
GetShippingLabelRequest |
withPostalCode(String postalCode)
Sets the value of the PostalCode property for this object.
|
GetShippingLabelRequest |
withStateOrProvince(String stateOrProvince)
Sets the value of the StateOrProvince property for this object.
|
GetShippingLabelRequest |
withStreet1(String street1)
Sets the value of the Street1 property for this object.
|
GetShippingLabelRequest |
withStreet2(String street2)
Sets the value of the Street2 property for this object.
|
GetShippingLabelRequest |
withStreet3(String street3)
Sets the value of the Street3 property for this object.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getJobIds()
public void setJobIds(Collection<String> jobIds)
jobIds
- The new value for the JobIds property for this object.public GetShippingLabelRequest withJobIds(String... jobIds)
NOTE: This method appends the values to the existing list (if
any). Use setJobIds(java.util.Collection)
or withJobIds(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
jobIds
- The new value for the JobIds property for this object.public GetShippingLabelRequest withJobIds(Collection<String> jobIds)
Returns a reference to this object so that method calls can be chained together.
jobIds
- The new value for the JobIds property for this object.public String getName()
public void setName(String name)
name
- The new value for the Name property for this object.public GetShippingLabelRequest withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The new value for the Name property for this object.public String getCompany()
public void setCompany(String company)
company
- The new value for the Company property for this object.public GetShippingLabelRequest withCompany(String company)
Returns a reference to this object so that method calls can be chained together.
company
- The new value for the Company property for this object.public String getPhoneNumber()
public void setPhoneNumber(String phoneNumber)
phoneNumber
- The new value for the PhoneNumber property for this object.public GetShippingLabelRequest withPhoneNumber(String phoneNumber)
Returns a reference to this object so that method calls can be chained together.
phoneNumber
- The new value for the PhoneNumber property for this object.public String getCountry()
public void setCountry(String country)
country
- The new value for the Country property for this object.public GetShippingLabelRequest withCountry(String country)
Returns a reference to this object so that method calls can be chained together.
country
- The new value for the Country property for this object.public String getStateOrProvince()
public void setStateOrProvince(String stateOrProvince)
stateOrProvince
- The new value for the StateOrProvince property for this object.public GetShippingLabelRequest withStateOrProvince(String stateOrProvince)
Returns a reference to this object so that method calls can be chained together.
stateOrProvince
- The new value for the StateOrProvince property for this object.public String getCity()
public void setCity(String city)
city
- The new value for the City property for this object.public GetShippingLabelRequest withCity(String city)
Returns a reference to this object so that method calls can be chained together.
city
- The new value for the City property for this object.public String getPostalCode()
public void setPostalCode(String postalCode)
postalCode
- The new value for the PostalCode property for this object.public GetShippingLabelRequest withPostalCode(String postalCode)
Returns a reference to this object so that method calls can be chained together.
postalCode
- The new value for the PostalCode property for this object.public String getStreet1()
public void setStreet1(String street1)
street1
- The new value for the Street1 property for this object.public GetShippingLabelRequest withStreet1(String street1)
Returns a reference to this object so that method calls can be chained together.
street1
- The new value for the Street1 property for this object.public String getStreet2()
public void setStreet2(String street2)
street2
- The new value for the Street2 property for this object.public GetShippingLabelRequest withStreet2(String street2)
Returns a reference to this object so that method calls can be chained together.
street2
- The new value for the Street2 property for this object.public String getStreet3()
public void setStreet3(String street3)
street3
- The new value for the Street3 property for this object.public GetShippingLabelRequest withStreet3(String street3)
Returns a reference to this object so that method calls can be chained together.
street3
- The new value for the Street3 property for this object.public String getAPIVersion()
public void setAPIVersion(String aPIVersion)
aPIVersion
- The new value for the APIVersion property for this object.public GetShippingLabelRequest withAPIVersion(String aPIVersion)
Returns a reference to this object so that method calls can be chained together.
aPIVersion
- The new value for the APIVersion property for this object.public String toString()
toString
in class Object
Object.toString()
public GetShippingLabelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.