@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutPermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The structure representing the putPermissionRequest.
NOOP| Constructor and Description |
|---|
PutPermissionRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutPermissionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getActionGroup()
The list of actions that the users and roles can perform on the profiling group.
|
List<String> |
getPrincipals()
The list of role and user ARNs or the accountId that needs access (wildcards are not allowed).
|
String |
getProfilingGroupName()
The name of the profiling group.
|
String |
getRevisionId()
A unique identifier for the current revision of the policy.
|
int |
hashCode() |
void |
setActionGroup(String actionGroup)
The list of actions that the users and roles can perform on the profiling group.
|
void |
setPrincipals(Collection<String> principals)
The list of role and user ARNs or the accountId that needs access (wildcards are not allowed).
|
void |
setProfilingGroupName(String profilingGroupName)
The name of the profiling group.
|
void |
setRevisionId(String revisionId)
A unique identifier for the current revision of the policy.
|
String |
toString()
Returns a string representation of this object.
|
PutPermissionRequest |
withActionGroup(ActionGroup actionGroup)
The list of actions that the users and roles can perform on the profiling group.
|
PutPermissionRequest |
withActionGroup(String actionGroup)
The list of actions that the users and roles can perform on the profiling group.
|
PutPermissionRequest |
withPrincipals(Collection<String> principals)
The list of role and user ARNs or the accountId that needs access (wildcards are not allowed).
|
PutPermissionRequest |
withPrincipals(String... principals)
The list of role and user ARNs or the accountId that needs access (wildcards are not allowed).
|
PutPermissionRequest |
withProfilingGroupName(String profilingGroupName)
The name of the profiling group.
|
PutPermissionRequest |
withRevisionId(String revisionId)
A unique identifier for the current revision of the policy.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setActionGroup(String actionGroup)
The list of actions that the users and roles can perform on the profiling group.
actionGroup - The list of actions that the users and roles can perform on the profiling group.ActionGrouppublic String getActionGroup()
The list of actions that the users and roles can perform on the profiling group.
ActionGrouppublic PutPermissionRequest withActionGroup(String actionGroup)
The list of actions that the users and roles can perform on the profiling group.
actionGroup - The list of actions that the users and roles can perform on the profiling group.ActionGrouppublic PutPermissionRequest withActionGroup(ActionGroup actionGroup)
The list of actions that the users and roles can perform on the profiling group.
actionGroup - The list of actions that the users and roles can perform on the profiling group.ActionGrouppublic List<String> getPrincipals()
The list of role and user ARNs or the accountId that needs access (wildcards are not allowed).
public void setPrincipals(Collection<String> principals)
The list of role and user ARNs or the accountId that needs access (wildcards are not allowed).
principals - The list of role and user ARNs or the accountId that needs access (wildcards are not allowed).public PutPermissionRequest withPrincipals(String... principals)
The list of role and user ARNs or the accountId that needs access (wildcards are not allowed).
NOTE: This method appends the values to the existing list (if any). Use
setPrincipals(java.util.Collection) or withPrincipals(java.util.Collection) if you want to
override the existing values.
principals - The list of role and user ARNs or the accountId that needs access (wildcards are not allowed).public PutPermissionRequest withPrincipals(Collection<String> principals)
The list of role and user ARNs or the accountId that needs access (wildcards are not allowed).
principals - The list of role and user ARNs or the accountId that needs access (wildcards are not allowed).public void setProfilingGroupName(String profilingGroupName)
The name of the profiling group.
profilingGroupName - The name of the profiling group.public String getProfilingGroupName()
The name of the profiling group.
public PutPermissionRequest withProfilingGroupName(String profilingGroupName)
The name of the profiling group.
profilingGroupName - The name of the profiling group.public void setRevisionId(String revisionId)
A unique identifier for the current revision of the policy. This is required, if a policy exists for the profiling group. This is not required when creating the policy for the first time.
revisionId - A unique identifier for the current revision of the policy. This is required, if a policy exists for the
profiling group. This is not required when creating the policy for the first time.public String getRevisionId()
A unique identifier for the current revision of the policy. This is required, if a policy exists for the profiling group. This is not required when creating the policy for the first time.
public PutPermissionRequest withRevisionId(String revisionId)
A unique identifier for the current revision of the policy. This is required, if a policy exists for the profiling group. This is not required when creating the policy for the first time.
revisionId - A unique identifier for the current revision of the policy. This is required, if a policy exists for the
profiling group. This is not required when creating the policy for the first time.public String toString()
toString in class ObjectObject.toString()public PutPermissionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.