@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachedFile extends Object implements Serializable, Cloneable, StructuredPojo
Information about the attached file.
Constructor and Description |
---|
AttachedFile() |
Modifier and Type | Method and Description |
---|---|
AttachedFile |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
AttachedFile |
clearTagsEntries()
Removes all the entries added into Tags.
|
AttachedFile |
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.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
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.
|
AttachedFile |
withAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to.
|
AttachedFile |
withCreatedBy(CreatedByInfo createdBy)
Represents the identity that created the file.
|
AttachedFile |
withCreationTime(String creationTime)
The time of Creation of the file resource as an ISO timestamp.
|
AttachedFile |
withFileArn(String fileArn)
The unique identifier of the attached file resource (ARN).
|
AttachedFile |
withFileId(String fileId)
The unique identifier of the attached file resource.
|
AttachedFile |
withFileName(String fileName)
A case-sensitive name of the attached file being uploaded.
|
AttachedFile |
withFileSizeInBytes(Long fileSizeInBytes)
The size of the attached file in bytes.
|
AttachedFile |
withFileStatus(FileStatusType fileStatus)
The current status of the attached file.
|
AttachedFile |
withFileStatus(String fileStatus)
The current status of the attached file.
|
AttachedFile |
withFileUseCaseType(FileUseCaseType fileUseCaseType)
The use case for the file.
|
AttachedFile |
withFileUseCaseType(String fileUseCaseType)
The use case for the file.
|
AttachedFile |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this 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 AttachedFile 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 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 AttachedFile 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 AttachedFile withFileId(String fileId)
The unique identifier of the attached file resource.
fileId
- The unique identifier of the attached file resource.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 AttachedFile 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 AttachedFile withFileSizeInBytes(Long fileSizeInBytes)
The size of the attached file in bytes.
fileSizeInBytes
- The size of the attached file in bytes.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 AttachedFile withFileStatus(String fileStatus)
The current status of the attached file.
fileStatus
- The current status of the attached file.FileStatusType
public AttachedFile withFileStatus(FileStatusType fileStatus)
The current status of the attached file.
fileStatus
- The current status of the attached file.FileStatusType
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 AttachedFile withCreatedBy(CreatedByInfo createdBy)
Represents the identity that created the file.
createdBy
- Represents the identity that created the file.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 AttachedFile withFileUseCaseType(String fileUseCaseType)
The use case for the file.
fileUseCaseType
- The use case for the file.FileUseCaseType
public AttachedFile withFileUseCaseType(FileUseCaseType fileUseCaseType)
The use case for the file.
fileUseCaseType
- The use case for the file.FileUseCaseType
public void setAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
associatedResourceArn
- The resource to which the attached file is (being) uploaded to. Cases
are the only current supported resource. This value must be a valid ARN.
public String getAssociatedResourceArn()
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
This value must be a valid ARN.
public AttachedFile withAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
associatedResourceArn
- The resource to which the attached file is (being) uploaded to. Cases
are the only current supported resource. This value must be a valid ARN.
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 AttachedFile 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 AttachedFile addTagsEntry(String key, String value)
public AttachedFile clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public AttachedFile clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.