@Generated(value="software.amazon.awssdk:codegen") public final class FacetAttributeUpdate extends Object implements StructuredPojo, ToCopyableBuilder<FacetAttributeUpdate.Builder,FacetAttributeUpdate>
A structure that contains information used to update an attribute.
Modifier and Type | Class and Description |
---|---|
static interface |
FacetAttributeUpdate.Builder |
Modifier and Type | Method and Description |
---|---|
UpdateActionType |
action()
The action to perform when updating the attribute.
|
String |
actionAsString()
The action to perform when updating the attribute.
|
FacetAttribute |
attribute()
The attribute to update.
|
static FacetAttributeUpdate.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 . |
static Class<? extends FacetAttributeUpdate.Builder> |
serializableBuilderClass() |
FacetAttributeUpdate.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public FacetAttribute attribute()
The attribute to update.
public UpdateActionType action()
The action to perform when updating the attribute.
If the service returns an enum value that is not available in the current SDK version, action
will
return UpdateActionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionAsString()
.
UpdateActionType
public String actionAsString()
The action to perform when updating the attribute.
If the service returns an enum value that is not available in the current SDK version, action
will
return UpdateActionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionAsString()
.
UpdateActionType
public FacetAttributeUpdate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FacetAttributeUpdate.Builder,FacetAttributeUpdate>
public static FacetAttributeUpdate.Builder builder()
public static Class<? extends FacetAttributeUpdate.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.