Interface DescribeAccessPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAccessPolicyResponse.Builder,DescribeAccessPolicyResponse>,IoTSiteWiseResponse.Builder,SdkBuilder<DescribeAccessPolicyResponse.Builder,DescribeAccessPolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeAccessPolicyResponse
public static interface DescribeAccessPolicyResponse.Builder extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<DescribeAccessPolicyResponse.Builder,DescribeAccessPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeAccessPolicyResponse.BuilderaccessPolicyArn(String accessPolicyArn)The ARN of the access policy, which has the following format.DescribeAccessPolicyResponse.BuilderaccessPolicyCreationDate(Instant accessPolicyCreationDate)The date the access policy was created, in Unix epoch time.DescribeAccessPolicyResponse.BuilderaccessPolicyId(String accessPolicyId)The ID of the access policy.default DescribeAccessPolicyResponse.BuilderaccessPolicyIdentity(Consumer<Identity.Builder> accessPolicyIdentity)The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.DescribeAccessPolicyResponse.BuilderaccessPolicyIdentity(Identity accessPolicyIdentity)The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.DescribeAccessPolicyResponse.BuilderaccessPolicyLastUpdateDate(Instant accessPolicyLastUpdateDate)The date the access policy was last updated, in Unix epoch time.DescribeAccessPolicyResponse.BuilderaccessPolicyPermission(String accessPolicyPermission)The access policy permission.DescribeAccessPolicyResponse.BuilderaccessPolicyPermission(Permission accessPolicyPermission)The access policy permission.default DescribeAccessPolicyResponse.BuilderaccessPolicyResource(Consumer<Resource.Builder> accessPolicyResource)The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.DescribeAccessPolicyResponse.BuilderaccessPolicyResource(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 Detail
-
accessPolicyId
DescribeAccessPolicyResponse.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.
-
accessPolicyArn
DescribeAccessPolicyResponse.Builder accessPolicyArn(String 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
DescribeAccessPolicyResponse.Builder accessPolicyIdentity(Identity 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.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
DescribeAccessPolicyResponse.Builder accessPolicyResource(Resource 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.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
DescribeAccessPolicyResponse.Builder accessPolicyPermission(String accessPolicyPermission)
The access policy permission. Note that a project
ADMINISTRATORis also known as a project owner.- Parameters:
accessPolicyPermission- The access policy permission. 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
DescribeAccessPolicyResponse.Builder accessPolicyPermission(Permission accessPolicyPermission)
The access policy permission. Note that a project
ADMINISTRATORis also known as a project owner.- Parameters:
accessPolicyPermission- The access policy permission. 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
-
accessPolicyCreationDate
DescribeAccessPolicyResponse.Builder accessPolicyCreationDate(Instant 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
DescribeAccessPolicyResponse.Builder accessPolicyLastUpdateDate(Instant 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.
-
-