|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.opsworks.model.Permission
public class Permission
Describes stack or user permissions.
Constructor Summary | |
---|---|
Permission()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Permission()
Method Detail |
---|
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
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |