@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PipeTargetEventBridgeEventBusParameters extends Object implements Serializable, Cloneable, StructuredPojo
The parameters for using an EventBridge event bus as a target.
Constructor and Description |
---|
PipeTargetEventBridgeEventBusParameters() |
Modifier and Type | Method and Description |
---|---|
PipeTargetEventBridgeEventBusParameters |
clone() |
boolean |
equals(Object obj) |
String |
getDetailType()
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
|
String |
getEndpointId()
The URL subdomain of the endpoint.
|
List<String> |
getResources()
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
|
String |
getSource()
The source of the event.
|
String |
getTime()
The time stamp of the event, per RFC3339.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDetailType(String detailType)
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
|
void |
setEndpointId(String endpointId)
The URL subdomain of the endpoint.
|
void |
setResources(Collection<String> resources)
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
|
void |
setSource(String source)
The source of the event.
|
void |
setTime(String time)
The time stamp of the event, per RFC3339.
|
String |
toString()
Returns a string representation of this object.
|
PipeTargetEventBridgeEventBusParameters |
withDetailType(String detailType)
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
|
PipeTargetEventBridgeEventBusParameters |
withEndpointId(String endpointId)
The URL subdomain of the endpoint.
|
PipeTargetEventBridgeEventBusParameters |
withResources(Collection<String> resources)
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
|
PipeTargetEventBridgeEventBusParameters |
withResources(String... resources)
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
|
PipeTargetEventBridgeEventBusParameters |
withSource(String source)
The source of the event.
|
PipeTargetEventBridgeEventBusParameters |
withTime(String time)
The time stamp of the event, per RFC3339.
|
public PipeTargetEventBridgeEventBusParameters()
public void setEndpointId(String endpointId)
The URL subdomain of the endpoint. For example, if the URL for Endpoint is
https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.
endpointId
- The URL subdomain of the endpoint. For example, if the URL for Endpoint is
https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.public String getEndpointId()
The URL subdomain of the endpoint. For example, if the URL for Endpoint is
https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.
abcde.veo
.public PipeTargetEventBridgeEventBusParameters withEndpointId(String endpointId)
The URL subdomain of the endpoint. For example, if the URL for Endpoint is
https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.
endpointId
- The URL subdomain of the endpoint. For example, if the URL for Endpoint is
https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.public void setDetailType(String detailType)
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
detailType
- A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event
detail.public String getDetailType()
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
public PipeTargetEventBridgeEventBusParameters withDetailType(String detailType)
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
detailType
- A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event
detail.public void setSource(String source)
The source of the event.
source
- The source of the event.public String getSource()
The source of the event.
public PipeTargetEventBridgeEventBusParameters withSource(String source)
The source of the event.
source
- The source of the event.public List<String> getResources()
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
public void setResources(Collection<String> resources)
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
resources
- Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily
concerns. Any number, including zero, may be present.public PipeTargetEventBridgeEventBusParameters withResources(String... resources)
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily
concerns. Any number, including zero, may be present.public PipeTargetEventBridgeEventBusParameters withResources(Collection<String> resources)
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
resources
- Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily
concerns. Any number, including zero, may be present.public void setTime(String time)
public String getTime()
public PipeTargetEventBridgeEventBusParameters withTime(String time)
public String toString()
toString
in class Object
Object.toString()
public PipeTargetEventBridgeEventBusParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.