@Generated(value="software.amazon.awssdk:codegen") public final class KeyValuePair extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KeyValuePair.Builder,KeyValuePair>
A key-value pair object.
Modifier and Type | Class and Description |
---|---|
static interface |
KeyValuePair.Builder |
Modifier and Type | Method and Description |
---|---|
static KeyValuePair.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the key-value pair.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends KeyValuePair.Builder> |
serializableBuilderClass() |
KeyValuePair.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
value()
The value of the key-value pair.
|
copy
public String name()
The name of the key-value pair. For environment variables, this is the name of the environment variable.
public String value()
The value of the key-value pair. For environment variables, this is the value of the environment variable.
public KeyValuePair.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<KeyValuePair.Builder,KeyValuePair>
public static KeyValuePair.Builder builder()
public static Class<? extends KeyValuePair.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.