@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubscriberResource extends Object implements Serializable, Cloneable, StructuredPojo
Provides details of the Amazon Security Lake account subscription. Subscribers are notified of new objects for a source as the data is written to your Amazon Security Lake S3 bucket.
Constructor and Description |
---|
SubscriberResource() |
Modifier and Type | Method and Description |
---|---|
SubscriberResource |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccessTypes()
You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or
through messaging to an HTTPS endpoint provided by the subscriber.
|
String |
getAccountId()
The Amazon Web Services account ID of the account that you are using to create your Amazon Security Lake account.
|
Date |
getCreatedAt()
The date and time when the subscription was created.
|
String |
getExternalId()
The external ID of the subscriber.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) specifying the role of 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.
|
List<SourceType> |
getSourceTypes()
Amazon Security Lake supports logs and events collection for the natively-supported Amazon Web Services services.
|
String |
getSubscriberDescription()
The subscriber descriptions for a subscriber account.
|
String |
getSubscriberName()
The name of your Amazon Security Lake subscriber account.
|
String |
getSubscriptionEndpoint()
The subscription endpoint to which exception messages are posted.
|
String |
getSubscriptionId()
The subscription ID of the Amazon Security Lake subscriber account.
|
String |
getSubscriptionProtocol()
The subscription protocol to which exception messages are posted.
|
String |
getSubscriptionStatus()
Subscription status of the Amazon Security Lake subscriber account.
|
Date |
getUpdatedAt()
The date and time when the subscription was created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessTypes(Collection<String> accessTypes)
You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or
through messaging to an HTTPS endpoint provided by the subscriber.
|
void |
setAccountId(String accountId)
The Amazon Web Services account ID of the account that you are using to create your Amazon Security Lake account.
|
void |
setCreatedAt(Date createdAt)
The date and time when the subscription was created.
|
void |
setExternalId(String externalId)
The external ID of the subscriber.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) specifying the role of 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 |
setSourceTypes(Collection<SourceType> sourceTypes)
Amazon Security Lake supports logs and events collection for the natively-supported Amazon Web Services services.
|
void |
setSubscriberDescription(String subscriberDescription)
The subscriber descriptions for a subscriber account.
|
void |
setSubscriberName(String subscriberName)
The name of your Amazon Security Lake subscriber account.
|
void |
setSubscriptionEndpoint(String subscriptionEndpoint)
The subscription endpoint to which exception messages are posted.
|
void |
setSubscriptionId(String subscriptionId)
The subscription ID of the Amazon Security Lake subscriber account.
|
void |
setSubscriptionProtocol(String subscriptionProtocol)
The subscription protocol to which exception messages are posted.
|
void |
setSubscriptionStatus(String subscriptionStatus)
Subscription status of the Amazon Security Lake subscriber account.
|
void |
setUpdatedAt(Date updatedAt)
The date and time when the subscription was created.
|
String |
toString()
Returns a string representation of this object.
|
SubscriberResource |
withAccessTypes(AccessType... accessTypes)
You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or
through messaging to an HTTPS endpoint provided by the subscriber.
|
SubscriberResource |
withAccessTypes(Collection<String> accessTypes)
You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or
through messaging to an HTTPS endpoint provided by the subscriber.
|
SubscriberResource |
withAccessTypes(String... accessTypes)
You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or
through messaging to an HTTPS endpoint provided by the subscriber.
|
SubscriberResource |
withAccountId(String accountId)
The Amazon Web Services account ID of the account that you are using to create your Amazon Security Lake account.
|
SubscriberResource |
withCreatedAt(Date createdAt)
The date and time when the subscription was created.
|
SubscriberResource |
withExternalId(String externalId)
The external ID of the subscriber.
|
SubscriberResource |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) specifying the role of the subscriber.
|
SubscriberResource |
withS3BucketArn(String s3BucketArn)
The Amazon Resource Name (ARN) for the Amazon S3 bucket.
|
SubscriberResource |
withSnsArn(String snsArn)
The Amazon Resource Name (ARN) for the Amazon Simple Notification Service.
|
SubscriberResource |
withSourceTypes(Collection<SourceType> sourceTypes)
Amazon Security Lake supports logs and events collection for the natively-supported Amazon Web Services services.
|
SubscriberResource |
withSourceTypes(SourceType... sourceTypes)
Amazon Security Lake supports logs and events collection for the natively-supported Amazon Web Services services.
|
SubscriberResource |
withSubscriberDescription(String subscriberDescription)
The subscriber descriptions for a subscriber account.
|
SubscriberResource |
withSubscriberName(String subscriberName)
The name of your Amazon Security Lake subscriber account.
|
SubscriberResource |
withSubscriptionEndpoint(String subscriptionEndpoint)
The subscription endpoint to which exception messages are posted.
|
SubscriberResource |
withSubscriptionId(String subscriptionId)
The subscription ID of the Amazon Security Lake subscriber account.
|
SubscriberResource |
withSubscriptionProtocol(EndpointProtocol subscriptionProtocol)
The subscription protocol to which exception messages are posted.
|
SubscriberResource |
withSubscriptionProtocol(String subscriptionProtocol)
The subscription protocol to which exception messages are posted.
|
SubscriberResource |
withSubscriptionStatus(String subscriptionStatus)
Subscription status of the Amazon Security Lake subscriber account.
|
SubscriberResource |
withSubscriptionStatus(SubscriptionStatus subscriptionStatus)
Subscription status of the Amazon Security Lake subscriber account.
|
SubscriberResource |
withUpdatedAt(Date updatedAt)
The date and time when the subscription was created.
|
public List<String> getAccessTypes()
You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.
Subscribers can consume data by directly querying Lake Formation tables in your S3 bucket via services like
Amazon Athena. This subscription type is defined as LAKEFORMATION
.
Subscribers can consume data by directly querying Lake Formation tables in your S3 bucket via services
like Amazon Athena. This subscription type is defined as LAKEFORMATION
.
AccessType
public void setAccessTypes(Collection<String> accessTypes)
You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.
Subscribers can consume data by directly querying Lake Formation tables in your S3 bucket via services like
Amazon Athena. This subscription type is defined as LAKEFORMATION
.
accessTypes
- You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue
or through messaging to an HTTPS endpoint provided by the subscriber.
Subscribers can consume data by directly querying Lake Formation tables in your S3 bucket via services
like Amazon Athena. This subscription type is defined as LAKEFORMATION
.
AccessType
public SubscriberResource withAccessTypes(String... accessTypes)
You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.
Subscribers can consume data by directly querying Lake Formation tables in your S3 bucket via services like
Amazon Athena. This subscription type is defined as LAKEFORMATION
.
NOTE: This method appends the values to the existing list (if any). Use
setAccessTypes(java.util.Collection)
or withAccessTypes(java.util.Collection)
if you want to
override the existing values.
accessTypes
- You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue
or through messaging to an HTTPS endpoint provided by the subscriber.
Subscribers can consume data by directly querying Lake Formation tables in your S3 bucket via services
like Amazon Athena. This subscription type is defined as LAKEFORMATION
.
AccessType
public SubscriberResource withAccessTypes(Collection<String> accessTypes)
You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.
Subscribers can consume data by directly querying Lake Formation tables in your S3 bucket via services like
Amazon Athena. This subscription type is defined as LAKEFORMATION
.
accessTypes
- You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue
or through messaging to an HTTPS endpoint provided by the subscriber.
Subscribers can consume data by directly querying Lake Formation tables in your S3 bucket via services
like Amazon Athena. This subscription type is defined as LAKEFORMATION
.
AccessType
public SubscriberResource withAccessTypes(AccessType... accessTypes)
You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.
Subscribers can consume data by directly querying Lake Formation tables in your S3 bucket via services like
Amazon Athena. This subscription type is defined as LAKEFORMATION
.
accessTypes
- You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue
or through messaging to an HTTPS endpoint provided by the subscriber.
Subscribers can consume data by directly querying Lake Formation tables in your S3 bucket via services
like Amazon Athena. This subscription type is defined as LAKEFORMATION
.
AccessType
public void setAccountId(String accountId)
The Amazon Web Services account ID of the account that you are using to create your Amazon Security Lake account.
accountId
- The Amazon Web Services account ID of the account that you are using to create your Amazon Security Lake
account.public String getAccountId()
The Amazon Web Services account ID of the account that you are using to create your Amazon Security Lake account.
public SubscriberResource withAccountId(String accountId)
The Amazon Web Services account ID of the account that you are using to create your Amazon Security Lake account.
accountId
- The Amazon Web Services account ID of the account that you are using to create your Amazon Security Lake
account.public void setCreatedAt(Date createdAt)
The date and time when the subscription was created.
createdAt
- The date and time when the subscription was created.public Date getCreatedAt()
The date and time when the subscription was created.
public SubscriberResource withCreatedAt(Date createdAt)
The date and time when the subscription was created.
createdAt
- The date and time when the subscription was created.public void setExternalId(String externalId)
The external ID of the subscriber. External ID allows the user that is assuming the role to assert the circumstances in which they are operating. It also provides a way for the account owner to permit the role to be assumed only under specific circumstances.
externalId
- The external ID of the subscriber. External ID allows the user that is assuming the role to assert the
circumstances in which they are operating. It also provides a way for the account owner to permit the role
to be assumed only under specific circumstances.public String getExternalId()
The external ID of the subscriber. External ID allows the user that is assuming the role to assert the circumstances in which they are operating. It also provides a way for the account owner to permit the role to be assumed only under specific circumstances.
public SubscriberResource withExternalId(String externalId)
The external ID of the subscriber. External ID allows the user that is assuming the role to assert the circumstances in which they are operating. It also provides a way for the account owner to permit the role to be assumed only under specific circumstances.
externalId
- The external ID of the subscriber. External ID allows the user that is assuming the role to assert the
circumstances in which they are operating. It also provides a way for the account owner to permit the role
to be assumed only under specific circumstances.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) specifying the role of the subscriber.
roleArn
- The Amazon Resource Name (ARN) specifying the role of the subscriber.public String getRoleArn()
The Amazon Resource Name (ARN) specifying the role of the subscriber.
public SubscriberResource withRoleArn(String roleArn)
The Amazon Resource Name (ARN) specifying the role of the subscriber.
roleArn
- The Amazon Resource Name (ARN) specifying the role of the subscriber.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 SubscriberResource 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 SubscriberResource 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 List<SourceType> getSourceTypes()
Amazon Security Lake supports logs and events collection for the natively-supported Amazon Web Services services. For more information, see the Amazon Security Lake User Guide.
public void setSourceTypes(Collection<SourceType> sourceTypes)
Amazon Security Lake supports logs and events collection for the natively-supported Amazon Web Services services. For more information, see the Amazon Security Lake User Guide.
sourceTypes
- Amazon Security Lake supports logs and events collection for the natively-supported Amazon Web Services
services. For more information, see the Amazon Security Lake User Guide.public SubscriberResource withSourceTypes(SourceType... sourceTypes)
Amazon Security Lake supports logs and events collection for the natively-supported Amazon Web Services services. For more information, see the Amazon Security Lake User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setSourceTypes(java.util.Collection)
or withSourceTypes(java.util.Collection)
if you want to
override the existing values.
sourceTypes
- Amazon Security Lake supports logs and events collection for the natively-supported Amazon Web Services
services. For more information, see the Amazon Security Lake User Guide.public SubscriberResource withSourceTypes(Collection<SourceType> sourceTypes)
Amazon Security Lake supports logs and events collection for the natively-supported Amazon Web Services services. For more information, see the Amazon Security Lake User Guide.
sourceTypes
- Amazon Security Lake supports logs and events collection for the natively-supported Amazon Web Services
services. For more information, see the Amazon Security Lake User Guide.public void setSubscriberDescription(String subscriberDescription)
The subscriber descriptions for a subscriber account. The description for a subscriber includes
subscriberName
, accountID
, externalID
, and subscriptionId
.
subscriberDescription
- The subscriber descriptions for a subscriber account. The description for a subscriber includes
subscriberName
, accountID
, externalID
, and
subscriptionId
.public String getSubscriberDescription()
The subscriber descriptions for a subscriber account. The description for a subscriber includes
subscriberName
, accountID
, externalID
, and subscriptionId
.
subscriberName
, accountID
, externalID
, and
subscriptionId
.public SubscriberResource withSubscriberDescription(String subscriberDescription)
The subscriber descriptions for a subscriber account. The description for a subscriber includes
subscriberName
, accountID
, externalID
, and subscriptionId
.
subscriberDescription
- The subscriber descriptions for a subscriber account. The description for a subscriber includes
subscriberName
, accountID
, externalID
, and
subscriptionId
.public void setSubscriberName(String subscriberName)
The name of your Amazon Security Lake subscriber account.
subscriberName
- The name of your Amazon Security Lake subscriber account.public String getSubscriberName()
The name of your Amazon Security Lake subscriber account.
public SubscriberResource withSubscriberName(String subscriberName)
The name of your Amazon Security Lake subscriber account.
subscriberName
- The name of your Amazon Security Lake subscriber account.public void setSubscriptionEndpoint(String subscriptionEndpoint)
The subscription endpoint to which exception messages are posted.
subscriptionEndpoint
- The subscription endpoint to which exception messages are posted.public String getSubscriptionEndpoint()
The subscription endpoint to which exception messages are posted.
public SubscriberResource withSubscriptionEndpoint(String subscriptionEndpoint)
The subscription endpoint to which exception messages are posted.
subscriptionEndpoint
- The subscription endpoint to which exception messages are posted.public void setSubscriptionId(String subscriptionId)
The subscription ID of the Amazon Security Lake subscriber account.
subscriptionId
- The subscription ID of the Amazon Security Lake subscriber account.public String getSubscriptionId()
The subscription ID of the Amazon Security Lake subscriber account.
public SubscriberResource withSubscriptionId(String subscriptionId)
The subscription ID of the Amazon Security Lake subscriber account.
subscriptionId
- The subscription ID of the Amazon Security Lake subscriber account.public void setSubscriptionProtocol(String subscriptionProtocol)
The subscription protocol to which exception messages are posted.
subscriptionProtocol
- The subscription protocol to which exception messages are posted.EndpointProtocol
public String getSubscriptionProtocol()
The subscription protocol to which exception messages are posted.
EndpointProtocol
public SubscriberResource withSubscriptionProtocol(String subscriptionProtocol)
The subscription protocol to which exception messages are posted.
subscriptionProtocol
- The subscription protocol to which exception messages are posted.EndpointProtocol
public SubscriberResource withSubscriptionProtocol(EndpointProtocol subscriptionProtocol)
The subscription protocol to which exception messages are posted.
subscriptionProtocol
- The subscription protocol to which exception messages are posted.EndpointProtocol
public void setSubscriptionStatus(String subscriptionStatus)
Subscription status of the Amazon Security Lake subscriber account.
subscriptionStatus
- Subscription status of the Amazon Security Lake subscriber account.SubscriptionStatus
public String getSubscriptionStatus()
Subscription status of the Amazon Security Lake subscriber account.
SubscriptionStatus
public SubscriberResource withSubscriptionStatus(String subscriptionStatus)
Subscription status of the Amazon Security Lake subscriber account.
subscriptionStatus
- Subscription status of the Amazon Security Lake subscriber account.SubscriptionStatus
public SubscriberResource withSubscriptionStatus(SubscriptionStatus subscriptionStatus)
Subscription status of the Amazon Security Lake subscriber account.
subscriptionStatus
- Subscription status of the Amazon Security Lake subscriber account.SubscriptionStatus
public void setUpdatedAt(Date updatedAt)
The date and time when the subscription was created.
updatedAt
- The date and time when the subscription was created.public Date getUpdatedAt()
The date and time when the subscription was created.
public SubscriberResource withUpdatedAt(Date updatedAt)
The date and time when the subscription was created.
updatedAt
- The date and time when the subscription was created.public String toString()
toString
in class Object
Object.toString()
public SubscriberResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.