@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoggingFormat extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the format for the logs.
Constructor and Description |
---|
LoggingFormat() |
Modifier and Type | Method and Description |
---|---|
LoggingFormat |
clone() |
boolean |
equals(Object obj) |
List<JsonFormatRef> |
getJson()
|
String |
getText()
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setJson(Collection<JsonFormatRef> json)
|
void |
setText(String text)
|
String |
toString()
Returns a string representation of this object.
|
LoggingFormat |
withJson(Collection<JsonFormatRef> json)
|
LoggingFormat |
withJson(JsonFormatRef... json)
|
LoggingFormat |
withText(String text)
|
public List<JsonFormatRef> getJson()
public void setJson(Collection<JsonFormatRef> json)
json
- public LoggingFormat withJson(JsonFormatRef... json)
NOTE: This method appends the values to the existing list (if any). Use
setJson(java.util.Collection)
or withJson(java.util.Collection)
if you want to override the
existing values.
json
- public LoggingFormat withJson(Collection<JsonFormatRef> json)
json
- public void setText(String text)
text
- public String getText()
public LoggingFormat withText(String text)
text
- public String toString()
toString
in class Object
Object.toString()
public LoggingFormat clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.