@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrailInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about a CloudTrail trail, including the trail's name, home Region, and Amazon Resource Name (ARN).
Constructor and Description |
---|
TrailInfo() |
Modifier and Type | Method and Description |
---|---|
TrailInfo |
clone() |
boolean |
equals(Object obj) |
String |
getHomeRegion()
The Amazon Web Services Region in which a trail was created.
|
String |
getName()
The name of a trail.
|
String |
getTrailARN()
The ARN of a trail.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHomeRegion(String homeRegion)
The Amazon Web Services Region in which a trail was created.
|
void |
setName(String name)
The name of a trail.
|
void |
setTrailARN(String trailARN)
The ARN of a trail.
|
String |
toString()
Returns a string representation of this object.
|
TrailInfo |
withHomeRegion(String homeRegion)
The Amazon Web Services Region in which a trail was created.
|
TrailInfo |
withName(String name)
The name of a trail.
|
TrailInfo |
withTrailARN(String trailARN)
The ARN of a trail.
|
public void setTrailARN(String trailARN)
The ARN of a trail.
trailARN
- The ARN of a trail.public String getTrailARN()
The ARN of a trail.
public TrailInfo withTrailARN(String trailARN)
The ARN of a trail.
trailARN
- The ARN of a trail.public void setName(String name)
The name of a trail.
name
- The name of a trail.public String getName()
The name of a trail.
public TrailInfo withName(String name)
The name of a trail.
name
- The name of a trail.public void setHomeRegion(String homeRegion)
The Amazon Web Services Region in which a trail was created.
homeRegion
- The Amazon Web Services Region in which a trail was created.public String getHomeRegion()
The Amazon Web Services Region in which a trail was created.
public TrailInfo withHomeRegion(String homeRegion)
The Amazon Web Services Region in which a trail was created.
homeRegion
- The Amazon Web Services Region in which a trail was created.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.