@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PartnerEventSource extends Object implements Serializable, Cloneable, StructuredPojo
A partner event source is created by an SaaS partner. If a customer creates a partner event bus that matches this event source, that Amazon Web Services account can receive events from the partner's applications or services.
Constructor and Description |
---|
PartnerEventSource() |
Modifier and Type | Method and Description |
---|---|
PartnerEventSource |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the partner event source.
|
String |
getName()
The name of the partner event source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the partner event source.
|
void |
setName(String name)
The name of the partner event source.
|
String |
toString()
Returns a string representation of this object.
|
PartnerEventSource |
withArn(String arn)
The ARN of the partner event source.
|
PartnerEventSource |
withName(String name)
The name of the partner event source.
|
public void setArn(String arn)
The ARN of the partner event source.
arn
- The ARN of the partner event source.public String getArn()
The ARN of the partner event source.
public PartnerEventSource withArn(String arn)
The ARN of the partner event source.
arn
- The ARN of the partner event source.public void setName(String name)
The name of the partner event source.
name
- The name of the partner event source.public String getName()
The name of the partner event source.
public PartnerEventSource withName(String name)
The name of the partner event source.
name
- The name of the partner event source.public String toString()
toString
in class Object
Object.toString()
public PartnerEventSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.