@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEventSourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeEventSourceResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEventSourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the partner event source.
|
String |
getCreatedBy()
The name of the SaaS partner that created the event source.
|
Date |
getCreationTime()
The date and time that the event source was created.
|
Date |
getExpirationTime()
The date and time that the event source will expire if you do not create a matching event bus.
|
String |
getName()
The name of the partner event source.
|
String |
getState()
The state of the event source.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the partner event source.
|
void |
setCreatedBy(String createdBy)
The name of the SaaS partner that created the event source.
|
void |
setCreationTime(Date creationTime)
The date and time that the event source was created.
|
void |
setExpirationTime(Date expirationTime)
The date and time that the event source will expire if you do not create a matching event bus.
|
void |
setName(String name)
The name of the partner event source.
|
void |
setState(String state)
The state of the event source.
|
String |
toString()
Returns a string representation of this object.
|
DescribeEventSourceResult |
withArn(String arn)
The ARN of the partner event source.
|
DescribeEventSourceResult |
withCreatedBy(String createdBy)
The name of the SaaS partner that created the event source.
|
DescribeEventSourceResult |
withCreationTime(Date creationTime)
The date and time that the event source was created.
|
DescribeEventSourceResult |
withExpirationTime(Date expirationTime)
The date and time that the event source will expire if you do not create a matching event bus.
|
DescribeEventSourceResult |
withName(String name)
The name of the partner event source.
|
DescribeEventSourceResult |
withState(EventSourceState state)
The state of the event source.
|
DescribeEventSourceResult |
withState(String state)
The state of the event source.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 DescribeEventSourceResult withArn(String arn)
The ARN of the partner event source.
arn
- The ARN of the partner event source.public void setCreatedBy(String createdBy)
The name of the SaaS partner that created the event source.
createdBy
- The name of the SaaS partner that created the event source.public String getCreatedBy()
The name of the SaaS partner that created the event source.
public DescribeEventSourceResult withCreatedBy(String createdBy)
The name of the SaaS partner that created the event source.
createdBy
- The name of the SaaS partner that created the event source.public void setCreationTime(Date creationTime)
The date and time that the event source was created.
creationTime
- The date and time that the event source was created.public Date getCreationTime()
The date and time that the event source was created.
public DescribeEventSourceResult withCreationTime(Date creationTime)
The date and time that the event source was created.
creationTime
- The date and time that the event source was created.public void setExpirationTime(Date expirationTime)
The date and time that the event source will expire if you do not create a matching event bus.
expirationTime
- The date and time that the event source will expire if you do not create a matching event bus.public Date getExpirationTime()
The date and time that the event source will expire if you do not create a matching event bus.
public DescribeEventSourceResult withExpirationTime(Date expirationTime)
The date and time that the event source will expire if you do not create a matching event bus.
expirationTime
- The date and time that the event source will expire if you do not create a matching event bus.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 DescribeEventSourceResult withName(String name)
The name of the partner event source.
name
- The name of the partner event source.public void setState(String state)
The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.
state
- The state of the event source. If it is ACTIVE, you have already created a matching event bus for this
event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching
event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but
the event source has since been deleted.EventSourceState
public String getState()
The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.
EventSourceState
public DescribeEventSourceResult withState(String state)
The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.
state
- The state of the event source. If it is ACTIVE, you have already created a matching event bus for this
event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching
event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but
the event source has since been deleted.EventSourceState
public DescribeEventSourceResult withState(EventSourceState state)
The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.
state
- The state of the event source. If it is ACTIVE, you have already created a matching event bus for this
event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching
event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but
the event source has since been deleted.EventSourceState
public String toString()
toString
in class Object
Object.toString()
public DescribeEventSourceResult clone()