Class SetPermissionRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The user is allowed to use SSH to communicate with the instance.The user is allowed to use sudo to elevate privileges.The user's IAM ARN.getLevel()
The user's permission level, which must be set to one of the following strings.The stack ID.int
hashCode()
The user is allowed to use SSH to communicate with the instance.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
The user's permission level, which must be set to one of the following strings.void
setStackId
(String stackId) The stack ID.toString()
Returns a string representation of this object; useful for testing and debugging.withAllowSsh
(Boolean allowSsh) The user is allowed to use SSH to communicate with the instance.withAllowSudo
(Boolean allowSudo) The user is allowed to use sudo to elevate privileges.withIamUserArn
(String iamUserArn) The user's IAM ARN.The user's permission level, which must be set to one of the following strings.withStackId
(String stackId) The stack ID.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
SetPermissionRequest
public SetPermissionRequest()
-
-
Method Details
-
setStackId
The stack ID.
- Parameters:
stackId
- The stack ID.
-
getStackId
The stack ID.
- Returns:
- The stack ID.
-
withStackId
The stack ID.
- Parameters:
stackId
- The stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIamUserArn
The user's IAM ARN.
- Parameters:
iamUserArn
- The user's IAM ARN.
-
getIamUserArn
The user's IAM ARN.
- Returns:
- The user's IAM ARN.
-
withIamUserArn
The user's IAM ARN.
- Parameters:
iamUserArn
- The user's IAM ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAllowSsh
The user is allowed to use SSH to communicate with the instance.
- Parameters:
allowSsh
- The user is allowed to use SSH to communicate with the instance.
-
getAllowSsh
The user is allowed to use SSH to communicate with the instance.
- Returns:
- The user is allowed to use SSH to communicate with the instance.
-
withAllowSsh
The user is allowed to use SSH to communicate with the instance.
- Parameters:
allowSsh
- The user is allowed to use SSH to communicate with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAllowSsh
The user is allowed to use SSH to communicate with the instance.
- Returns:
- The user is allowed to use SSH to communicate with the instance.
-
setAllowSudo
The user is allowed to use sudo to elevate privileges.
- Parameters:
allowSudo
- The user is allowed to use sudo to elevate privileges.
-
getAllowSudo
The user is allowed to use sudo to elevate privileges.
- Returns:
- The user is allowed to use sudo to elevate privileges.
-
withAllowSudo
The user is allowed to use sudo to elevate privileges.
- Parameters:
allowSudo
- The user is allowed to use sudo to elevate privileges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAllowSudo
The user is allowed to use sudo to elevate privileges.
- Returns:
- The user is allowed to use sudo to elevate privileges.
-
setLevel
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.
- Parameters:
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.
-
-
-
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.
- Returns:
- 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.
-
-
-
withLevel
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-