@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAccessPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAccessPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAccessPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessPolicyId()
The ID of the access policy.
|
Identity |
getAccessPolicyIdentity()
The identity for this access policy.
|
String |
getAccessPolicyPermission()
The permission level for this access policy.
|
Resource |
getAccessPolicyResource()
The IoT SiteWise Monitor resource for this access policy.
|
String |
getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
int |
hashCode() |
void |
setAccessPolicyId(String accessPolicyId)
The ID of the access policy.
|
void |
setAccessPolicyIdentity(Identity accessPolicyIdentity)
The identity for this access policy.
|
void |
setAccessPolicyPermission(String accessPolicyPermission)
The permission level for this access policy.
|
void |
setAccessPolicyResource(Resource accessPolicyResource)
The IoT SiteWise Monitor resource for this access policy.
|
void |
setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAccessPolicyRequest |
withAccessPolicyId(String accessPolicyId)
The ID of the access policy.
|
UpdateAccessPolicyRequest |
withAccessPolicyIdentity(Identity accessPolicyIdentity)
The identity for this access policy.
|
UpdateAccessPolicyRequest |
withAccessPolicyPermission(Permission accessPolicyPermission)
The permission level for this access policy.
|
UpdateAccessPolicyRequest |
withAccessPolicyPermission(String accessPolicyPermission)
The permission level for this access policy.
|
UpdateAccessPolicyRequest |
withAccessPolicyResource(Resource accessPolicyResource)
The IoT SiteWise Monitor resource for this access policy.
|
UpdateAccessPolicyRequest |
withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
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 setAccessPolicyId(String accessPolicyId)
The ID of the access policy.
accessPolicyId
- The ID of the access policy.public String getAccessPolicyId()
The ID of the access policy.
public UpdateAccessPolicyRequest withAccessPolicyId(String accessPolicyId)
The ID of the access policy.
accessPolicyId
- The ID of the access policy.public void setAccessPolicyIdentity(Identity accessPolicyIdentity)
The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
accessPolicyIdentity
- The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or
an IAM user.public Identity getAccessPolicyIdentity()
The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
public UpdateAccessPolicyRequest withAccessPolicyIdentity(Identity accessPolicyIdentity)
The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
accessPolicyIdentity
- The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or
an IAM user.public void setAccessPolicyResource(Resource accessPolicyResource)
The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.
accessPolicyResource
- The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.public Resource getAccessPolicyResource()
The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.
public UpdateAccessPolicyRequest withAccessPolicyResource(Resource accessPolicyResource)
The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.
accessPolicyResource
- The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.public void setAccessPolicyPermission(String accessPolicyPermission)
The permission level for this access policy. Note that a project ADMINISTRATOR
is also known as a
project owner.
accessPolicyPermission
- The permission level for this access policy. Note that a project ADMINISTRATOR
is also known
as a project owner.Permission
public String getAccessPolicyPermission()
The permission level for this access policy. Note that a project ADMINISTRATOR
is also known as a
project owner.
ADMINISTRATOR
is also known
as a project owner.Permission
public UpdateAccessPolicyRequest withAccessPolicyPermission(String accessPolicyPermission)
The permission level for this access policy. Note that a project ADMINISTRATOR
is also known as a
project owner.
accessPolicyPermission
- The permission level for this access policy. Note that a project ADMINISTRATOR
is also known
as a project owner.Permission
public UpdateAccessPolicyRequest withAccessPolicyPermission(Permission accessPolicyPermission)
The permission level for this access policy. Note that a project ADMINISTRATOR
is also known as a
project owner.
accessPolicyPermission
- The permission level for this access policy. Note that a project ADMINISTRATOR
is also known
as a project owner.Permission
public void setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public String getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
public UpdateAccessPolicyRequest withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public String toString()
toString
in class Object
Object.toString()
public UpdateAccessPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()