@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SectionModification extends Object implements Serializable, Cloneable, StructuredPojo
A single modification to the configuration section.
Constructor and Description |
---|
SectionModification() |
Modifier and Type | Method and Description |
---|---|
SectionModification |
clone() |
boolean |
equals(Object obj) |
String |
getOperation()
The operation to be performed on a configuration section.
|
String |
getPath()
The path within the section content to be modified.
|
String |
getSection()
The name of the section to be modified.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOperation(String operation)
The operation to be performed on a configuration section.
|
void |
setPath(String path)
The path within the section content to be modified.
|
void |
setSection(String section)
The name of the section to be modified.
|
String |
toString()
Returns a string representation of this object.
|
SectionModification |
withOperation(Operation operation)
The operation to be performed on a configuration section.
|
SectionModification |
withOperation(String operation)
The operation to be performed on a configuration section.
|
SectionModification |
withPath(String path)
The path within the section content to be modified.
|
SectionModification |
withSection(String section)
The name of the section to be modified.
|
public void setOperation(String operation)
The operation to be performed on a configuration section.
Content can be added, deleted, or replaced within a section.
operation
- The operation to be performed on a configuration section.
Content can be added, deleted, or replaced within a section.
Operation
public String getOperation()
The operation to be performed on a configuration section.
Content can be added, deleted, or replaced within a section.
Content can be added, deleted, or replaced within a section.
Operation
public SectionModification withOperation(String operation)
The operation to be performed on a configuration section.
Content can be added, deleted, or replaced within a section.
operation
- The operation to be performed on a configuration section.
Content can be added, deleted, or replaced within a section.
Operation
public SectionModification withOperation(Operation operation)
The operation to be performed on a configuration section.
Content can be added, deleted, or replaced within a section.
operation
- The operation to be performed on a configuration section.
Content can be added, deleted, or replaced within a section.
Operation
public void setPath(String path)
The path within the section content to be modified.
path
- The path within the section content to be modified.public String getPath()
The path within the section content to be modified.
public SectionModification withPath(String path)
The path within the section content to be modified.
path
- The path within the section content to be modified.public void setSection(String section)
The name of the section to be modified.
section
- The name of the section to be modified.public String getSection()
The name of the section to be modified.
public SectionModification withSection(String section)
The name of the section to be modified.
section
- The name of the section to be modified.public String toString()
toString
in class Object
Object.toString()
public SectionModification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.