Interface DescribeAccessPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAccessPolicyResponse.Builder,
,DescribeAccessPolicyResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<DescribeAccessPolicyResponse.Builder,
,DescribeAccessPolicyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAccessPolicyResponse
-
Method Summary
Modifier and TypeMethodDescriptionaccessPolicyArn
(String accessPolicyArn) The ARN of the access policy, which has the following format.accessPolicyCreationDate
(Instant accessPolicyCreationDate) The date the access policy was created, in Unix epoch time.accessPolicyId
(String accessPolicyId) The ID of the access policy.accessPolicyIdentity
(Consumer<Identity.Builder> accessPolicyIdentity) The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.accessPolicyIdentity
(Identity accessPolicyIdentity) The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.accessPolicyLastUpdateDate
(Instant accessPolicyLastUpdateDate) The date the access policy was last updated, in Unix epoch time.accessPolicyPermission
(String accessPolicyPermission) The access policy permission.accessPolicyPermission
(Permission accessPolicyPermission) The access policy permission.accessPolicyResource
(Consumer<Resource.Builder> accessPolicyResource) The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.accessPolicyResource
(Resource accessPolicyResource) The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
accessPolicyArn
The ARN of the access policy, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
- Parameters:
accessPolicyArn
- The ARN of the access policy, which has the following format.arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPolicyIdentity
The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.
- Parameters:
accessPolicyIdentity
- The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPolicyIdentity
default DescribeAccessPolicyResponse.Builder accessPolicyIdentity(Consumer<Identity.Builder> accessPolicyIdentity) The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.
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 (portal or project) to which this access policy provides access.
- Parameters:
accessPolicyResource
- The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPolicyResource
default DescribeAccessPolicyResponse.Builder accessPolicyResource(Consumer<Resource.Builder> accessPolicyResource) The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.
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 access policy permission. Note that a project
ADMINISTRATOR
is also known as a project owner.- Parameters:
accessPolicyPermission
- The access policy permission. 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 access policy permission. Note that a project
ADMINISTRATOR
is also known as a project owner.- Parameters:
accessPolicyPermission
- The access policy permission. 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:
-
accessPolicyCreationDate
The date the access policy was created, in Unix epoch time.
- Parameters:
accessPolicyCreationDate
- The date the access policy was created, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPolicyLastUpdateDate
The date the access policy was last updated, in Unix epoch time.
- Parameters:
accessPolicyLastUpdateDate
- The date the access policy was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-