@Generated(value="software.amazon.awssdk:codegen") public 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.
|
copypublic 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Resolution.Builder,Resolution>public static Resolution.Builder builder()
public static Class<? extends Resolution.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.