|
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(Object obj)
|
Boolean |
getAllowSsh()
Whether the user can use SSH. |
Boolean |
getAllowSudo()
Whether the user can use sudo. |
String |
getIamUserArn()
The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. |
String |
getStackId()
A stack ID. |
int |
hashCode()
|
Boolean |
isAllowSsh()
Whether the user can use SSH. |
Boolean |
isAllowSudo()
Whether the user can use sudo. |
void |
setAllowSsh(Boolean allowSsh)
Whether the user can use SSH. |
void |
setAllowSudo(Boolean allowSudo)
Whether the user can use sudo. |
void |
setIamUserArn(String iamUserArn)
The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. |
void |
setStackId(String stackId)
A stack ID. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Permission |
withAllowSsh(Boolean allowSsh)
Whether the user can use SSH. |
Permission |
withAllowSudo(Boolean allowSudo)
Whether the user can use sudo. |
Permission |
withIamUserArn(String iamUserArn)
The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. |
Permission |
withStackId(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 String getStackId()
public void setStackId(String stackId)
stackId
- A stack ID.public Permission withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- A stack ID.
public String getIamUserArn()
public void setIamUserArn(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(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 Boolean isAllowSsh()
public void setAllowSsh(Boolean allowSsh)
allowSsh
- Whether the user can use SSH.public Permission withAllowSsh(Boolean allowSsh)
Returns a reference to this object so that method calls can be chained together.
allowSsh
- Whether the user can use SSH.
public Boolean getAllowSsh()
public Boolean isAllowSudo()
public void setAllowSudo(Boolean allowSudo)
allowSudo
- Whether the user can use sudo.public Permission withAllowSudo(Boolean allowSudo)
Returns a reference to this object so that method calls can be chained together.
allowSudo
- Whether the user can use sudo.
public Boolean getAllowSudo()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |