@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAttachedFileResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetAttachedFileResult() |
Modifier and Type | Method and Description |
---|---|
GetAttachedFileResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetAttachedFileResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetAttachedFileResult |
clone() |
boolean |
equals(Object obj) |
String |
getAssociatedResourceArn()
The resource to which the attached file is (being) uploaded to.
|
CreatedByInfo |
getCreatedBy()
Represents the identity that created the file.
|
String |
getCreationTime()
The time of Creation of the file resource as an ISO timestamp.
|
DownloadUrlMetadata |
getDownloadUrlMetadata()
URL and expiry to be used when downloading the attached file.
|
String |
getFileArn()
The unique identifier of the attached file resource (ARN).
|
String |
getFileId()
The unique identifier of the attached file resource.
|
String |
getFileName()
A case-sensitive name of the attached file being uploaded.
|
Long |
getFileSizeInBytes()
The size of the attached file in bytes.
|
String |
getFileStatus()
The current status of the attached file.
|
String |
getFileUseCaseType()
The use case for the file.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to.
|
void |
setCreatedBy(CreatedByInfo createdBy)
Represents the identity that created the file.
|
void |
setCreationTime(String creationTime)
The time of Creation of the file resource as an ISO timestamp.
|
void |
setDownloadUrlMetadata(DownloadUrlMetadata downloadUrlMetadata)
URL and expiry to be used when downloading the attached file.
|
void |
setFileArn(String fileArn)
The unique identifier of the attached file resource (ARN).
|
void |
setFileId(String fileId)
The unique identifier of the attached file resource.
|
void |
setFileName(String fileName)
A case-sensitive name of the attached file being uploaded.
|
void |
setFileSizeInBytes(Long fileSizeInBytes)
The size of the attached file in bytes.
|
void |
setFileStatus(String fileStatus)
The current status of the attached file.
|
void |
setFileUseCaseType(String fileUseCaseType)
The use case for the file.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
GetAttachedFileResult |
withAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to.
|
GetAttachedFileResult |
withCreatedBy(CreatedByInfo createdBy)
Represents the identity that created the file.
|
GetAttachedFileResult |
withCreationTime(String creationTime)
The time of Creation of the file resource as an ISO timestamp.
|
GetAttachedFileResult |
withDownloadUrlMetadata(DownloadUrlMetadata downloadUrlMetadata)
URL and expiry to be used when downloading the attached file.
|
GetAttachedFileResult |
withFileArn(String fileArn)
The unique identifier of the attached file resource (ARN).
|
GetAttachedFileResult |
withFileId(String fileId)
The unique identifier of the attached file resource.
|
GetAttachedFileResult |
withFileName(String fileName)
A case-sensitive name of the attached file being uploaded.
|
GetAttachedFileResult |
withFileSizeInBytes(Long fileSizeInBytes)
The size of the attached file in bytes.
|
GetAttachedFileResult |
withFileStatus(FileStatusType fileStatus)
The current status of the attached file.
|
GetAttachedFileResult |
withFileStatus(String fileStatus)
The current status of the attached file.
|
GetAttachedFileResult |
withFileUseCaseType(FileUseCaseType fileUseCaseType)
The use case for the file.
|
GetAttachedFileResult |
withFileUseCaseType(String fileUseCaseType)
The use case for the file.
|
GetAttachedFileResult |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setFileArn(String fileArn)
The unique identifier of the attached file resource (ARN).
fileArn
- The unique identifier of the attached file resource (ARN).public String getFileArn()
The unique identifier of the attached file resource (ARN).
public GetAttachedFileResult withFileArn(String fileArn)
The unique identifier of the attached file resource (ARN).
fileArn
- The unique identifier of the attached file resource (ARN).public void setFileId(String fileId)
The unique identifier of the attached file resource.
fileId
- The unique identifier of the attached file resource.public String getFileId()
The unique identifier of the attached file resource.
public GetAttachedFileResult withFileId(String fileId)
The unique identifier of the attached file resource.
fileId
- The unique identifier of the attached file resource.public void setCreationTime(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
.
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
.public String getCreationTime()
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
.
yyyy-MM-ddThh:mm:ss.SSSZ
. For example, 2024-05-03T02:41:28.172Z
.public GetAttachedFileResult withCreationTime(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
.
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
.public void setFileStatus(String fileStatus)
The current status of the attached file.
fileStatus
- The current status of the attached file.FileStatusType
public String getFileStatus()
The current status of the attached file.
FileStatusType
public GetAttachedFileResult withFileStatus(String fileStatus)
The current status of the attached file.
fileStatus
- The current status of the attached file.FileStatusType
public GetAttachedFileResult withFileStatus(FileStatusType fileStatus)
The current status of the attached file.
fileStatus
- The current status of the attached file.FileStatusType
public void setFileName(String fileName)
A case-sensitive name of the attached file being uploaded.
fileName
- A case-sensitive name of the attached file being uploaded.public String getFileName()
A case-sensitive name of the attached file being uploaded.
public GetAttachedFileResult withFileName(String fileName)
A case-sensitive name of the attached file being uploaded.
fileName
- A case-sensitive name of the attached file being uploaded.public void setFileSizeInBytes(Long fileSizeInBytes)
The size of the attached file in bytes.
fileSizeInBytes
- The size of the attached file in bytes.public Long getFileSizeInBytes()
The size of the attached file in bytes.
public GetAttachedFileResult withFileSizeInBytes(Long fileSizeInBytes)
The size of the attached file in bytes.
fileSizeInBytes
- The size of the attached file in bytes.public void setAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
associatedResourceArn
- The resource to which the attached file is (being) uploaded to. Cases
are the only current supported resource.public String getAssociatedResourceArn()
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
public GetAttachedFileResult withAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
associatedResourceArn
- The resource to which the attached file is (being) uploaded to. Cases
are the only current supported resource.public void setFileUseCaseType(String fileUseCaseType)
The use case for the file.
fileUseCaseType
- The use case for the file.FileUseCaseType
public String getFileUseCaseType()
The use case for the file.
FileUseCaseType
public GetAttachedFileResult withFileUseCaseType(String fileUseCaseType)
The use case for the file.
fileUseCaseType
- The use case for the file.FileUseCaseType
public GetAttachedFileResult withFileUseCaseType(FileUseCaseType fileUseCaseType)
The use case for the file.
fileUseCaseType
- The use case for the file.FileUseCaseType
public void setCreatedBy(CreatedByInfo createdBy)
Represents the identity that created the file.
createdBy
- Represents the identity that created the file.public CreatedByInfo getCreatedBy()
Represents the identity that created the file.
public GetAttachedFileResult withCreatedBy(CreatedByInfo createdBy)
Represents the identity that created the file.
createdBy
- Represents the identity that created the file.public void setDownloadUrlMetadata(DownloadUrlMetadata downloadUrlMetadata)
URL and expiry to be used when downloading the attached file.
downloadUrlMetadata
- URL and expiry to be used when downloading the attached file.public DownloadUrlMetadata getDownloadUrlMetadata()
URL and expiry to be used when downloading the attached file.
public GetAttachedFileResult withDownloadUrlMetadata(DownloadUrlMetadata downloadUrlMetadata)
URL and expiry to be used when downloading the attached file.
downloadUrlMetadata
- URL and expiry to be used when downloading the attached file.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }
.
{ "Tags": {"key1":"value1", "key2":"value2"} }
.public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }
.
tags
- The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }
.public GetAttachedFileResult withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }
.
tags
- The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }
.public GetAttachedFileResult addTagsEntry(String key, String value)
public GetAttachedFileResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetAttachedFileResult clone()