@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLoggingOptionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output from the GetLoggingOptions operation.
Constructor and Description |
---|
GetLoggingOptionsResult() |
Modifier and Type | Method and Description |
---|---|
GetLoggingOptionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getLogLevel()
The logging level.
|
String |
getRoleArn()
The ARN of the IAM role that grants access.
|
int |
hashCode() |
void |
setLogLevel(LogLevel logLevel)
The logging level.
|
void |
setLogLevel(String logLevel)
The logging level.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that grants access.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetLoggingOptionsResult |
withLogLevel(LogLevel logLevel)
The logging level.
|
GetLoggingOptionsResult |
withLogLevel(String logLevel)
The logging level.
|
GetLoggingOptionsResult |
withRoleArn(String roleArn)
The ARN of the IAM role that grants access.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 GetLoggingOptionsResult 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 logging level.
logLevel
- The logging level.LogLevel
public String getLogLevel()
The logging level.
LogLevel
public GetLoggingOptionsResult withLogLevel(String logLevel)
The logging level.
logLevel
- The logging level.LogLevel
public void setLogLevel(LogLevel logLevel)
The logging level.
logLevel
- The logging level.LogLevel
public GetLoggingOptionsResult withLogLevel(LogLevel logLevel)
The logging level.
logLevel
- The logging level.LogLevel
public String toString()
toString
in class Object
Object.toString()
public GetLoggingOptionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.