@Generated(value="software.amazon.awssdk:codegen") public final class SectionModification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SectionModification.Builder,SectionModification>
A single modification to the configuration section.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SectionModification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SectionModification.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Operation |
operation()
The operation to be performed on a configuration section.
|
String |
operationAsString()
The operation to be performed on a configuration section.
|
String |
path()
The path within the section content to be modified.
|
List<SdkField<?>> |
sdkFields() |
String |
section()
The name of the section to be modified.
|
static Class<? extends SectionModification.Builder> |
serializableBuilderClass() |
SectionModification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Document |
value()
For add and replace operations, this is the value that will be used.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Operation operation()
The operation to be performed on a configuration section.
Content can be added, deleted, or replaced within a section.
If the service returns an enum value that is not available in the current SDK version, operation will
return Operation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
operationAsString().
Content can be added, deleted, or replaced within a section.
Operationpublic final String operationAsString()
The operation to be performed on a configuration section.
Content can be added, deleted, or replaced within a section.
If the service returns an enum value that is not available in the current SDK version, operation will
return Operation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
operationAsString().
Content can be added, deleted, or replaced within a section.
Operationpublic final String path()
The path within the section content to be modified.
public final String section()
The name of the section to be modified.
public final Document value()
For add and replace operations, this is the value that will be used.
This field should be omitted for delete operations.
This field should be omitted for delete operations.
public SectionModification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SectionModification.Builder,SectionModification>public static SectionModification.Builder builder()
public static Class<? extends SectionModification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.