@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoggingOptionsPayload extends Object implements Serializable, Cloneable, StructuredPojo
Describes the logging options payload.
| Constructor and Description |
|---|
LoggingOptionsPayload() |
| Modifier and Type | Method and Description |
|---|---|
LoggingOptionsPayload |
clone() |
boolean |
equals(Object obj) |
String |
getLogLevel()
The log level.
|
String |
getRoleArn()
The ARN of the IAM role that grants access.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLogLevel(LogLevel logLevel)
The log level.
|
void |
setLogLevel(String logLevel)
The log level.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that grants access.
|
String |
toString()
Returns a string representation of this object.
|
LoggingOptionsPayload |
withLogLevel(LogLevel logLevel)
The log level.
|
LoggingOptionsPayload |
withLogLevel(String logLevel)
The log level.
|
LoggingOptionsPayload |
withRoleArn(String roleArn)
The ARN of the IAM role that grants access.
|
public void setRoleArn(String roleArn)
The ARN of the IAM role that grants access.
roleArn - The ARN of the IAM role that grants access.public String getRoleArn()
The ARN of the IAM role that grants access.
public LoggingOptionsPayload withRoleArn(String roleArn)
The ARN of the IAM role that grants access.
roleArn - The ARN of the IAM role that grants access.public void setLogLevel(String logLevel)
The log level.
logLevel - The log level.LogLevelpublic LoggingOptionsPayload withLogLevel(String logLevel)
The log level.
logLevel - The log level.LogLevelpublic void setLogLevel(LogLevel logLevel)
The log level.
logLevel - The log level.LogLevelpublic LoggingOptionsPayload withLogLevel(LogLevel logLevel)
The log level.
logLevel - The log level.LogLevelpublic String toString()
toString in class ObjectObject.toString()public LoggingOptionsPayload clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.