public class LogTarget
extends java.lang.Object
implements java.io.Serializable
A log target.
Constructor and Description |
---|
LogTarget() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTargetName()
The target name.
|
java.lang.String |
getTargetType()
The target type.
|
int |
hashCode() |
void |
setTargetName(java.lang.String targetName)
The target name.
|
void |
setTargetType(LogTargetType targetType)
The target type.
|
void |
setTargetType(java.lang.String targetType)
The target type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LogTarget |
withTargetName(java.lang.String targetName)
The target name.
|
LogTarget |
withTargetType(LogTargetType targetType)
The target type.
|
LogTarget |
withTargetType(java.lang.String targetType)
The target type.
|
public java.lang.String getTargetType()
The target type.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
The target type.
LogTargetType
public void setTargetType(java.lang.String targetType)
The target type.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType
- The target type.
LogTargetType
public LogTarget withTargetType(java.lang.String targetType)
The target type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType
- The target type.
LogTargetType
public void setTargetType(LogTargetType targetType)
The target type.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType
- The target type.
LogTargetType
public LogTarget withTargetType(LogTargetType targetType)
The target type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType
- The target type.
LogTargetType
public java.lang.String getTargetName()
The target name.
The target name.
public void setTargetName(java.lang.String targetName)
The target name.
targetName
- The target name.
public LogTarget withTargetName(java.lang.String targetName)
The target name.
Returns a reference to this object so that method calls can be chained together.
targetName
- The target name.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.