public class Permission
extends java.lang.Object
implements java.io.Serializable
Describes stack or user permissions.
| コンストラクタと説明 |
|---|
Permission() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAllowSsh()
Whether the user can use SSH.
|
java.lang.Boolean |
getAllowSudo()
Whether the user can use sudo.
|
java.lang.String |
getIamUserArn()
The Amazon Resource Name (ARN) for an AWS Identity and Access
Management (IAM) role.
|
java.lang.String |
getStackId()
A stack ID.
|
int |
hashCode() |
java.lang.Boolean |
isAllowSsh()
Whether the user can use SSH.
|
java.lang.Boolean |
isAllowSudo()
Whether the user can use sudo.
|
void |
setAllowSsh(java.lang.Boolean allowSsh)
Whether the user can use SSH.
|
void |
setAllowSudo(java.lang.Boolean allowSudo)
Whether the user can use sudo.
|
void |
setIamUserArn(java.lang.String iamUserArn)
The Amazon Resource Name (ARN) for an AWS Identity and Access
Management (IAM) role.
|
void |
setStackId(java.lang.String stackId)
A stack ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Permission |
withAllowSsh(java.lang.Boolean allowSsh)
Whether the user can use SSH.
|
Permission |
withAllowSudo(java.lang.Boolean allowSudo)
Whether the user can use sudo.
|
Permission |
withIamUserArn(java.lang.String iamUserArn)
The Amazon Resource Name (ARN) for an AWS Identity and Access
Management (IAM) role.
|
Permission |
withStackId(java.lang.String stackId)
A stack ID.
|
public java.lang.String getStackId()
public void setStackId(java.lang.String stackId)
stackId - A stack ID.public Permission withStackId(java.lang.String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId - A stack ID.public java.lang.String getIamUserArn()
public void setIamUserArn(java.lang.String iamUserArn)
iamUserArn - The Amazon Resource Name (ARN) for an AWS Identity and Access
Management (IAM) role. For more information about IAM ARNs, see Using
Identifiers.public Permission withIamUserArn(java.lang.String iamUserArn)
Returns a reference to this object so that method calls can be chained together.
iamUserArn - The Amazon Resource Name (ARN) for an AWS Identity and Access
Management (IAM) role. For more information about IAM ARNs, see Using
Identifiers.public java.lang.Boolean isAllowSsh()
public void setAllowSsh(java.lang.Boolean allowSsh)
allowSsh - Whether the user can use SSH.public Permission withAllowSsh(java.lang.Boolean allowSsh)
Returns a reference to this object so that method calls can be chained together.
allowSsh - Whether the user can use SSH.public java.lang.Boolean getAllowSsh()
public java.lang.Boolean isAllowSudo()
public void setAllowSudo(java.lang.Boolean allowSudo)
allowSudo - Whether the user can use sudo.public Permission withAllowSudo(java.lang.Boolean allowSudo)
Returns a reference to this object so that method calls can be chained together.
allowSudo - Whether the user can use sudo.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