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