@Generated(value="software.amazon.awssdk:codegen") public final class Orientation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Orientation.Builder,Orientation>
Worker orientation measured in units clockwise from north.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Orientation.Builder |
static class |
Orientation.Type |
| Modifier and Type | Method and Description |
|---|---|
static Orientation.Builder |
builder() |
Double |
degrees()
Degrees, limited on [0, 360)
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static Orientation |
fromDegrees(Double degrees)
Create an instance of this class with
degrees() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Orientation.Builder> |
serializableBuilderClass() |
Orientation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Orientation.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Double degrees()
Degrees, limited on [0, 360)
public Orientation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Orientation.Builder,Orientation>public static Orientation.Builder builder()
public static Class<? extends Orientation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static Orientation fromDegrees(Double degrees)
degrees() initialized to the given value.
Degrees, limited on [0, 360)
degrees - Degrees, limited on [0, 360)public Orientation.Type type()
Orientation.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be Orientation.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2022. All rights reserved.