@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventBridgeParameters extends Object implements Serializable, Cloneable, StructuredPojo
The templated target type for the EventBridge PutEvents
API operation.
| Constructor and Description |
|---|
EventBridgeParameters() |
| Modifier and Type | Method and Description |
|---|---|
EventBridgeParameters |
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 |
getSource()
The source of the event.
|
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 |
setSource(String source)
The source of the event.
|
String |
toString()
Returns a string representation of this object.
|
EventBridgeParameters |
withDetailType(String detailType)
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
|
EventBridgeParameters |
withSource(String source)
The source of the event.
|
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 EventBridgeParameters 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 EventBridgeParameters withSource(String source)
The source of the event.
source - The source of the event.public String toString()
toString in class ObjectObject.toString()public EventBridgeParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.