@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePartnerEventSourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreatePartnerEventSourceRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreatePartnerEventSourceRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getAccount()
 The AWS account ID that is permitted to create a matching partner event bus for this partner event source. | 
| String | getName()
 The name of the partner event source. | 
| int | hashCode() | 
| void | setAccount(String account)
 The AWS account ID that is permitted to create a matching partner event bus for this partner event source. | 
| void | setName(String name)
 The name of the partner event source. | 
| String | toString()Returns a string representation of this object. | 
| CreatePartnerEventSourceRequest | withAccount(String account)
 The AWS account ID that is permitted to create a matching partner event bus for this partner event source. | 
| CreatePartnerEventSourceRequest | withName(String name)
 The name of the partner event source. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
 The name of the partner event source. This name must be unique and must be in the format
  partner_name/event_namespace/event_name . The AWS account that wants to use
 this partner event source must create a partner event bus with a name that matches the name of the partner event
 source.
 
name - The name of the partner event source. This name must be unique and must be in the format
         partner_name/event_namespace/event_name . The AWS account that wants to
        use this partner event source must create a partner event bus with a name that matches the name of the
        partner event source.public String getName()
 The name of the partner event source. This name must be unique and must be in the format
  partner_name/event_namespace/event_name . The AWS account that wants to use
 this partner event source must create a partner event bus with a name that matches the name of the partner event
 source.
 
 partner_name/event_namespace/event_name . The AWS account that wants
         to use this partner event source must create a partner event bus with a name that matches the name of the
         partner event source.public CreatePartnerEventSourceRequest withName(String name)
 The name of the partner event source. This name must be unique and must be in the format
  partner_name/event_namespace/event_name . The AWS account that wants to use
 this partner event source must create a partner event bus with a name that matches the name of the partner event
 source.
 
name - The name of the partner event source. This name must be unique and must be in the format
         partner_name/event_namespace/event_name . The AWS account that wants to
        use this partner event source must create a partner event bus with a name that matches the name of the
        partner event source.public void setAccount(String account)
The AWS account ID that is permitted to create a matching partner event bus for this partner event source.
account - The AWS account ID that is permitted to create a matching partner event bus for this partner event source.public String getAccount()
The AWS account ID that is permitted to create a matching partner event bus for this partner event source.
public CreatePartnerEventSourceRequest withAccount(String account)
The AWS account ID that is permitted to create a matching partner event bus for this partner event source.
account - The AWS account ID that is permitted to create a matching partner event bus for this partner event source.public String toString()
toString in class ObjectObject.toString()public CreatePartnerEventSourceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()