Package com.amazonaws.services.iot.model
Class LoggingOptionsPayload
- java.lang.Object
-
- com.amazonaws.services.iot.model.LoggingOptionsPayload
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class LoggingOptionsPayload extends Object implements Serializable, Cloneable
Describes the logging options payload.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoggingOptionsPayload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingOptionsPayload
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.LoggingOptionsPayload
withLogLevel(LogLevel logLevel)
The logging level.LoggingOptionsPayload
withLogLevel(String logLevel)
The logging level.LoggingOptionsPayload
withRoleArn(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 LoggingOptionsPayload 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 LoggingOptionsPayload 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 LoggingOptionsPayload 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public LoggingOptionsPayload clone()
-
-