Class EventBridgeResource
- java.lang.Object
-
- software.amazon.spapi.models.notifications.v1.EventBridgeResource
-
public class EventBridgeResource extends java.lang.Object
The Amazon EventBridge destination.
-
-
Constructor Summary
Constructors Constructor Description EventBridgeResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventBridgeResource
accountId(java.lang.String accountId)
boolean
equals(java.lang.Object o)
java.lang.String
getAccountId()
The identifier for the AWS account that is responsible for charges related to receiving notifications.java.lang.String
getName()
The name of the partner event source associated with the destination.java.lang.String
getRegion()
The AWS region in which you receive the notifications.int
hashCode()
EventBridgeResource
name(java.lang.String name)
EventBridgeResource
region(java.lang.String region)
void
setAccountId(java.lang.String accountId)
void
setName(java.lang.String name)
void
setRegion(java.lang.String region)
java.lang.String
toString()
-
-
-
Method Detail
-
name
public EventBridgeResource name(java.lang.String name)
-
getName
public java.lang.String getName()
The name of the partner event source associated with the destination.- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
region
public EventBridgeResource region(java.lang.String region)
-
getRegion
public java.lang.String getRegion()
The AWS region in which you receive the notifications. For AWS regions that are supported in Amazon EventBridge, refer to [Amazon EventBridge endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/ev.html).- Returns:
- region
-
setRegion
public void setRegion(java.lang.String region)
-
accountId
public EventBridgeResource accountId(java.lang.String accountId)
-
getAccountId
public java.lang.String getAccountId()
The identifier for the AWS account that is responsible for charges related to receiving notifications.- Returns:
- accountId
-
setAccountId
public void setAccountId(java.lang.String accountId)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-