Class EventBridgeDestinationImpl
java.lang.Object
com.commercetools.api.models.subscription.EventBridgeDestinationImpl
- All Implemented Interfaces:
Destination
,EventBridgeDestination
,io.vrap.rmf.base.client.ModelBase
public class EventBridgeDestinationImpl
extends Object
implements EventBridgeDestination, io.vrap.rmf.base.client.ModelBase
AWS EventBridge can be used to push events and messages to a serverless event bus that can forward them to AWS SQS, SNS, Lambda, and other AWS services based on forwarding rules. Once the Subscription is created, an equivalent "partner event source" is created in AWS EventBridge. This event source must be associated with an event bus for the Subscription setup to be complete.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.subscription.EventBridgeDestination
EVENT_BRIDGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
ID of the AWS account that receives the events.AWS region that receives the events.getType()
int
hashCode()
void
setAccountId
(String accountId) ID of the AWS account that receives the events.void
AWS region that receives the events.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.subscription.Destination
withDestination
Methods inherited from interface com.commercetools.api.models.subscription.EventBridgeDestination
withEventBridgeDestination
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
EventBridgeDestinationImpl
public EventBridgeDestinationImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceDestination
- Returns:
- type
-
getRegion
AWS region that receives the events.
- Specified by:
getRegion
in interfaceEventBridgeDestination
- Returns:
- region
-
getAccountId
ID of the AWS account that receives the events.
- Specified by:
getAccountId
in interfaceEventBridgeDestination
- Returns:
- accountId
-
setRegion
Description copied from interface:EventBridgeDestination
AWS region that receives the events.
- Specified by:
setRegion
in interfaceEventBridgeDestination
- Parameters:
region
- value to be set
-
setAccountId
Description copied from interface:EventBridgeDestination
ID of the AWS account that receives the events.
- Specified by:
setAccountId
in interfaceEventBridgeDestination
- Parameters:
accountId
- value to be set
-
equals
-
hashCode
-