Class GetShippingLabelRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.importexport.model.GetShippingLabelRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class GetShippingLabelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description GetShippingLabelRequest()
-
Method Summary
-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setJobIds
public void setJobIds(Collection<String> jobIds)
- Parameters:
jobIds
-
-
withJobIds
public GetShippingLabelRequest withJobIds(String... jobIds)
NOTE: This method appends the values to the existing list (if any). Use
setJobIds(java.util.Collection)
orwithJobIds(java.util.Collection)
if you want to override the existing values.- Parameters:
jobIds
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withJobIds
public GetShippingLabelRequest withJobIds(Collection<String> jobIds)
- Parameters:
jobIds
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
- Parameters:
name
-
-
getName
public String getName()
- Returns:
-
withName
public GetShippingLabelRequest withName(String name)
- Parameters:
name
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCompany
public void setCompany(String company)
- Parameters:
company
-
-
getCompany
public String getCompany()
- Returns:
-
withCompany
public GetShippingLabelRequest withCompany(String company)
- Parameters:
company
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
- Parameters:
phoneNumber
-
-
getPhoneNumber
public String getPhoneNumber()
- Returns:
-
withPhoneNumber
public GetShippingLabelRequest withPhoneNumber(String phoneNumber)
- Parameters:
phoneNumber
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCountry
public void setCountry(String country)
- Parameters:
country
-
-
getCountry
public String getCountry()
- Returns:
-
withCountry
public GetShippingLabelRequest withCountry(String country)
- Parameters:
country
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStateOrProvince
public void setStateOrProvince(String stateOrProvince)
- Parameters:
stateOrProvince
-
-
getStateOrProvince
public String getStateOrProvince()
- Returns:
-
withStateOrProvince
public GetShippingLabelRequest withStateOrProvince(String stateOrProvince)
- Parameters:
stateOrProvince
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCity
public void setCity(String city)
- Parameters:
city
-
-
getCity
public String getCity()
- Returns:
-
withCity
public GetShippingLabelRequest withCity(String city)
- Parameters:
city
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPostalCode
public void setPostalCode(String postalCode)
- Parameters:
postalCode
-
-
getPostalCode
public String getPostalCode()
- Returns:
-
withPostalCode
public GetShippingLabelRequest withPostalCode(String postalCode)
- Parameters:
postalCode
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStreet1
public void setStreet1(String street1)
- Parameters:
street1
-
-
getStreet1
public String getStreet1()
- Returns:
-
withStreet1
public GetShippingLabelRequest withStreet1(String street1)
- Parameters:
street1
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStreet2
public void setStreet2(String street2)
- Parameters:
street2
-
-
getStreet2
public String getStreet2()
- Returns:
-
withStreet2
public GetShippingLabelRequest withStreet2(String street2)
- Parameters:
street2
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStreet3
public void setStreet3(String street3)
- Parameters:
street3
-
-
getStreet3
public String getStreet3()
- Returns:
-
withStreet3
public GetShippingLabelRequest withStreet3(String street3)
- Parameters:
street3
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAPIVersion
public void setAPIVersion(String aPIVersion)
- Parameters:
aPIVersion
-
-
getAPIVersion
public String getAPIVersion()
- Returns:
-
withAPIVersion
public GetShippingLabelRequest withAPIVersion(String aPIVersion)
- Parameters:
aPIVersion
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetShippingLabelRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-