@Generated(value="software.amazon.awssdk:codegen") public final class StepInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StepInput.Builder,StepInput>
A map of key value pairs that is generated when you create a migration workflow. The key value pairs will differ based on your selection of the template.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StepInput.Builder |
static class |
StepInput.Type |
| Modifier and Type | Method and Description |
|---|---|
static StepInput.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static StepInput |
fromIntegerValue(Integer integerValue)
Create an instance of this class with
integerValue() initialized to the given value. |
static StepInput |
fromListOfStringsValue(List<String> listOfStringsValue)
Create an instance of this class with
listOfStringsValue() initialized to the given value. |
static StepInput |
fromMapOfStringValue(Map<String,String> mapOfStringValue)
Create an instance of this class with
mapOfStringValue() initialized to the given value. |
static StepInput |
fromStringValue(String stringValue)
Create an instance of this class with
stringValue() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasListOfStringsValue()
For responses, this returns true if the service returned a value for the ListOfStringsValue property.
|
boolean |
hasMapOfStringValue()
For responses, this returns true if the service returned a value for the MapOfStringValue property.
|
Integer |
integerValue()
The value of the integer.
|
List<String> |
listOfStringsValue()
List of string values.
|
Map<String,String> |
mapOfStringValue()
Map of string values.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StepInput.Builder> |
serializableBuilderClass() |
String |
stringValue()
String value.
|
StepInput.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
StepInput.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer integerValue()
The value of the integer.
public final String stringValue()
String value.
public final boolean hasListOfStringsValue()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> listOfStringsValue()
List of string values.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasListOfStringsValue() method.
public final boolean hasMapOfStringValue()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> mapOfStringValue()
Map of string values.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMapOfStringValue() method.
public StepInput.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StepInput.Builder,StepInput>public static StepInput.Builder builder()
public static Class<? extends StepInput.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static StepInput fromIntegerValue(Integer integerValue)
integerValue() initialized to the given value.
The value of the integer.
integerValue - The value of the integer.public static StepInput fromStringValue(String stringValue)
stringValue() initialized to the given value.
String value.
stringValue - String value.public static StepInput fromListOfStringsValue(List<String> listOfStringsValue)
listOfStringsValue() initialized to the given value.
List of string values.
listOfStringsValue - List of string values.public static StepInput fromMapOfStringValue(Map<String,String> mapOfStringValue)
mapOfStringValue() initialized to the given value.
Map of string values.
mapOfStringValue - Map of string values.public StepInput.Type type()
StepInput.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 StepInput.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.