@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Section extends Object implements Serializable, Cloneable, StructuredPojo
The configuration section.
Constructor and Description |
---|
Section() |
Modifier and Type | Method and Description |
---|---|
Section |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the section.
|
Integer |
getSize()
The size, in bytes, of the section contents.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the section.
|
void |
setSize(Integer size)
The size, in bytes, of the section contents.
|
String |
toString()
Returns a string representation of this object.
|
Section |
withName(String name)
The name of the section.
|
Section |
withSize(Integer size)
The size, in bytes, of the section contents.
|
public void setName(String name)
The name of the section.
name
- The name of the section.public String getName()
The name of the section.
public Section withName(String name)
The name of the section.
name
- The name of the section.public void setSize(Integer size)
The size, in bytes, of the section contents.
size
- The size, in bytes, of the section contents.public Integer getSize()
The size, in bytes, of the section contents.
public Section withSize(Integer size)
The size, in bytes, of the section contents.
size
- The size, in bytes, of the section contents.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.