@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Destination extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the destination receiving events.
Constructor and Description |
---|
Destination() |
Modifier and Type | Method and Description |
---|---|
Destination |
clone() |
boolean |
equals(Object obj) |
String |
getLocation()
For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives
events from a channel.
|
String |
getType()
The type of destination for events arriving from a channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLocation(String location)
For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives
events from a channel.
|
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 channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives
events from a channel.
|
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 channels used for a CloudTrail Lake integration,
the value is EVENT_DATA_STORE
. For service-linked channels, the value is AWS_SERVICE
.
type
- The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake
integration, the value is EVENT_DATA_STORE
. For service-linked channels, the value is
AWS_SERVICE
.DestinationType
public String getType()
The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration,
the value is EVENT_DATA_STORE
. For service-linked channels, the value is AWS_SERVICE
.
EVENT_DATA_STORE
. For service-linked channels, the value is
AWS_SERVICE
.DestinationType
public Destination withType(String type)
The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration,
the value is EVENT_DATA_STORE
. For service-linked channels, the value is AWS_SERVICE
.
type
- The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake
integration, the value is EVENT_DATA_STORE
. For service-linked channels, the value is
AWS_SERVICE
.DestinationType
public Destination withType(DestinationType type)
The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration,
the value is EVENT_DATA_STORE
. For service-linked channels, the value is AWS_SERVICE
.
type
- The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake
integration, the value is EVENT_DATA_STORE
. For service-linked channels, the value is
AWS_SERVICE
.DestinationType
public void setLocation(String location)
For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives events from a channel. For service-linked channels, the location is the name of the Amazon Web Services service.
location
- For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that
receives events from a channel. For service-linked channels, the location is the name of the Amazon Web
Services service.public String getLocation()
For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives events from a channel. For service-linked channels, the location is the name of the Amazon Web Services service.
public Destination withLocation(String location)
For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives events from a channel. For service-linked channels, the location is the name of the Amazon Web Services service.
location
- For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that
receives events from a channel. For service-linked channels, the location is the name of the Amazon Web
Services service.public String toString()
toString
in class Object
Object.toString()
public Destination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.