@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 |
getResourceShareArn()
The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share.
|
String |
getResourceShareName()
The name of the resource share.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) created by you to provide to the subscriber.
|
String |
getS3BucketArn()
The ARN for the Amazon S3 bucket.
|
String |
getSnsArn()
The ARN for the Amazon Simple Notification Service.
|
String |
getSubscriptionId()
The
subscriptionId created by the CreateSubscriber API call. |
int |
hashCode() |
void |
setResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share.
|
void |
setResourceShareName(String resourceShareName)
The name of the resource share.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) created by you to provide to the subscriber.
|
void |
setS3BucketArn(String s3BucketArn)
The ARN for the Amazon S3 bucket.
|
void |
setSnsArn(String snsArn)
The ARN for the Amazon Simple Notification Service.
|
void |
setSubscriptionId(String subscriptionId)
The
subscriptionId created by the CreateSubscriber API call. |
String |
toString()
Returns a string representation of this object.
|
CreateSubscriberResult |
withResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share.
|
CreateSubscriberResult |
withResourceShareName(String resourceShareName)
The name of the resource share.
|
CreateSubscriberResult |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) created by you to provide to the subscriber.
|
CreateSubscriberResult |
withS3BucketArn(String s3BucketArn)
The ARN for the Amazon S3 bucket.
|
CreateSubscriberResult |
withSnsArn(String snsArn)
The ARN for the Amazon Simple Notification Service.
|
CreateSubscriberResult |
withSubscriptionId(String subscriptionId)
The
subscriptionId created by the CreateSubscriber API call. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before accepting the RAM resource share invitation, you can view details related to the RAM resource share.
resourceShareArn
- The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before accepting the RAM
resource share invitation, you can view details related to the RAM resource share.public String getResourceShareArn()
The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before accepting the RAM resource share invitation, you can view details related to the RAM resource share.
public CreateSubscriberResult withResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before accepting the RAM resource share invitation, you can view details related to the RAM resource share.
resourceShareArn
- The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before accepting the RAM
resource share invitation, you can view details related to the RAM resource share.public void setResourceShareName(String resourceShareName)
The name of the resource share.
resourceShareName
- The name of the resource share.public String getResourceShareName()
The name of the resource share.
public CreateSubscriberResult withResourceShareName(String resourceShareName)
The name of the resource share.
resourceShareName
- The name of the resource share.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more information about ARNs and how to use them in policies, see Amazon Security Lake User Guide.
roleArn
- The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more information about
ARNs and how to use them in policies, see Amazon
Security Lake User Guide.public String getRoleArn()
The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more information about ARNs and how to use them in policies, see Amazon Security Lake User Guide.
public CreateSubscriberResult withRoleArn(String roleArn)
The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more information about ARNs and how to use them in policies, see Amazon Security Lake User Guide.
roleArn
- The Amazon Resource Name (ARN) created by you to provide to the subscriber. For more information about
ARNs and how to use them in policies, see Amazon
Security Lake User Guide.public void setS3BucketArn(String s3BucketArn)
The ARN for the Amazon S3 bucket.
s3BucketArn
- The ARN for the Amazon S3 bucket.public String getS3BucketArn()
The ARN for the Amazon S3 bucket.
public CreateSubscriberResult withS3BucketArn(String s3BucketArn)
The ARN for the Amazon S3 bucket.
s3BucketArn
- The ARN for the Amazon S3 bucket.public void setSnsArn(String snsArn)
The ARN for the Amazon Simple Notification Service.
snsArn
- The ARN for the Amazon Simple Notification Service.public String getSnsArn()
The ARN for the Amazon Simple Notification Service.
public CreateSubscriberResult withSnsArn(String snsArn)
The ARN for the Amazon Simple Notification Service.
snsArn
- The ARN for the Amazon Simple Notification Service.public void setSubscriptionId(String subscriptionId)
The subscriptionId
created by the CreateSubscriber
API call.
subscriptionId
- The subscriptionId
created by the CreateSubscriber
API call.public String getSubscriptionId()
The subscriptionId
created by the CreateSubscriber
API call.
subscriptionId
created by the CreateSubscriber
API call.public CreateSubscriberResult withSubscriptionId(String subscriptionId)
The subscriptionId
created by the CreateSubscriber
API call.
subscriptionId
- The subscriptionId
created by the CreateSubscriber
API call.public String toString()
toString
in class Object
Object.toString()
public CreateSubscriberResult clone()