StructuredPojo
, ToCopyableBuilder<EndpointLocation.Builder,EndpointLocation>
@Generated("software.amazon.awssdk:codegen") public class EndpointLocation extends Object implements StructuredPojo, ToCopyableBuilder<EndpointLocation.Builder,EndpointLocation>
Modifier and Type | Class | Description |
---|---|---|
static interface |
EndpointLocation.Builder |
Modifier and Type | Method | Description |
---|---|---|
static EndpointLocation.Builder |
builder() |
|
String |
city() |
The city where the endpoint is located.
|
String |
country() |
Country according to ISO 3166-1 Alpha-2 codes.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Double |
latitude() |
The latitude of the endpoint location.
|
Double |
longitude() |
The longitude of the endpoint location.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
postalCode() |
The postal code or zip code of the endpoint.
|
String |
region() |
The region of the endpoint location.
|
static Class<? extends EndpointLocation.Builder> |
serializableBuilderClass() |
|
EndpointLocation.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String city()
public String country()
public Double latitude()
public Double longitude()
public String postalCode()
public String region()
public EndpointLocation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EndpointLocation.Builder,EndpointLocation>
public static EndpointLocation.Builder builder()
public static Class<? extends EndpointLocation.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.