Class PolicyGrantState.Builder

  • Enclosing class:
    PolicyGrantState

    public static final class PolicyGrantState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • createdAt

        public PolicyGrantState.Builder createdAt​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> createdAt)
        Parameters:
        createdAt - Timestamp when the policy grant was created (RFC3339 format).
        Returns:
        builder
      • createdAt

        public PolicyGrantState.Builder createdAt​(java.lang.String createdAt)
        Parameters:
        createdAt - Timestamp when the policy grant was created (RFC3339 format).
        Returns:
        builder
      • createdBy

        public PolicyGrantState.Builder createdBy​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> createdBy)
        Parameters:
        createdBy - User who created the policy grant.
        Returns:
        builder
      • createdBy

        public PolicyGrantState.Builder createdBy​(java.lang.String createdBy)
        Parameters:
        createdBy - User who created the policy grant.
        Returns:
        builder
      • detail

        public PolicyGrantState.Builder detail​(@Nullable
                                               com.pulumi.core.Output<PolicyGrantDetailArgs> detail)
        Parameters:
        detail - Policy grant detail. Exactly one sub-block must be specified. See `detail` Block below.
        Returns:
        builder
      • domainIdentifier

        public PolicyGrantState.Builder domainIdentifier​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> domainIdentifier)
        Parameters:
        domainIdentifier - Identifier of the domain where the policy grant is created.
        Returns:
        builder
      • domainIdentifier

        public PolicyGrantState.Builder domainIdentifier​(java.lang.String domainIdentifier)
        Parameters:
        domainIdentifier - Identifier of the domain where the policy grant is created.
        Returns:
        builder
      • entityIdentifier

        public PolicyGrantState.Builder entityIdentifier​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> entityIdentifier)
        Parameters:
        entityIdentifier - Identifier of the entity to which the policy grant applies.
        Returns:
        builder
      • entityIdentifier

        public PolicyGrantState.Builder entityIdentifier​(java.lang.String entityIdentifier)
        Parameters:
        entityIdentifier - Identifier of the entity to which the policy grant applies.
        Returns:
        builder
      • entityType

        public PolicyGrantState.Builder entityType​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> entityType)
        Parameters:
        entityType - Type of entity to which the policy grant applies. Valid values: `ASSET_TYPE`, `DOMAIN_UNIT`, `ENVIRONMENT_BLUEPRINT_CONFIGURATION`, `ENVIRONMENT_PROFILE`.
        Returns:
        builder
      • entityType

        public PolicyGrantState.Builder entityType​(java.lang.String entityType)
        Parameters:
        entityType - Type of entity to which the policy grant applies. Valid values: `ASSET_TYPE`, `DOMAIN_UNIT`, `ENVIRONMENT_BLUEPRINT_CONFIGURATION`, `ENVIRONMENT_PROFILE`.
        Returns:
        builder
      • grantId

        public PolicyGrantState.Builder grantId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> grantId)
        Parameters:
        grantId - Identifier of the policy grant.
        Returns:
        builder
      • grantId

        public PolicyGrantState.Builder grantId​(java.lang.String grantId)
        Parameters:
        grantId - Identifier of the policy grant.
        Returns:
        builder
      • policyType

        public PolicyGrantState.Builder policyType​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> policyType)
        Parameters:
        policyType - Type of the managed policy. Valid values: `ADD_TO_PROJECT_MEMBER_POOL`, `CREATE_ASSET_TYPE`, `CREATE_DOMAIN_UNIT`, `CREATE_ENVIRONMENT`, `CREATE_ENVIRONMENT_FROM_BLUEPRINT`, `CREATE_ENVIRONMENT_PROFILE`, `CREATE_FORM_TYPE`, `CREATE_GLOSSARY`, `CREATE_PROJECT`, `CREATE_PROJECT_FROM_PROJECT_PROFILE`, `DELEGATE_CREATE_ENVIRONMENT_PROFILE`, `OVERRIDE_DOMAIN_UNIT_OWNERS`, `OVERRIDE_PROJECT_OWNERS`, `USE_ASSET_TYPE`.
        Returns:
        builder
      • policyType

        public PolicyGrantState.Builder policyType​(java.lang.String policyType)
        Parameters:
        policyType - Type of the managed policy. Valid values: `ADD_TO_PROJECT_MEMBER_POOL`, `CREATE_ASSET_TYPE`, `CREATE_DOMAIN_UNIT`, `CREATE_ENVIRONMENT`, `CREATE_ENVIRONMENT_FROM_BLUEPRINT`, `CREATE_ENVIRONMENT_PROFILE`, `CREATE_FORM_TYPE`, `CREATE_GLOSSARY`, `CREATE_PROJECT`, `CREATE_PROJECT_FROM_PROJECT_PROFILE`, `DELEGATE_CREATE_ENVIRONMENT_PROFILE`, `OVERRIDE_DOMAIN_UNIT_OWNERS`, `OVERRIDE_PROJECT_OWNERS`, `USE_ASSET_TYPE`.
        Returns:
        builder
      • principal

        public PolicyGrantState.Builder principal​(@Nullable
                                                  com.pulumi.core.Output<PolicyGrantPrincipalArgs> principal)
        Parameters:
        principal - Principal to which the policy grant applies. Exactly one sub-block must be specified. See `principal` Block below. The following arguments are optional:
        Returns:
        builder
      • principal

        public PolicyGrantState.Builder principal​(PolicyGrantPrincipalArgs principal)
        Parameters:
        principal - Principal to which the policy grant applies. Exactly one sub-block must be specified. See `principal` Block below. The following arguments are optional:
        Returns:
        builder
      • region

        public PolicyGrantState.Builder region​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public PolicyGrantState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder