Interface CreateAccessPolicyResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateAccessPolicyResponse.Builder,CreateAccessPolicyResponse>, IoTSiteWiseResponse.Builder, SdkBuilder<CreateAccessPolicyResponse.Builder,CreateAccessPolicyResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateAccessPolicyResponse

public static interface CreateAccessPolicyResponse.Builder extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<CreateAccessPolicyResponse.Builder,CreateAccessPolicyResponse>
  • Method Details

    • accessPolicyId

      CreateAccessPolicyResponse.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

      CreateAccessPolicyResponse.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.