@Generated(value="software.amazon.awssdk:codegen") public final class GetShippingLabelRequest extends ImportExportRequest implements ToCopyableBuilder<GetShippingLabelRequest.Builder,GetShippingLabelRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetShippingLabelRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
apiVersion()
Returns the value of the APIVersion property for this object.
|
static GetShippingLabelRequest.Builder |
builder() |
String |
city()
Returns the value of the City property for this object.
|
String |
company()
Returns the value of the Company property for this object.
|
String |
country()
Returns the value of the Country property for this object.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<String> |
jobIds()
Returns the value of the JobIds property for this object.
|
String |
name()
Returns the value of the Name property for this object.
|
String |
phoneNumber()
Returns the value of the PhoneNumber property for this object.
|
String |
postalCode()
Returns the value of the PostalCode property for this object.
|
static Class<? extends GetShippingLabelRequest.Builder> |
serializableBuilderClass() |
String |
stateOrProvince()
Returns the value of the StateOrProvince property for this object.
|
String |
street1()
Returns the value of the Street1 property for this object.
|
String |
street2()
Returns the value of the Street2 property for this object.
|
String |
street3()
Returns the value of the Street3 property for this object.
|
GetShippingLabelRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public List<String> jobIds()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String name()
public String company()
public String phoneNumber()
public String country()
public String stateOrProvince()
public String city()
public String postalCode()
public String street1()
public String street2()
public String street3()
public String apiVersion()
public GetShippingLabelRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetShippingLabelRequest.Builder,GetShippingLabelRequest>
toBuilder
in class ImportExportRequest
public static GetShippingLabelRequest.Builder builder()
public static Class<? extends GetShippingLabelRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.