public class SetPermissionRequest extends AmazonWebServiceRequest implements java.io.Serializable
SetPermission operation.
Specifies a stack's permissions. For more information, see Security and Permissions .
| コンストラクタと説明 |
|---|
SetPermissionRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAllowSsh()
The user is allowed to use SSH to communicate with the instance.
|
java.lang.Boolean |
getAllowSudo()
The user is allowed to use sudo to elevate privileges.
|
java.lang.String |
getIamUserArn()
The user's IAM ARN.
|
java.lang.String |
getStackId()
The stack ID.
|
int |
hashCode() |
java.lang.Boolean |
isAllowSsh()
The user is allowed to use SSH to communicate with the instance.
|
java.lang.Boolean |
isAllowSudo()
The user is allowed to use sudo to elevate privileges.
|
void |
setAllowSsh(java.lang.Boolean allowSsh)
The user is allowed to use SSH to communicate with the instance.
|
void |
setAllowSudo(java.lang.Boolean allowSudo)
The user is allowed to use sudo to elevate privileges.
|
void |
setIamUserArn(java.lang.String iamUserArn)
The user's IAM ARN.
|
void |
setStackId(java.lang.String stackId)
The stack ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetPermissionRequest |
withAllowSsh(java.lang.Boolean allowSsh)
The user is allowed to use SSH to communicate with the instance.
|
SetPermissionRequest |
withAllowSudo(java.lang.Boolean allowSudo)
The user is allowed to use sudo to elevate privileges.
|
SetPermissionRequest |
withIamUserArn(java.lang.String iamUserArn)
The user's IAM ARN.
|
SetPermissionRequest |
withStackId(java.lang.String stackId)
The stack ID.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getStackId()
public void setStackId(java.lang.String stackId)
stackId - The stack ID.public SetPermissionRequest withStackId(java.lang.String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId - The stack ID.public java.lang.String getIamUserArn()
public void setIamUserArn(java.lang.String iamUserArn)
iamUserArn - The user's IAM ARN.public SetPermissionRequest withIamUserArn(java.lang.String iamUserArn)
Returns a reference to this object so that method calls can be chained together.
iamUserArn - The user's IAM ARN.public java.lang.Boolean isAllowSsh()
public void setAllowSsh(java.lang.Boolean allowSsh)
allowSsh - The user is allowed to use SSH to communicate with the instance.public SetPermissionRequest withAllowSsh(java.lang.Boolean allowSsh)
Returns a reference to this object so that method calls can be chained together.
allowSsh - The user is allowed to use SSH to communicate with the instance.public java.lang.Boolean getAllowSsh()
public java.lang.Boolean isAllowSudo()
public void setAllowSudo(java.lang.Boolean allowSudo)
allowSudo - The user is allowed to use sudo to elevate privileges.public SetPermissionRequest withAllowSudo(java.lang.Boolean allowSudo)
Returns a reference to this object so that method calls can be chained together.
allowSudo - The user is allowed to use sudo to elevate privileges.public java.lang.Boolean getAllowSudo()
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object