Class ResourcePolicyState.Builder

  • Enclosing class:
    ResourcePolicyState

    public static final class ResourcePolicyState.Builder
    extends java.lang.Object
    • Method Detail

      • policy

        public ResourcePolicyState.Builder policy​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> policy)
        Parameters:
        policy - A JSON-formatted resource policy. For more information, see [Sharing a Projec](https://docs.aws.amazon.com/codebuild/latest/userguide/project-sharing.html#project-sharing-share) and [Sharing a Report Group](https://docs.aws.amazon.com/codebuild/latest/userguide/report-groups-sharing.html#report-groups-sharing-share).
        Returns:
        builder
      • policy

        public ResourcePolicyState.Builder policy​(java.lang.String policy)
        Parameters:
        policy - A JSON-formatted resource policy. For more information, see [Sharing a Projec](https://docs.aws.amazon.com/codebuild/latest/userguide/project-sharing.html#project-sharing-share) and [Sharing a Report Group](https://docs.aws.amazon.com/codebuild/latest/userguide/report-groups-sharing.html#report-groups-sharing-share).
        Returns:
        builder
      • resourceArn

        public ResourcePolicyState.Builder resourceArn​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> resourceArn)
        Parameters:
        resourceArn - The ARN of the Project or ReportGroup resource you want to associate with a resource policy.
        Returns:
        builder
      • resourceArn

        public ResourcePolicyState.Builder resourceArn​(java.lang.String resourceArn)
        Parameters:
        resourceArn - The ARN of the Project or ReportGroup resource you want to associate with a resource policy.
        Returns:
        builder