@Generated(value="software.amazon.awssdk:codegen") public class KeyValuePair extends Object implements StructuredPojo, 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
name()
The name of the key value pair.
|
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.
|
copypublic 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<KeyValuePair.Builder,KeyValuePair>public static KeyValuePair.Builder builder()
public static Class<? extends KeyValuePair.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.