@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Folder extends Object implements Serializable, Cloneable, StructuredPojo
A folder.
Constructor and Description |
---|
Folder() |
Modifier and Type | Method and Description |
---|---|
Folder |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The folder Amazon Resource Name (ARN).
|
Date |
getCreatedTime()
The time that the folder was created.
|
String |
getFolderId()
The folder ID.
|
List<String> |
getFolderPath()
An array of ancestor folder ARN strings.
|
String |
getFolderType()
The type of the folder.
|
Date |
getLastUpdatedTime()
The time that the folder was last updated.
|
String |
getName()
A display name for the folder.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The folder Amazon Resource Name (ARN).
|
void |
setCreatedTime(Date createdTime)
The time that the folder was created.
|
void |
setFolderId(String folderId)
The folder ID.
|
void |
setFolderPath(Collection<String> folderPath)
An array of ancestor folder ARN strings.
|
void |
setFolderType(String folderType)
The type of the folder.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The time that the folder was last updated.
|
void |
setName(String name)
A display name for the folder.
|
String |
toString()
Returns a string representation of this object.
|
Folder |
withArn(String arn)
The folder Amazon Resource Name (ARN).
|
Folder |
withCreatedTime(Date createdTime)
The time that the folder was created.
|
Folder |
withFolderId(String folderId)
The folder ID.
|
Folder |
withFolderPath(Collection<String> folderPath)
An array of ancestor folder ARN strings.
|
Folder |
withFolderPath(String... folderPath)
An array of ancestor folder ARN strings.
|
Folder |
withFolderType(FolderType folderType)
The type of the folder.
|
Folder |
withFolderType(String folderType)
The type of the folder.
|
Folder |
withLastUpdatedTime(Date lastUpdatedTime)
The time that the folder was last updated.
|
Folder |
withName(String name)
A display name for the folder.
|
public void setFolderId(String folderId)
The folder ID.
folderId
- The folder ID.public String getFolderId()
The folder ID.
public Folder withFolderId(String folderId)
The folder ID.
folderId
- The folder ID.public void setArn(String arn)
The folder Amazon Resource Name (ARN).
arn
- The folder Amazon Resource Name (ARN).public String getArn()
The folder Amazon Resource Name (ARN).
public Folder withArn(String arn)
The folder Amazon Resource Name (ARN).
arn
- The folder Amazon Resource Name (ARN).public void setName(String name)
A display name for the folder.
name
- A display name for the folder.public String getName()
A display name for the folder.
public Folder withName(String name)
A display name for the folder.
name
- A display name for the folder.public void setFolderType(String folderType)
The type of the folder.
folderType
- The type of the folder.FolderType
public String getFolderType()
The type of the folder.
FolderType
public Folder withFolderType(String folderType)
The type of the folder.
folderType
- The type of the folder.FolderType
public Folder withFolderType(FolderType folderType)
The type of the folder.
folderType
- The type of the folder.FolderType
public List<String> getFolderPath()
An array of ancestor folder ARN strings.
public void setFolderPath(Collection<String> folderPath)
An array of ancestor folder ARN strings.
folderPath
- An array of ancestor folder ARN strings.public Folder withFolderPath(String... folderPath)
An array of ancestor folder ARN strings.
NOTE: This method appends the values to the existing list (if any). Use
setFolderPath(java.util.Collection)
or withFolderPath(java.util.Collection)
if you want to
override the existing values.
folderPath
- An array of ancestor folder ARN strings.public Folder withFolderPath(Collection<String> folderPath)
An array of ancestor folder ARN strings.
folderPath
- An array of ancestor folder ARN strings.public void setCreatedTime(Date createdTime)
The time that the folder was created.
createdTime
- The time that the folder was created.public Date getCreatedTime()
The time that the folder was created.
public Folder withCreatedTime(Date createdTime)
The time that the folder was created.
createdTime
- The time that the folder was created.public void setLastUpdatedTime(Date lastUpdatedTime)
The time that the folder was last updated.
lastUpdatedTime
- The time that the folder was last updated.public Date getLastUpdatedTime()
The time that the folder was last updated.
public Folder withLastUpdatedTime(Date lastUpdatedTime)
The time that the folder was last updated.
lastUpdatedTime
- The time that the folder was last updated.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.