Class S3ExternalAnalyticsLink
Important: When creating a link to the Amazon S3 service, be sure to follow best practices for security. AWS root account credentials should never be used. The policy for the created IAM User roles should be as strict as possible and only allow access to the required data and required resources. You only need to know the Access Key Id and the Secret Access Key for the created IAM User role to access the S3 service. The link will be able to access whatever is permitted to the IAM User, since it will be using the IAM User credentials to interact with the AWS S3 service.
- 
Constructor SummaryConstructorsConstructorDescriptionS3ExternalAnalyticsLink(String name, String dataverse) Creates a new Analytics Link to S3.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the S3 access key ID.accessKeyId(String accessKeyId) Sets the S3 access key ID (required).region()Returns the S3 region.Sets the S3 region (required).Returns the S3 secret access key.secretAccessKey(String secretAccessKey) Sets the S3 secret access key (required).Returns the S3 service endpoint.serviceEndpoint(String serviceEndpoint) Sets the S3 service endpoint.Returns the S3 session token.sessionToken(String sessionToken) Sets the S3 session token.toString()type()Returns the type of the link.Methods inherited from class com.couchbase.client.java.manager.analytics.link.AnalyticsLinkcouchbaseRemote, dataverse, name, s3, toMap
- 
Constructor Details- 
S3ExternalAnalyticsLinkCreates a new Analytics Link to S3.As an alternative to this constructor, AnalyticsLink.s3(String, String)can be used as well.Please note that additional parameters are required and must be set on S3ExternalAnalyticsLinkin order for a S3 link to work properly.
 
- 
- 
Method Details- 
typeDescription copied from class:AnalyticsLinkReturns the type of the link.- Specified by:
- typein class- AnalyticsLink
- Returns:
- the type of the link.
 
- 
accessKeyIdReturns the S3 access key ID.- Returns:
- the S3 access key ID.
 
- 
accessKeyIdSets the S3 access key ID (required).- Parameters:
- accessKeyId- the S3 access key ID.
- Returns:
- this S3ExternalAnalyticsLinkinstance for chaining.
 
- 
secretAccessKeyReturns the S3 secret access key.- Returns:
- the S3 access key.
 
- 
secretAccessKeySets the S3 secret access key (required).- Parameters:
- secretAccessKey- the S3 secret access key.
- Returns:
- this S3ExternalAnalyticsLinkinstance for chaining.
 
- 
regionReturns the S3 region.- Returns:
- the S3 region.
 
- 
regionSets the S3 region (required).- Parameters:
- region- the S3 region.
- Returns:
- this S3ExternalAnalyticsLinkinstance for chaining.
 
- 
serviceEndpointReturns the S3 service endpoint.- Returns:
- the S3 service endpoint.
 
- 
serviceEndpointSets the S3 service endpoint.- Parameters:
- serviceEndpoint- the service endpoint.
- Returns:
- this S3ExternalAnalyticsLinkinstance for chaining.
 
- 
sessionTokenReturns the S3 session token.- Returns:
- the S3 session token.
 
- 
sessionTokenSets the S3 session token.- Parameters:
- sessionToken- the S3 session token.
- Returns:
- this S3ExternalAnalyticsLinkinstance for chaining.
 
- 
toString
 
-