@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetPermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SetPermissionRequest() |
Modifier and Type | Method and Description |
---|---|
SetPermissionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 |
getLevel()
The user's permission level, which must be set to one of the following strings.
|
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 |
setLevel(String level)
The user's permission level, which must be set to one of the following strings.
|
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 |
withLevel(String level)
The user's permission level, which must be set to one of the following strings.
|
SetPermissionRequest |
withStackId(String stackId)
The stack ID.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStackId(String stackId)
The stack ID.
stackId
- The stack ID.public String getStackId()
The stack ID.
public SetPermissionRequest withStackId(String stackId)
The stack ID.
stackId
- The stack ID.public void setIamUserArn(String iamUserArn)
The user's IAM ARN. This can also be a federated user's ARN.
iamUserArn
- The user's IAM ARN. This can also be a federated user's ARN.public String getIamUserArn()
The user's IAM ARN. This can also be a federated user's ARN.
public SetPermissionRequest withIamUserArn(String iamUserArn)
The user's IAM ARN. This can also be a federated user's ARN.
iamUserArn
- The user's IAM ARN. This can also be a federated user's ARN.public void setAllowSsh(Boolean allowSsh)
The user is allowed to use SSH to communicate with the instance.
allowSsh
- The user is allowed to use SSH to communicate with the instance.public Boolean getAllowSsh()
The user is allowed to use SSH to communicate with the instance.
public SetPermissionRequest withAllowSsh(Boolean allowSsh)
The user is allowed to use SSH to communicate with the instance.
allowSsh
- The user is allowed to use SSH to communicate with the instance.public Boolean isAllowSsh()
The user is allowed to use SSH to communicate with the instance.
public void setAllowSudo(Boolean allowSudo)
The user is allowed to use sudo to elevate privileges.
allowSudo
- The user is allowed to use sudo to elevate privileges.public Boolean getAllowSudo()
The user is allowed to use sudo to elevate privileges.
public SetPermissionRequest withAllowSudo(Boolean allowSudo)
The user is allowed to use sudo to elevate privileges.
allowSudo
- The user is allowed to use sudo to elevate privileges.public Boolean isAllowSudo()
The user is allowed to use sudo to elevate privileges.
public void setLevel(String level)
The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.
deny
show
deploy
manage
iam_only
For more information on the permissions associated with these levels, see Managing User Permissions.
level
- The user's permission level, which must be set to one of the following strings. You cannot set your own
permissions level.
deny
show
deploy
manage
iam_only
For more information on the permissions associated with these levels, see Managing User Permissions.
public String getLevel()
The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.
deny
show
deploy
manage
iam_only
For more information on the permissions associated with these levels, see Managing User Permissions.
deny
show
deploy
manage
iam_only
For more information on the permissions associated with these levels, see Managing User Permissions.
public SetPermissionRequest withLevel(String level)
The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.
deny
show
deploy
manage
iam_only
For more information on the permissions associated with these levels, see Managing User Permissions.
level
- The user's permission level, which must be set to one of the following strings. You cannot set your own
permissions level.
deny
show
deploy
manage
iam_only
For more information on the permissions associated with these levels, see Managing User Permissions.
public String toString()
toString
in class Object
Object.toString()
public SetPermissionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.