@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSubscriberResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateSubscriberResult() |
Modifier and Type | Method and Description |
---|---|
CreateSubscriberResult |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The Amazon Resource Name (ARN) created by the user to provide to the subscriber.
|
String |
getS3BucketArn()
The Amazon Resource Name (ARN) for the Amazon S3 bucket.
|
String |
getSnsArn()
The Amazon Resource Name (ARN) for the Amazon Simple Notification Service.
|
String |
getSubscriptionId()
The
subscriptionId that was created by the CreateSubscriber API call. |
int |
hashCode() |
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) created by the user to provide to the subscriber.
|
void |
setS3BucketArn(String s3BucketArn)
The Amazon Resource Name (ARN) for the Amazon S3 bucket.
|
void |
setSnsArn(String snsArn)
The Amazon Resource Name (ARN) for the Amazon Simple Notification Service.
|
void |
setSubscriptionId(String subscriptionId)
The
subscriptionId that was created by the CreateSubscriber API call. |
String |
toString()
Returns a string representation of this object.
|
CreateSubscriberResult |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) created by the user to provide to the subscriber.
|
CreateSubscriberResult |
withS3BucketArn(String s3BucketArn)
The Amazon Resource Name (ARN) for the Amazon S3 bucket.
|
CreateSubscriberResult |
withSnsArn(String snsArn)
The Amazon Resource Name (ARN) for the Amazon Simple Notification Service.
|
CreateSubscriberResult |
withSubscriptionId(String subscriptionId)
The
subscriptionId that was created by the CreateSubscriber API call. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) created by the user to provide to the subscriber. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
roleArn
- The Amazon Resource Name (ARN) created by the user to provide to the subscriber. For more information
about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.public String getRoleArn()
The Amazon Resource Name (ARN) created by the user to provide to the subscriber. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
public CreateSubscriberResult withRoleArn(String roleArn)
The Amazon Resource Name (ARN) created by the user to provide to the subscriber. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
roleArn
- The Amazon Resource Name (ARN) created by the user to provide to the subscriber. For more information
about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.public void setS3BucketArn(String s3BucketArn)
The Amazon Resource Name (ARN) for the Amazon S3 bucket.
s3BucketArn
- The Amazon Resource Name (ARN) for the Amazon S3 bucket.public String getS3BucketArn()
The Amazon Resource Name (ARN) for the Amazon S3 bucket.
public CreateSubscriberResult withS3BucketArn(String s3BucketArn)
The Amazon Resource Name (ARN) for the Amazon S3 bucket.
s3BucketArn
- The Amazon Resource Name (ARN) for the Amazon S3 bucket.public void setSnsArn(String snsArn)
The Amazon Resource Name (ARN) for the Amazon Simple Notification Service.
snsArn
- The Amazon Resource Name (ARN) for the Amazon Simple Notification Service.public String getSnsArn()
The Amazon Resource Name (ARN) for the Amazon Simple Notification Service.
public CreateSubscriberResult withSnsArn(String snsArn)
The Amazon Resource Name (ARN) for the Amazon Simple Notification Service.
snsArn
- The Amazon Resource Name (ARN) for the Amazon Simple Notification Service.public void setSubscriptionId(String subscriptionId)
The subscriptionId
that was created by the CreateSubscriber
API call.
subscriptionId
- The subscriptionId
that was created by the CreateSubscriber
API call.public String getSubscriptionId()
The subscriptionId
that was created by the CreateSubscriber
API call.
subscriptionId
that was created by the CreateSubscriber
API call.public CreateSubscriberResult withSubscriptionId(String subscriptionId)
The subscriptionId
that was created by the CreateSubscriber
API call.
subscriptionId
- The subscriptionId
that was created by the CreateSubscriber
API call.public String toString()
toString
in class Object
Object.toString()
public CreateSubscriberResult clone()