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 Details

    • 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 the Identity.Builder avoiding the need to create one manually via Identity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to accessPolicyIdentity(Identity).

      Parameters:
      accessPolicyIdentity - a consumer that will call methods on Identity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the Resource.Builder avoiding the need to create one manually via Resource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to accessPolicyResource(Resource).

      Parameters:
      accessPolicyResource - a consumer that will call methods on Resource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • accessPolicyPermission

      DescribeAccessPolicyResponse.Builder accessPolicyPermission(String 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 project ADMINISTRATOR 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

      DescribeAccessPolicyResponse.Builder accessPolicyPermission(Permission 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 project ADMINISTRATOR 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

      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.