@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFolderRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateFolderRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateFolderRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The AWS Account ID.
|
String |
getFolderId()
The folder ID.
|
String |
getFolderType()
The type of folder.
|
String |
getName()
The name of the folder.
|
String |
getParentFolderArn()
The Amazon Resource Name (ARN) for the parent folder.
|
List<ResourcePermission> |
getPermissions()
A structure that describes the principals and the resource-level permissions of a folder.
|
List<Tag> |
getTags()
Tags for the folder.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The AWS Account ID.
|
void |
setFolderId(String folderId)
The folder ID.
|
void |
setFolderType(String folderType)
The type of folder.
|
void |
setName(String name)
The name of the folder.
|
void |
setParentFolderArn(String parentFolderArn)
The Amazon Resource Name (ARN) for the parent folder.
|
void |
setPermissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions of a folder.
|
void |
setTags(Collection<Tag> tags)
Tags for the folder.
|
String |
toString()
Returns a string representation of this object.
|
CreateFolderRequest |
withAwsAccountId(String awsAccountId)
The AWS Account ID.
|
CreateFolderRequest |
withFolderId(String folderId)
The folder ID.
|
CreateFolderRequest |
withFolderType(FolderType folderType)
The type of folder.
|
CreateFolderRequest |
withFolderType(String folderType)
The type of folder.
|
CreateFolderRequest |
withName(String name)
The name of the folder.
|
CreateFolderRequest |
withParentFolderArn(String parentFolderArn)
The Amazon Resource Name (ARN) for the parent folder.
|
CreateFolderRequest |
withPermissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions of a folder.
|
CreateFolderRequest |
withPermissions(ResourcePermission... permissions)
A structure that describes the principals and the resource-level permissions of a folder.
|
CreateFolderRequest |
withTags(Collection<Tag> tags)
Tags for the folder.
|
CreateFolderRequest |
withTags(Tag... tags)
Tags for the folder.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setAwsAccountId(String awsAccountId)
The AWS Account ID.
awsAccountId - The AWS Account ID.public String getAwsAccountId()
The AWS Account ID.
public CreateFolderRequest withAwsAccountId(String awsAccountId)
The AWS Account ID.
awsAccountId - The AWS Account ID.public void setFolderId(String folderId)
The folder ID.
folderId - The folder ID.public String getFolderId()
The folder ID.
public CreateFolderRequest withFolderId(String folderId)
The folder ID.
folderId - The folder ID.public void setName(String name)
The name of the folder.
name - The name of the folder.public String getName()
The name of the folder.
public CreateFolderRequest withName(String name)
The name of the folder.
name - The name of the folder.public void setFolderType(String folderType)
The type of folder. By default, folderType is SHARED.
folderType - The type of folder. By default, folderType is SHARED.FolderTypepublic String getFolderType()
The type of folder. By default, folderType is SHARED.
folderType is SHARED.FolderTypepublic CreateFolderRequest withFolderType(String folderType)
The type of folder. By default, folderType is SHARED.
folderType - The type of folder. By default, folderType is SHARED.FolderTypepublic CreateFolderRequest withFolderType(FolderType folderType)
The type of folder. By default, folderType is SHARED.
folderType - The type of folder. By default, folderType is SHARED.FolderTypepublic void setParentFolderArn(String parentFolderArn)
The Amazon Resource Name (ARN) for the parent folder.
ParentFolderArn can be null. An empty parentFolderArn creates a root-level folder.
parentFolderArn - The Amazon Resource Name (ARN) for the parent folder.
ParentFolderArn can be null. An empty parentFolderArn creates a root-level
folder.
public String getParentFolderArn()
The Amazon Resource Name (ARN) for the parent folder.
ParentFolderArn can be null. An empty parentFolderArn creates a root-level folder.
ParentFolderArn can be null. An empty parentFolderArn creates a root-level
folder.
public CreateFolderRequest withParentFolderArn(String parentFolderArn)
The Amazon Resource Name (ARN) for the parent folder.
ParentFolderArn can be null. An empty parentFolderArn creates a root-level folder.
parentFolderArn - The Amazon Resource Name (ARN) for the parent folder.
ParentFolderArn can be null. An empty parentFolderArn creates a root-level
folder.
public List<ResourcePermission> getPermissions()
A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit Permissions.
To specify no permissions, omit Permissions.
public void setPermissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit Permissions.
permissions - A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit Permissions.
public CreateFolderRequest withPermissions(ResourcePermission... permissions)
A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit Permissions.
NOTE: This method appends the values to the existing list (if any). Use
setPermissions(java.util.Collection) or withPermissions(java.util.Collection) if you want to
override the existing values.
permissions - A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit Permissions.
public CreateFolderRequest withPermissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit Permissions.
permissions - A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit Permissions.
public void setTags(Collection<Tag> tags)
Tags for the folder.
tags - Tags for the folder.public CreateFolderRequest withTags(Tag... tags)
Tags for the folder.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - Tags for the folder.public CreateFolderRequest withTags(Collection<Tag> tags)
Tags for the folder.
tags - Tags for the folder.public String toString()
toString in class ObjectObject.toString()public CreateFolderRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.