@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFolderPermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeFolderPermissionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeFolderPermissionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) for the folder.
|
String |
getFolderId()
The folder ID.
|
List<ResourcePermission> |
getPermissions()
Information about the permissions on the folder.
|
String |
getRequestId()
The request ID.
|
Integer |
getStatus()
The status.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the folder.
|
void |
setFolderId(String folderId)
The folder ID.
|
void |
setPermissions(Collection<ResourcePermission> permissions)
Information about the permissions on the folder.
|
void |
setRequestId(String requestId)
The request ID.
|
void |
setStatus(Integer status)
The status.
|
String |
toString()
Returns a string representation of this object.
|
DescribeFolderPermissionsResult |
withArn(String arn)
The Amazon Resource Name (ARN) for the folder.
|
DescribeFolderPermissionsResult |
withFolderId(String folderId)
The folder ID.
|
DescribeFolderPermissionsResult |
withPermissions(Collection<ResourcePermission> permissions)
Information about the permissions on the folder.
|
DescribeFolderPermissionsResult |
withPermissions(ResourcePermission... permissions)
Information about the permissions on the folder.
|
DescribeFolderPermissionsResult |
withRequestId(String requestId)
The request ID.
|
DescribeFolderPermissionsResult |
withStatus(Integer status)
The status.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStatus(Integer status)
The status. If succeeded, the status is SC_OK
.
status
- The status. If succeeded, the status is SC_OK
.public Integer getStatus()
The status. If succeeded, the status is SC_OK
.
SC_OK
.public DescribeFolderPermissionsResult withStatus(Integer status)
The status. If succeeded, the status is SC_OK
.
status
- The status. If succeeded, the status is SC_OK
.public void setFolderId(String folderId)
The folder ID.
folderId
- The folder ID.public String getFolderId()
The folder ID.
public DescribeFolderPermissionsResult withFolderId(String folderId)
The folder ID.
folderId
- The folder ID.public void setArn(String arn)
The Amazon Resource Name (ARN) for the folder.
arn
- The Amazon Resource Name (ARN) for the folder.public String getArn()
The Amazon Resource Name (ARN) for the folder.
public DescribeFolderPermissionsResult withArn(String arn)
The Amazon Resource Name (ARN) for the folder.
arn
- The Amazon Resource Name (ARN) for the folder.public List<ResourcePermission> getPermissions()
Information about the permissions on the folder.
public void setPermissions(Collection<ResourcePermission> permissions)
Information about the permissions on the folder.
permissions
- Information about the permissions on the folder.public DescribeFolderPermissionsResult withPermissions(ResourcePermission... permissions)
Information about the permissions on the folder.
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
- Information about the permissions on the folder.public DescribeFolderPermissionsResult withPermissions(Collection<ResourcePermission> permissions)
Information about the permissions on the folder.
permissions
- Information about the permissions on the folder.public void setRequestId(String requestId)
The request ID.
requestId
- The request ID.public String getRequestId()
The request ID.
public DescribeFolderPermissionsResult withRequestId(String requestId)
The request ID.
requestId
- The request ID.public String toString()
toString
in class Object
Object.toString()
public DescribeFolderPermissionsResult clone()