@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePartnerEventSourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribePartnerEventSourceResult() |
Modifier and Type | Method and Description |
---|---|
DescribePartnerEventSourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the event source.
|
String |
getName()
The name of the event source.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the event source.
|
void |
setName(String name)
The name of the event source.
|
String |
toString()
Returns a string representation of this object.
|
DescribePartnerEventSourceResult |
withArn(String arn)
The ARN of the event source.
|
DescribePartnerEventSourceResult |
withName(String name)
The name of the event source.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The ARN of the event source.
arn
- The ARN of the event source.public String getArn()
The ARN of the event source.
public DescribePartnerEventSourceResult withArn(String arn)
The ARN of the event source.
arn
- The ARN of the event source.public void setName(String name)
The name of the event source.
name
- The name of the event source.public String getName()
The name of the event source.
public DescribePartnerEventSourceResult withName(String name)
The name of the event source.
name
- The name of the event source.public String toString()
toString
in class Object
Object.toString()
public DescribePartnerEventSourceResult clone()