@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubscriberResource extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about the Amazon Security Lake account subscription. Subscribers are notified of new objects for a source as the data is written to your Amazon S3 bucket for Security Lake.
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 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 |
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) specifying the role of the subscriber.
|
String |
getS3BucketArn()
The ARN for the Amazon S3 bucket.
|
String |
getSnsArn()
The ARN for the Amazon Simple Notification Service.
|
List<SourceType> |
getSourceTypes()
Amazon Security Lake supports log and event collection for natively supported Amazon Web 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()
The 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 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 |
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) specifying the role of 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 |
setSourceTypes(Collection<SourceType> sourceTypes)
Amazon Security Lake supports log and event collection for natively supported Amazon Web 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)
The 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 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 |
withResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share.
|
SubscriberResource |
withResourceShareName(String resourceShareName)
The name of the resource share.
|
SubscriberResource |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) specifying the role of the subscriber.
|
SubscriberResource |
withS3BucketArn(String s3BucketArn)
The ARN for the Amazon S3 bucket.
|
SubscriberResource |
withSnsArn(String snsArn)
The ARN for the Amazon Simple Notification Service.
|
SubscriberResource |
withSourceTypes(Collection<SourceType> sourceTypes)
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
|
SubscriberResource |
withSourceTypes(SourceType... sourceTypes)
Amazon Security Lake supports log and event collection for natively supported Amazon Web 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)
The subscription status of the Amazon Security Lake subscriber account.
|
SubscriberResource |
withSubscriptionStatus(SubscriptionStatus subscriptionStatus)
The 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 Amazon S3 bucket through services
like Amazon Athena. This subscription type is defined as LAKEFORMATION
.
Subscribers can consume data by directly querying Lake Formation tables in your Amazon S3 bucket through
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 Amazon S3 bucket through 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 Amazon S3 bucket through
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 Amazon S3 bucket through 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 Amazon S3 bucket through
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 Amazon S3 bucket through 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 Amazon S3 bucket through
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 Amazon S3 bucket through 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 Amazon S3 bucket through
services like Amazon Athena. This subscription type is defined as LAKEFORMATION
.
AccessType
public void setAccountId(String accountId)
The Amazon Web Services account ID you are using to create your Amazon Security Lake account.
accountId
- The Amazon Web Services account ID you are using to create your Amazon Security Lake account.public String getAccountId()
The Amazon Web Services account ID you are using to create your Amazon Security Lake account.
public SubscriberResource withAccountId(String accountId)
The Amazon Web Services account ID you are using to create your Amazon Security Lake account.
accountId
- The Amazon Web Services account ID 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. The external ID lets the user that is assuming the role 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. The external ID lets the user that is assuming the role 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. The external ID lets the user that is assuming the role 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. The external ID lets the user that is assuming the role 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. The external ID lets the user that is assuming the role 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 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.
This field is available only for Lake Formation subscribers created after March 8, 2023.
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.
This field is available only for Lake Formation subscribers created after March 8, 2023.
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.
This field is available only for Lake Formation subscribers created after March 8, 2023.
This field is available only for Lake Formation subscribers created after March 8, 2023.
public SubscriberResource 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.
This field is available only for Lake Formation subscribers created after March 8, 2023.
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.
This field is available only for Lake Formation subscribers created after March 8, 2023.
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 SubscriberResource 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) 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 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 SubscriberResource 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 SubscriberResource withSnsArn(String snsArn)
The ARN for the Amazon Simple Notification Service.
snsArn
- The ARN for the Amazon Simple Notification Service.public List<SourceType> getSourceTypes()
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
public void setSourceTypes(Collection<SourceType> sourceTypes)
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
sourceTypes
- Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For
more information, see the Amazon Security Lake User Guide.public SubscriberResource withSourceTypes(SourceType... sourceTypes)
Amazon Security Lake supports log and event collection for natively supported Amazon Web 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 log and event collection for natively supported Amazon Web Services. For
more information, see the Amazon Security Lake User Guide.public SubscriberResource withSourceTypes(Collection<SourceType> sourceTypes)
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
sourceTypes
- Amazon Security Lake supports log and event collection for natively supported Amazon Web 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)
The subscription status of the Amazon Security Lake subscriber account.
subscriptionStatus
- The subscription status of the Amazon Security Lake subscriber account.SubscriptionStatus
public String getSubscriptionStatus()
The subscription status of the Amazon Security Lake subscriber account.
SubscriptionStatus
public SubscriberResource withSubscriptionStatus(String subscriptionStatus)
The subscription status of the Amazon Security Lake subscriber account.
subscriptionStatus
- The subscription status of the Amazon Security Lake subscriber account.SubscriptionStatus
public SubscriberResource withSubscriptionStatus(SubscriptionStatus subscriptionStatus)
The subscription status of the Amazon Security Lake subscriber account.
subscriptionStatus
- The 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.