Class DescribeMailboxExportJobResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.workmail.model.WorkMailResponse
-
- software.amazon.awssdk.services.workmail.model.DescribeMailboxExportJobResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeMailboxExportJobResponse.Builder,DescribeMailboxExportJobResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeMailboxExportJobResponse extends WorkMailResponse implements ToCopyableBuilder<DescribeMailboxExportJobResponse.Builder,DescribeMailboxExportJobResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeMailboxExportJobResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeMailboxExportJobResponse.Builderbuilder()Stringdescription()The mailbox export job description.InstantendTime()The mailbox export job end timestamp.StringentityId()The identifier of the user or resource associated with the mailbox.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorInfo()Error information for failed mailbox export jobs.IntegerestimatedProgress()The estimated progress of the mailbox export job, in percentage points.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyArn()The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.StringroleArn()The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the Amazon Simple Storage Service (Amazon S3) bucket.Strings3BucketName()The name of the S3 bucket.Strings3Path()The path to the S3 bucket and file that the mailbox export job is exporting to.Strings3Prefix()The S3 bucket prefix.List<SdkField<?>>sdkFields()static Class<? extends DescribeMailboxExportJobResponse.Builder>serializableBuilderClass()InstantstartTime()The mailbox export job start timestamp.MailboxExportJobStatestate()The state of the mailbox export job.StringstateAsString()The state of the mailbox export job.DescribeMailboxExportJobResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.workmail.model.WorkMailResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
entityId
public final String entityId()
The identifier of the user or resource associated with the mailbox.
- Returns:
- The identifier of the user or resource associated with the mailbox.
-
description
public final String description()
The mailbox export job description.
- Returns:
- The mailbox export job description.
-
roleArn
public final String roleArn()
The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the Amazon Simple Storage Service (Amazon S3) bucket.
- Returns:
- The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the Amazon Simple Storage Service (Amazon S3) bucket.
-
kmsKeyArn
public final String kmsKeyArn()
The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.
- Returns:
- The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.
-
s3BucketName
public final String s3BucketName()
The name of the S3 bucket.
- Returns:
- The name of the S3 bucket.
-
s3Prefix
public final String s3Prefix()
The S3 bucket prefix.
- Returns:
- The S3 bucket prefix.
-
s3Path
public final String s3Path()
The path to the S3 bucket and file that the mailbox export job is exporting to.
- Returns:
- The path to the S3 bucket and file that the mailbox export job is exporting to.
-
estimatedProgress
public final Integer estimatedProgress()
The estimated progress of the mailbox export job, in percentage points.
- Returns:
- The estimated progress of the mailbox export job, in percentage points.
-
state
public final MailboxExportJobState state()
The state of the mailbox export job.
If the service returns an enum value that is not available in the current SDK version,
statewill returnMailboxExportJobState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the mailbox export job.
- See Also:
MailboxExportJobState
-
stateAsString
public final String stateAsString()
The state of the mailbox export job.
If the service returns an enum value that is not available in the current SDK version,
statewill returnMailboxExportJobState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the mailbox export job.
- See Also:
MailboxExportJobState
-
errorInfo
public final String errorInfo()
Error information for failed mailbox export jobs.
- Returns:
- Error information for failed mailbox export jobs.
-
startTime
public final Instant startTime()
The mailbox export job start timestamp.
- Returns:
- The mailbox export job start timestamp.
-
endTime
public final Instant endTime()
The mailbox export job end timestamp.
- Returns:
- The mailbox export job end timestamp.
-
toBuilder
public DescribeMailboxExportJobResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeMailboxExportJobResponse.Builder,DescribeMailboxExportJobResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeMailboxExportJobResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeMailboxExportJobResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-