@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:24.790Z") @Stability(value=Stable) public interface Location extends software.amazon.jsii.JsiiSerializable
Example:
AthenaStartQueryExecution startQueryExecutionJob = AthenaStartQueryExecution.Builder.create(this, "Athena Start Query")
.queryString(JsonPath.format("select contacts where year={};", JsonPath.stringAt("$.year")))
.queryExecutionContext(QueryExecutionContext.builder()
.databaseName("interactions")
.build())
.resultConfiguration(ResultConfiguration.builder()
.encryptionConfiguration(EncryptionConfiguration.builder()
.encryptionOption(EncryptionOption.S3_MANAGED)
.build())
.outputLocation(Location.builder()
.bucketName("mybucket")
.objectKey("myprefix")
.build())
.build())
.integrationPattern(IntegrationPattern.RUN_JOB)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
Location.Builder
A builder for
Location |
static class |
Location.Jsii$Proxy
An implementation for
Location |
| Modifier and Type | Method and Description |
|---|---|
static Location.Builder |
builder() |
String |
getBucketName()
The name of the S3 Bucket the object is in.
|
String |
getObjectKey()
The path inside the Bucket where the object is located at.
|
default String |
getObjectVersion()
The S3 object version.
|
@Stability(value=Stable) @NotNull String getBucketName()
@Stability(value=Stable) @NotNull String getObjectKey()
@Stability(value=Stable) @Nullable default String getObjectVersion()
@Stability(value=Stable) static Location.Builder builder()
Location.Builder of LocationCopyright © 2022. All rights reserved.