@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.
|
Date |
getCreatedAt()
The date and time when the subscriber was created.
|
String |
getResourceShareArn()
The Amazon Resource Name (ARN) which uniquely defines the Amazon Web Services 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.
|
List<LogSourceResource> |
getSources()
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
|
String |
getSubscriberArn()
The subscriber ARN of the Amazon Security Lake subscriber account.
|
String |
getSubscriberDescription()
The subscriber descriptions for a subscriber account.
|
String |
getSubscriberEndpoint()
The subscriber endpoint to which exception messages are posted.
|
String |
getSubscriberId()
The subscriber ID of the Amazon Security Lake subscriber account.
|
AwsIdentity |
getSubscriberIdentity()
The Amazon Web Services identity used to access your data.
|
String |
getSubscriberName()
The name of your Amazon Security Lake subscriber account.
|
String |
getSubscriberStatus()
The subscriber status of the Amazon Security Lake subscriber account.
|
Date |
getUpdatedAt()
The date and time when the subscriber was last updated.
|
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 |
setCreatedAt(Date createdAt)
The date and time when the subscriber was created.
|
void |
setResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) which uniquely defines the Amazon Web Services 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 |
setSources(Collection<LogSourceResource> sources)
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
|
void |
setSubscriberArn(String subscriberArn)
The subscriber ARN of the Amazon Security Lake subscriber account.
|
void |
setSubscriberDescription(String subscriberDescription)
The subscriber descriptions for a subscriber account.
|
void |
setSubscriberEndpoint(String subscriberEndpoint)
The subscriber endpoint to which exception messages are posted.
|
void |
setSubscriberId(String subscriberId)
The subscriber ID of the Amazon Security Lake subscriber account.
|
void |
setSubscriberIdentity(AwsIdentity subscriberIdentity)
The Amazon Web Services identity used to access your data.
|
void |
setSubscriberName(String subscriberName)
The name of your Amazon Security Lake subscriber account.
|
void |
setSubscriberStatus(String subscriberStatus)
The subscriber status of the Amazon Security Lake subscriber account.
|
void |
setUpdatedAt(Date updatedAt)
The date and time when the subscriber was last updated.
|
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 |
withCreatedAt(Date createdAt)
The date and time when the subscriber was created.
|
SubscriberResource |
withResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) which uniquely defines the Amazon Web Services 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 |
withSources(Collection<LogSourceResource> sources)
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
|
SubscriberResource |
withSources(LogSourceResource... sources)
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
|
SubscriberResource |
withSubscriberArn(String subscriberArn)
The subscriber ARN of the Amazon Security Lake subscriber account.
|
SubscriberResource |
withSubscriberDescription(String subscriberDescription)
The subscriber descriptions for a subscriber account.
|
SubscriberResource |
withSubscriberEndpoint(String subscriberEndpoint)
The subscriber endpoint to which exception messages are posted.
|
SubscriberResource |
withSubscriberId(String subscriberId)
The subscriber ID of the Amazon Security Lake subscriber account.
|
SubscriberResource |
withSubscriberIdentity(AwsIdentity subscriberIdentity)
The Amazon Web Services identity used to access your data.
|
SubscriberResource |
withSubscriberName(String subscriberName)
The name of your Amazon Security Lake subscriber account.
|
SubscriberResource |
withSubscriberStatus(String subscriberStatus)
The subscriber status of the Amazon Security Lake subscriber account.
|
SubscriberResource |
withSubscriberStatus(SubscriberStatus subscriberStatus)
The subscriber status of the Amazon Security Lake subscriber account.
|
SubscriberResource |
withUpdatedAt(Date updatedAt)
The date and time when the subscriber was last updated.
|
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 setCreatedAt(Date createdAt)
The date and time when the subscriber was created.
createdAt
- The date and time when the subscriber was created.public Date getCreatedAt()
The date and time when the subscriber was created.
public SubscriberResource withCreatedAt(Date createdAt)
The date and time when the subscriber was created.
createdAt
- The date and time when the subscriber was created.public void setResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) which uniquely defines the Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 List<LogSourceResource> getSources()
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 setSources(Collection<LogSourceResource> sources)
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
sources
- 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 withSources(LogSourceResource... sources)
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
setSources(java.util.Collection)
or withSources(java.util.Collection)
if you want to override
the existing values.
sources
- 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 withSources(Collection<LogSourceResource> sources)
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
sources
- 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 setSubscriberArn(String subscriberArn)
The subscriber ARN of the Amazon Security Lake subscriber account.
subscriberArn
- The subscriber ARN of the Amazon Security Lake subscriber account.public String getSubscriberArn()
The subscriber ARN of the Amazon Security Lake subscriber account.
public SubscriberResource withSubscriberArn(String subscriberArn)
The subscriber ARN of the Amazon Security Lake subscriber account.
subscriberArn
- The subscriber ARN of the Amazon Security Lake subscriber account.public void setSubscriberDescription(String subscriberDescription)
The subscriber descriptions for a subscriber account. The description for a subscriber includes
subscriberName
, accountID
, externalID
, and subscriberId
.
subscriberDescription
- The subscriber descriptions for a subscriber account. The description for a subscriber includes
subscriberName
, accountID
, externalID
, and
subscriberId
.public String getSubscriberDescription()
The subscriber descriptions for a subscriber account. The description for a subscriber includes
subscriberName
, accountID
, externalID
, and subscriberId
.
subscriberName
, accountID
, externalID
, and
subscriberId
.public SubscriberResource withSubscriberDescription(String subscriberDescription)
The subscriber descriptions for a subscriber account. The description for a subscriber includes
subscriberName
, accountID
, externalID
, and subscriberId
.
subscriberDescription
- The subscriber descriptions for a subscriber account. The description for a subscriber includes
subscriberName
, accountID
, externalID
, and
subscriberId
.public void setSubscriberEndpoint(String subscriberEndpoint)
The subscriber endpoint to which exception messages are posted.
subscriberEndpoint
- The subscriber endpoint to which exception messages are posted.public String getSubscriberEndpoint()
The subscriber endpoint to which exception messages are posted.
public SubscriberResource withSubscriberEndpoint(String subscriberEndpoint)
The subscriber endpoint to which exception messages are posted.
subscriberEndpoint
- The subscriber endpoint to which exception messages are posted.public void setSubscriberId(String subscriberId)
The subscriber ID of the Amazon Security Lake subscriber account.
subscriberId
- The subscriber ID of the Amazon Security Lake subscriber account.public String getSubscriberId()
The subscriber ID of the Amazon Security Lake subscriber account.
public SubscriberResource withSubscriberId(String subscriberId)
The subscriber ID of the Amazon Security Lake subscriber account.
subscriberId
- The subscriber ID of the Amazon Security Lake subscriber account.public void setSubscriberIdentity(AwsIdentity subscriberIdentity)
The Amazon Web Services identity used to access your data.
subscriberIdentity
- The Amazon Web Services identity used to access your data.public AwsIdentity getSubscriberIdentity()
The Amazon Web Services identity used to access your data.
public SubscriberResource withSubscriberIdentity(AwsIdentity subscriberIdentity)
The Amazon Web Services identity used to access your data.
subscriberIdentity
- The Amazon Web Services identity used to access your data.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 setSubscriberStatus(String subscriberStatus)
The subscriber status of the Amazon Security Lake subscriber account.
subscriberStatus
- The subscriber status of the Amazon Security Lake subscriber account.SubscriberStatus
public String getSubscriberStatus()
The subscriber status of the Amazon Security Lake subscriber account.
SubscriberStatus
public SubscriberResource withSubscriberStatus(String subscriberStatus)
The subscriber status of the Amazon Security Lake subscriber account.
subscriberStatus
- The subscriber status of the Amazon Security Lake subscriber account.SubscriberStatus
public SubscriberResource withSubscriberStatus(SubscriberStatus subscriberStatus)
The subscriber status of the Amazon Security Lake subscriber account.
subscriberStatus
- The subscriber status of the Amazon Security Lake subscriber account.SubscriberStatus
public void setUpdatedAt(Date updatedAt)
The date and time when the subscriber was last updated.
updatedAt
- The date and time when the subscriber was last updated.public Date getUpdatedAt()
The date and time when the subscriber was last updated.
public SubscriberResource withUpdatedAt(Date updatedAt)
The date and time when the subscriber was last updated.
updatedAt
- The date and time when the subscriber was last updated.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.