@Generated(value="software.amazon.awssdk:codegen") public final class Resolution extends Object implements StructuredPojo, ToCopyableBuilder<Resolution.Builder,Resolution>
Represents the screen resolution of a device in height and width, expressed in pixels.
Modifier and Type | Class and Description |
---|---|
static interface |
Resolution.Builder |
Modifier and Type | Method and Description |
---|---|
static Resolution.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
height()
The screen resolution's height, expressed in pixels.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Resolution.Builder> |
serializableBuilderClass() |
Resolution.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Integer |
width()
The screen resolution's width, expressed in pixels.
|
copy
public Integer width()
The screen resolution's width, expressed in pixels.
public Integer height()
The screen resolution's height, expressed in pixels.
public Resolution.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Resolution.Builder,Resolution>
public static Resolution.Builder builder()
public static Class<? extends Resolution.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.