Package com.amazonaws.services.iot.model
Class GetLoggingOptionsResult
- java.lang.Object
-
- com.amazonaws.services.iot.model.GetLoggingOptionsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetLoggingOptionsResult extends Object implements Serializable, Cloneable
The output from the GetLoggingOptions operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetLoggingOptionsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetLoggingOptionsResultclone()booleanequals(Object obj)StringgetLogLevel()The logging level.StringgetRoleArn()The ARN of the IAM role that grants access.inthashCode()voidsetLogLevel(LogLevel logLevel)The logging level.voidsetLogLevel(String logLevel)The logging level.voidsetRoleArn(String roleArn)The ARN of the IAM role that grants access.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetLoggingOptionsResultwithLogLevel(LogLevel logLevel)The logging level.GetLoggingOptionsResultwithLogLevel(String logLevel)The logging level.GetLoggingOptionsResultwithRoleArn(String roleArn)The ARN of the IAM role that grants access.
-
-
-
Method Detail
-
setRoleArn
public void setRoleArn(String roleArn)
The ARN of the IAM role that grants access.
- Parameters:
roleArn- The ARN of the IAM role that grants access.
-
getRoleArn
public String getRoleArn()
The ARN of the IAM role that grants access.
- Returns:
- The ARN of the IAM role that grants access.
-
withRoleArn
public GetLoggingOptionsResult withRoleArn(String roleArn)
The ARN of the IAM role that grants access.
- Parameters:
roleArn- The ARN of the IAM role that grants access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLogLevel
public void setLogLevel(String logLevel)
The logging level.
- Parameters:
logLevel- The logging level.- See Also:
LogLevel
-
getLogLevel
public String getLogLevel()
The logging level.
- Returns:
- The logging level.
- See Also:
LogLevel
-
withLogLevel
public GetLoggingOptionsResult withLogLevel(String logLevel)
The logging level.
- Parameters:
logLevel- The logging level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogLevel
-
setLogLevel
public void setLogLevel(LogLevel logLevel)
The logging level.
- Parameters:
logLevel- The logging level.- See Also:
LogLevel
-
withLogLevel
public GetLoggingOptionsResult withLogLevel(LogLevel logLevel)
The logging level.
- Parameters:
logLevel- The logging level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogLevel
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetLoggingOptionsResult clone()
-
-