@Generated(value="software.amazon.awssdk:codegen") public final class SubscriberResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SubscriberResource.Builder,SubscriberResource>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SubscriberResource.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<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.
|
List<String> |
accessTypesAsStrings()
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 |
accountId()
The Amazon Web Services account ID you are using to create your Amazon Security Lake account.
|
static SubscriberResource.Builder |
builder() |
Instant |
createdAt()
The date and time when the subscription was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
externalId()
The external ID of the subscriber.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAccessTypes()
For responses, this returns true if the service returned a value for the AccessTypes property.
|
int |
hashCode() |
boolean |
hasSourceTypes()
For responses, this returns true if the service returned a value for the SourceTypes property.
|
String |
resourceShareArn()
The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share.
|
String |
resourceShareName()
The name of the resource share.
|
String |
roleArn()
The Amazon Resource Name (ARN) specifying the role of the subscriber.
|
String |
s3BucketArn()
The ARN for the Amazon S3 bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SubscriberResource.Builder> |
serializableBuilderClass() |
String |
snsArn()
The ARN for the Amazon Simple Notification Service.
|
List<SourceType> |
sourceTypes()
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
|
String |
subscriberDescription()
The subscriber descriptions for a subscriber account.
|
String |
subscriberName()
The name of your Amazon Security Lake subscriber account.
|
String |
subscriptionEndpoint()
The subscription endpoint to which exception messages are posted.
|
String |
subscriptionId()
The subscription ID of the Amazon Security Lake subscriber account.
|
EndpointProtocol |
subscriptionProtocol()
The subscription protocol to which exception messages are posted.
|
String |
subscriptionProtocolAsString()
The subscription protocol to which exception messages are posted.
|
SubscriptionStatus |
subscriptionStatus()
The subscription status of the Amazon Security Lake subscriber account.
|
String |
subscriptionStatusAsString()
The subscription status of the Amazon Security Lake subscriber account.
|
SubscriberResource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The date and time when the subscription was created.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAccessTypes() method.
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.
public final boolean hasAccessTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> accessTypesAsStrings()
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAccessTypes() method.
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.
public final String accountId()
The Amazon Web Services account ID you are using to create your Amazon Security Lake account.
public final Instant createdAt()
The date and time when the subscription was created.
public final 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.
public final 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.
This field is available only for Lake Formation subscribers created after March 8, 2023.
public final String resourceShareName()
The name of the resource share.
public final String roleArn()
The Amazon Resource Name (ARN) specifying the role of the subscriber.
public final String s3BucketArn()
The ARN for the Amazon S3 bucket.
public final String snsArn()
The ARN for the Amazon Simple Notification Service.
public final boolean hasSourceTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSourceTypes() method.
public final String subscriberDescription()
The subscriber descriptions for a subscriber account. The description for a subscriber includes
subscriberName, accountID, externalID, and subscriptionId.
subscriberName, accountID, externalID, and
subscriptionId.public final String subscriberName()
The name of your Amazon Security Lake subscriber account.
public final String subscriptionEndpoint()
The subscription endpoint to which exception messages are posted.
public final String subscriptionId()
The subscription ID of the Amazon Security Lake subscriber account.
public final EndpointProtocol subscriptionProtocol()
The subscription protocol to which exception messages are posted.
If the service returns an enum value that is not available in the current SDK version,
subscriptionProtocol will return EndpointProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from subscriptionProtocolAsString().
EndpointProtocolpublic final String subscriptionProtocolAsString()
The subscription protocol to which exception messages are posted.
If the service returns an enum value that is not available in the current SDK version,
subscriptionProtocol will return EndpointProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from subscriptionProtocolAsString().
EndpointProtocolpublic final SubscriptionStatus subscriptionStatus()
The subscription status of the Amazon Security Lake subscriber account.
If the service returns an enum value that is not available in the current SDK version,
subscriptionStatus will return SubscriptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from subscriptionStatusAsString().
SubscriptionStatuspublic final String subscriptionStatusAsString()
The subscription status of the Amazon Security Lake subscriber account.
If the service returns an enum value that is not available in the current SDK version,
subscriptionStatus will return SubscriptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from subscriptionStatusAsString().
SubscriptionStatuspublic final Instant updatedAt()
The date and time when the subscription was created.
public SubscriberResource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SubscriberResource.Builder,SubscriberResource>public static SubscriberResource.Builder builder()
public static Class<? extends SubscriberResource.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.