@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getActionGroup()
Specifies an action group that contains permissions to add to a profiling group resource.
|
List<String> |
getPrincipals()
A list ARNs for the roles and users you want to grant access to the profiling group.
|
String |
getProfilingGroupName()
The name of the profiling group to grant access to.
|
String |
getRevisionId()
A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group.
|
int |
hashCode() |
void |
setActionGroup(String actionGroup)
Specifies an action group that contains permissions to add to a profiling group resource.
|
void |
setPrincipals(Collection<String> principals)
A list ARNs for the roles and users you want to grant access to the profiling group.
|
void |
setProfilingGroupName(String profilingGroupName)
The name of the profiling group to grant access to.
|
void |
setRevisionId(String revisionId)
A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group.
|
String |
toString()
Returns a string representation of this object.
|
PutPermissionRequest |
withActionGroup(ActionGroup actionGroup)
Specifies an action group that contains permissions to add to a profiling group resource.
|
PutPermissionRequest |
withActionGroup(String actionGroup)
Specifies an action group that contains permissions to add to a profiling group resource.
|
PutPermissionRequest |
withPrincipals(Collection<String> principals)
A list ARNs for the roles and users you want to grant access to the profiling group.
|
PutPermissionRequest |
withPrincipals(String... principals)
A list ARNs for the roles and users you want to grant access to the profiling group.
|
PutPermissionRequest |
withProfilingGroupName(String profilingGroupName)
The name of the profiling group to grant access to.
|
PutPermissionRequest |
withRevisionId(String revisionId)
A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group.
|
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 setActionGroup(String actionGroup)
Specifies an action group that contains permissions to add to a profiling group resource. One action group is
supported, agentPermissions
, which grants permission to perform actions required by the profiling
agent, ConfigureAgent
and PostAgentProfile
permissions.
actionGroup
- Specifies an action group that contains permissions to add to a profiling group resource. One action group
is supported, agentPermissions
, which grants permission to perform actions required by the
profiling agent, ConfigureAgent
and PostAgentProfile
permissions.ActionGroup
public String getActionGroup()
Specifies an action group that contains permissions to add to a profiling group resource. One action group is
supported, agentPermissions
, which grants permission to perform actions required by the profiling
agent, ConfigureAgent
and PostAgentProfile
permissions.
agentPermissions
, which grants permission to perform actions required by
the profiling agent, ConfigureAgent
and PostAgentProfile
permissions.ActionGroup
public PutPermissionRequest withActionGroup(String actionGroup)
Specifies an action group that contains permissions to add to a profiling group resource. One action group is
supported, agentPermissions
, which grants permission to perform actions required by the profiling
agent, ConfigureAgent
and PostAgentProfile
permissions.
actionGroup
- Specifies an action group that contains permissions to add to a profiling group resource. One action group
is supported, agentPermissions
, which grants permission to perform actions required by the
profiling agent, ConfigureAgent
and PostAgentProfile
permissions.ActionGroup
public PutPermissionRequest withActionGroup(ActionGroup actionGroup)
Specifies an action group that contains permissions to add to a profiling group resource. One action group is
supported, agentPermissions
, which grants permission to perform actions required by the profiling
agent, ConfigureAgent
and PostAgentProfile
permissions.
actionGroup
- Specifies an action group that contains permissions to add to a profiling group resource. One action group
is supported, agentPermissions
, which grants permission to perform actions required by the
profiling agent, ConfigureAgent
and PostAgentProfile
permissions.ActionGroup
public List<String> getPrincipals()
A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs.
public void setPrincipals(Collection<String> principals)
A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs.
principals
- A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are
supported in the ARNs.public PutPermissionRequest withPrincipals(String... principals)
A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs.
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
- A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are
supported in the ARNs.public PutPermissionRequest withPrincipals(Collection<String> principals)
A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs.
principals
- A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are
supported in the ARNs.public void setProfilingGroupName(String profilingGroupName)
The name of the profiling group to grant access to.
profilingGroupName
- The name of the profiling group to grant access to.public String getProfilingGroupName()
The name of the profiling group to grant access to.
public PutPermissionRequest withProfilingGroupName(String profilingGroupName)
The name of the profiling group to grant access to.
profilingGroupName
- The name of the profiling group to grant access to.public void setRevisionId(String revisionId)
A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group. Do
not specify this when you add permissions to a profiling group for the first time. If a policy already exists on
the profiling group, you must specify the revisionId
.
revisionId
- A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling
group. Do not specify this when you add permissions to a profiling group for the first time. If a policy
already exists on the profiling group, you must specify the revisionId
.public String getRevisionId()
A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group. Do
not specify this when you add permissions to a profiling group for the first time. If a policy already exists on
the profiling group, you must specify the revisionId
.
revisionId
.public PutPermissionRequest withRevisionId(String revisionId)
A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group. Do
not specify this when you add permissions to a profiling group for the first time. If a policy already exists on
the profiling group, you must specify the revisionId
.
revisionId
- A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling
group. Do not specify this when you add permissions to a profiling group for the first time. If a policy
already exists on the profiling group, you must specify the revisionId
.public String toString()
toString
in class Object
Object.toString()
public PutPermissionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()