Class StartAttachedFileUploadResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.connect.model.ConnectResponse
-
- software.amazon.awssdk.services.connect.model.StartAttachedFileUploadResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartAttachedFileUploadResponse.Builder,StartAttachedFileUploadResponse>
@Generated("software.amazon.awssdk:codegen") public final class StartAttachedFileUploadResponse extends ConnectResponse implements ToCopyableBuilder<StartAttachedFileUploadResponse.Builder,StartAttachedFileUploadResponse>
Response from StartAttachedFileUpload API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartAttachedFileUploadResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartAttachedFileUploadResponse.Builderbuilder()CreatedByInfocreatedBy()Represents the identity that created the file.StringcreationTime()The time of Creation of the file resource as an ISO timestamp.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfileArn()The unique identifier of the attached file resource (ARN).StringfileId()The unique identifier of the attached file resource.FileStatusTypefileStatus()The current status of the attached file.StringfileStatusAsString()The current status of the attached file.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends StartAttachedFileUploadResponse.Builder>serializableBuilderClass()StartAttachedFileUploadResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.UploadUrlMetadatauploadUrlMetadata()Information to be used while uploading the attached file.-
Methods inherited from class software.amazon.awssdk.services.connect.model.ConnectResponse
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
-
fileArn
public final String fileArn()
The unique identifier of the attached file resource (ARN).
- Returns:
- The unique identifier of the attached file resource (ARN).
-
fileId
public final String fileId()
The unique identifier of the attached file resource.
- Returns:
- The unique identifier of the attached file resource.
-
creationTime
public final String creationTime()
The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ. For example,2024-05-03T02:41:28.172Z.- Returns:
- The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ. For example,2024-05-03T02:41:28.172Z.
-
fileStatus
public final FileStatusType fileStatus()
The current status of the attached file.
If the service returns an enum value that is not available in the current SDK version,
fileStatuswill returnFileStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfileStatusAsString().- Returns:
- The current status of the attached file.
- See Also:
FileStatusType
-
fileStatusAsString
public final String fileStatusAsString()
The current status of the attached file.
If the service returns an enum value that is not available in the current SDK version,
fileStatuswill returnFileStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfileStatusAsString().- Returns:
- The current status of the attached file.
- See Also:
FileStatusType
-
createdBy
public final CreatedByInfo createdBy()
Represents the identity that created the file.
- Returns:
- Represents the identity that created the file.
-
uploadUrlMetadata
public final UploadUrlMetadata uploadUrlMetadata()
Information to be used while uploading the attached file.
- Returns:
- Information to be used while uploading the attached file.
-
toBuilder
public StartAttachedFileUploadResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartAttachedFileUploadResponse.Builder,StartAttachedFileUploadResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static StartAttachedFileUploadResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartAttachedFileUploadResponse.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
-
-