|
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.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.SetPermissionRequest
public class SetPermissionRequest
Container for the parameters to the SetPermission operation
.
Specifies a stack's permissions. For more information, see Security and Permissions .
AWSOpsWorks.setPermission(SetPermissionRequest)
,
Serialized FormConstructor Summary | |
---|---|
SetPermissionRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Boolean |
getAllowSsh()
The user is allowed to use SSH to communicate with the instance. |
Boolean |
getAllowSudo()
The user is allowed to use sudo to elevate privileges. |
String |
getIamUserArn()
The user's IAM ARN. |
String |
getStackId()
The stack ID. |
int |
hashCode()
|
Boolean |
isAllowSsh()
The user is allowed to use SSH to communicate with the instance. |
Boolean |
isAllowSudo()
The user is allowed to use sudo to elevate privileges. |
void |
setAllowSsh(Boolean allowSsh)
The user is allowed to use SSH to communicate with the instance. |
void |
setAllowSudo(Boolean allowSudo)
The user is allowed to use sudo to elevate privileges. |
void |
setIamUserArn(String iamUserArn)
The user's IAM ARN. |
void |
setStackId(String stackId)
The stack ID. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SetPermissionRequest |
withAllowSsh(Boolean allowSsh)
The user is allowed to use SSH to communicate with the instance. |
SetPermissionRequest |
withAllowSudo(Boolean allowSudo)
The user is allowed to use sudo to elevate privileges. |
SetPermissionRequest |
withIamUserArn(String iamUserArn)
The user's IAM ARN. |
SetPermissionRequest |
withStackId(String stackId)
The stack ID. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SetPermissionRequest()
Method Detail |
---|
public String getStackId()
public void setStackId(String stackId)
stackId
- The stack ID.public SetPermissionRequest withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The stack ID.
public String getIamUserArn()
public void setIamUserArn(String iamUserArn)
iamUserArn
- The user's IAM ARN.public SetPermissionRequest withIamUserArn(String iamUserArn)
Returns a reference to this object so that method calls can be chained together.
iamUserArn
- The user's IAM ARN.
public Boolean isAllowSsh()
public void setAllowSsh(Boolean allowSsh)
allowSsh
- The user is allowed to use SSH to communicate with the instance.public SetPermissionRequest withAllowSsh(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 Boolean getAllowSsh()
public Boolean isAllowSudo()
public void setAllowSudo(Boolean allowSudo)
allowSudo
- The user is allowed to use sudo to elevate privileges.public SetPermissionRequest withAllowSudo(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 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 |