Interface UpdateAccessPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateAccessPolicyRequest.Builder,
,UpdateAccessPolicyRequest> IoTSiteWiseRequest.Builder
,SdkBuilder<UpdateAccessPolicyRequest.Builder,
,UpdateAccessPolicyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAccessPolicyRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccessPolicyId
(String accessPolicyId) The ID of the access policy.accessPolicyIdentity
(Consumer<Identity.Builder> accessPolicyIdentity) The identity for this access policy.accessPolicyIdentity
(Identity accessPolicyIdentity) The identity for this access policy.accessPolicyPermission
(String accessPolicyPermission) The permission level for this access policy.accessPolicyPermission
(Permission accessPolicyPermission) The permission level for this access policy.accessPolicyResource
(Consumer<Resource.Builder> accessPolicyResource) The IoT SiteWise Monitor resource for this access policy.accessPolicyResource
(Resource accessPolicyResource) The IoT SiteWise Monitor resource for this access policy.clientToken
(String clientToken) A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accessPolicyId
The ID of the access policy.
- Parameters:
accessPolicyId
- The ID of the access policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPolicyIdentity
The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
- Parameters:
accessPolicyIdentity
- The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPolicyIdentity
default UpdateAccessPolicyRequest.Builder accessPolicyIdentity(Consumer<Identity.Builder> accessPolicyIdentity) The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
This is a convenience method that creates an instance of theIdentity.Builder
avoiding the need to create one manually viaIdentity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessPolicyIdentity(Identity)
.- Parameters:
accessPolicyIdentity
- a consumer that will call methods onIdentity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessPolicyResource
The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.
- Parameters:
accessPolicyResource
- The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPolicyResource
default UpdateAccessPolicyRequest.Builder accessPolicyResource(Consumer<Resource.Builder> accessPolicyResource) The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.
This is a convenience method that creates an instance of theResource.Builder
avoiding the need to create one manually viaResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessPolicyResource(Resource)
.- Parameters:
accessPolicyResource
- a consumer that will call methods onResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessPolicyPermission
The permission level for this access policy. Note that a project
ADMINISTRATOR
is also known as a project owner.- Parameters:
accessPolicyPermission
- The permission level for this access policy. Note that a projectADMINISTRATOR
is also known as a project owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessPolicyPermission
The permission level for this access policy. Note that a project
ADMINISTRATOR
is also known as a project owner.- Parameters:
accessPolicyPermission
- The permission level for this access policy. Note that a projectADMINISTRATOR
is also known as a project owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateAccessPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAccessPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-