@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogTarget extends Object implements Serializable, Cloneable, StructuredPojo
A log target.
Constructor and Description |
---|
LogTarget() |
Modifier and Type | Method and Description |
---|---|
LogTarget |
clone() |
boolean |
equals(Object obj) |
String |
getTargetName()
The target name.
|
String |
getTargetType()
The target type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTargetName(String targetName)
The target name.
|
void |
setTargetType(String targetType)
The target type.
|
String |
toString()
Returns a string representation of this object.
|
LogTarget |
withTargetName(String targetName)
The target name.
|
LogTarget |
withTargetType(LogTargetType targetType)
The target type.
|
LogTarget |
withTargetType(String targetType)
The target type.
|
public void setTargetType(String targetType)
The target type.
targetType
- The target type.LogTargetType
public String getTargetType()
The target type.
LogTargetType
public LogTarget withTargetType(String targetType)
The target type.
targetType
- The target type.LogTargetType
public LogTarget withTargetType(LogTargetType targetType)
The target type.
targetType
- The target type.LogTargetType
public void setTargetName(String targetName)
The target name.
targetName
- The target name.public String getTargetName()
The target name.
public LogTarget withTargetName(String targetName)
The target name.
targetName
- The target name.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.