StructuredPojo
, ToCopyableBuilder<Address.Builder,Address>
@Generated("software.amazon.awssdk:codegen") public class Address extends Object implements StructuredPojo, ToCopyableBuilder<Address.Builder,Address>
The address that you want the Snowball or Snowballs associated with a specific job to be shipped to. Addresses are
validated at the time of creation. The address you provide must be located within the serviceable area of your
region. Although no individual elements of the Address
are required, if the address is invalid or
unsupported, then an exception is thrown.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Address.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
addressId() |
The unique ID for an address.
|
static Address.Builder |
builder() |
|
String |
city() |
The city in an address that a Snowball is to be delivered to.
|
String |
company() |
The name of the company to receive a Snowball at an address.
|
String |
country() |
The country in an address that a Snowball is to be delivered to.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Boolean |
isRestricted() |
If the address you are creating is a primary address, then set this option to true.
|
String |
landmark() |
This field is no longer used and the value is ignored.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name() |
The name of a person to receive a Snowball at an address.
|
String |
phoneNumber() |
The phone number associated with an address that a Snowball is to be delivered to.
|
String |
postalCode() |
The postal code in an address that a Snowball is to be delivered to.
|
String |
prefectureOrDistrict() |
This field is no longer used and the value is ignored.
|
static Class<? extends Address.Builder> |
serializableBuilderClass() |
|
String |
stateOrProvince() |
The state or province in an address that a Snowball is to be delivered to.
|
String |
street1() |
The first line in a street address that a Snowball is to be delivered to.
|
String |
street2() |
The second line in a street address that a Snowball is to be delivered to.
|
String |
street3() |
The third line in a street address that a Snowball is to be delivered to.
|
Address.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String addressId()
The unique ID for an address.
public String name()
The name of a person to receive a Snowball at an address.
public String company()
The name of the company to receive a Snowball at an address.
public String street1()
The first line in a street address that a Snowball is to be delivered to.
public String street2()
The second line in a street address that a Snowball is to be delivered to.
public String street3()
The third line in a street address that a Snowball is to be delivered to.
public String city()
The city in an address that a Snowball is to be delivered to.
public String stateOrProvince()
The state or province in an address that a Snowball is to be delivered to.
public String prefectureOrDistrict()
This field is no longer used and the value is ignored.
public String landmark()
This field is no longer used and the value is ignored.
public String country()
The country in an address that a Snowball is to be delivered to.
public String postalCode()
The postal code in an address that a Snowball is to be delivered to.
public String phoneNumber()
The phone number associated with an address that a Snowball is to be delivered to.
public Boolean isRestricted()
If the address you are creating is a primary address, then set this option to true. This field is not supported in most regions.
public Address.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Address.Builder,Address>
public static Address.Builder builder()
public static Class<? extends Address.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.