Class ExportJournalToS3Request
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ExportJournalToS3Request.Builder,ExportJournalToS3Request>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final InstantThe exclusive end date and time for the range of journal contents to export.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest.final inthashCode()final InstantThe inclusive start date and time for the range of journal contents to export.final Stringname()The name of the ledger.final OutputFormatThe output format of your exported journal data.final StringThe output format of your exported journal data.final StringroleArn()The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:final S3ExportConfigurationThe configuration settings of the Amazon S3 bucket destination for your export request.static Class<? extends ExportJournalToS3Request.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
-
inclusiveStartTime
The inclusive start date and time for the range of journal contents to export.
The
InclusiveStartTimemust be inISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.The
InclusiveStartTimemust be beforeExclusiveEndTime.If you provide an
InclusiveStartTimethat is before the ledger'sCreationDateTime, Amazon QLDB defaults it to the ledger'sCreationDateTime.- Returns:
- The inclusive start date and time for the range of journal contents to export.
The
InclusiveStartTimemust be inISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.The
InclusiveStartTimemust be beforeExclusiveEndTime.If you provide an
InclusiveStartTimethat is before the ledger'sCreationDateTime, Amazon QLDB defaults it to the ledger'sCreationDateTime.
-
exclusiveEndTime
The exclusive end date and time for the range of journal contents to export.
The
ExclusiveEndTimemust be inISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.The
ExclusiveEndTimemust be less than or equal to the current UTC date and time.- Returns:
- The exclusive end date and time for the range of journal contents to export.
The
ExclusiveEndTimemust be inISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.The
ExclusiveEndTimemust be less than or equal to the current UTC date and time.
-
s3ExportConfiguration
The configuration settings of the Amazon S3 bucket destination for your export request.
- Returns:
- The configuration settings of the Amazon S3 bucket destination for your export request.
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:
-
Write objects into your Amazon S3 bucket.
-
(Optional) Use your customer managed key in Key Management Service (KMS) for server-side encryption of your exported data.
To pass a role to QLDB when requesting a journal export, you must have permissions to perform the
iam:PassRoleaction on the IAM role resource. This is required for all journal export requests.- Returns:
- The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to
do the following:
-
Write objects into your Amazon S3 bucket.
-
(Optional) Use your customer managed key in Key Management Service (KMS) for server-side encryption of your exported data.
To pass a role to QLDB when requesting a journal export, you must have permissions to perform the
iam:PassRoleaction on the IAM role resource. This is required for all journal export requests. -
-
-
outputFormat
The output format of your exported journal data. A journal export job can write the data objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.
Default:
ION_TEXTIn JSON Lines format, each journal block in an exported data object is a valid JSON object that is delimited by a newline. You can use this format to directly integrate JSON exports with analytics tools such as Amazon Athena and Glue because these services can parse newline-delimited JSON automatically.
If the service returns an enum value that is not available in the current SDK version,
outputFormatwill returnOutputFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoutputFormatAsString().- Returns:
- The output format of your exported journal data. A journal export job can write the data objects in
either the text or binary representation of Amazon Ion format, or in JSON Lines text format.
Default:
ION_TEXTIn JSON Lines format, each journal block in an exported data object is a valid JSON object that is delimited by a newline. You can use this format to directly integrate JSON exports with analytics tools such as Amazon Athena and Glue because these services can parse newline-delimited JSON automatically.
- See Also:
-
outputFormatAsString
The output format of your exported journal data. A journal export job can write the data objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.
Default:
ION_TEXTIn JSON Lines format, each journal block in an exported data object is a valid JSON object that is delimited by a newline. You can use this format to directly integrate JSON exports with analytics tools such as Amazon Athena and Glue because these services can parse newline-delimited JSON automatically.
If the service returns an enum value that is not available in the current SDK version,
outputFormatwill returnOutputFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoutputFormatAsString().- Returns:
- The output format of your exported journal data. A journal export job can write the data objects in
either the text or binary representation of Amazon Ion format, or in JSON Lines text format.
Default:
ION_TEXTIn JSON Lines format, each journal block in an exported data object is a valid JSON object that is delimited by a newline. You can use this format to directly integrate JSON exports with analytics tools such as Amazon Athena and Glue because these services can parse newline-delimited JSON automatically.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ExportJournalToS3Request.Builder,ExportJournalToS3Request> - Specified by:
toBuilderin classQldbRequest- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
Description copied from class:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkRequest- Parameters:
fieldName- The name of the member to be retrieved.clazz- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-