@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Destination extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the service where CloudTrail delivers events.
| Constructor and Description |
|---|
Destination() |
| Modifier and Type | Method and Description |
|---|---|
Destination |
clone() |
boolean |
equals(Object obj) |
String |
getLocation()
For service-linked channels, the value is the name of the Amazon Web Services service.
|
String |
getType()
The type of destination for events arriving from a channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setLocation(String location)
For service-linked channels, the value is the name of the Amazon Web Services service.
|
void |
setType(String type)
The type of destination for events arriving from a channel.
|
String |
toString()
Returns a string representation of this object.
|
Destination |
withLocation(String location)
For service-linked channels, the value is the name of the Amazon Web Services service.
|
Destination |
withType(DestinationType type)
The type of destination for events arriving from a channel.
|
Destination |
withType(String type)
The type of destination for events arriving from a channel.
|
public void setType(String type)
The type of destination for events arriving from a channel. For service-linked channels, the value is
AWS_SERVICE.
type - The type of destination for events arriving from a channel. For service-linked channels, the value is
AWS_SERVICE.DestinationTypepublic String getType()
The type of destination for events arriving from a channel. For service-linked channels, the value is
AWS_SERVICE.
AWS_SERVICE.DestinationTypepublic Destination withType(String type)
The type of destination for events arriving from a channel. For service-linked channels, the value is
AWS_SERVICE.
type - The type of destination for events arriving from a channel. For service-linked channels, the value is
AWS_SERVICE.DestinationTypepublic Destination withType(DestinationType type)
The type of destination for events arriving from a channel. For service-linked channels, the value is
AWS_SERVICE.
type - The type of destination for events arriving from a channel. For service-linked channels, the value is
AWS_SERVICE.DestinationTypepublic void setLocation(String location)
For service-linked channels, the value is the name of the Amazon Web Services service.
location - For service-linked channels, the value is the name of the Amazon Web Services service.public String getLocation()
For service-linked channels, the value is the name of the Amazon Web Services service.
public Destination withLocation(String location)
For service-linked channels, the value is the name of the Amazon Web Services service.
location - For service-linked channels, the value is the name of the Amazon Web Services service.public String toString()
toString in class ObjectObject.toString()public Destination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.