StructuredPojo, ToCopyableBuilder<Resolution.Builder,Resolution>@Generated("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 | Description |
|---|---|---|
static interface |
Resolution.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static Resolution.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
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.
|
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()
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.