Interface UpdateAccessPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAccessPolicyRequest.Builder,UpdateAccessPolicyRequest>,IoTSiteWiseRequest.Builder,SdkBuilder<UpdateAccessPolicyRequest.Builder,UpdateAccessPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAccessPolicyRequest
public static interface UpdateAccessPolicyRequest.Builder extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<UpdateAccessPolicyRequest.Builder,UpdateAccessPolicyRequest>
-
-
Method Summary
-
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 Detail
-
accessPolicyId
UpdateAccessPolicyRequest.Builder accessPolicyId(String 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
UpdateAccessPolicyRequest.Builder accessPolicyIdentity(Identity 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.Builderavoiding the need to create one manually viaIdentity.builder().When the
Consumercompletes,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:
accessPolicyIdentity(Identity)
-
accessPolicyResource
UpdateAccessPolicyRequest.Builder accessPolicyResource(Resource 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.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,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:
accessPolicyResource(Resource)
-
accessPolicyPermission
UpdateAccessPolicyRequest.Builder accessPolicyPermission(String accessPolicyPermission)
The permission level for this access policy. Note that a project
ADMINISTRATORis also known as a project owner.- Parameters:
accessPolicyPermission- The permission level for this access policy. Note that a projectADMINISTRATORis also known as a project owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Permission,Permission
-
accessPolicyPermission
UpdateAccessPolicyRequest.Builder accessPolicyPermission(Permission accessPolicyPermission)
The permission level for this access policy. Note that a project
ADMINISTRATORis also known as a project owner.- Parameters:
accessPolicyPermission- The permission level for this access policy. Note that a projectADMINISTRATORis also known as a project owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Permission,Permission
-
clientToken
UpdateAccessPolicyRequest.Builder clientToken(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.
- 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAccessPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-