Class RbacPolicyV2State.Builder

  • Enclosing class:
    RbacPolicyV2State

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

      • Builder

        public Builder()
    • Method Detail

      • action

        public RbacPolicyV2State.Builder action​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> action)
        Parameters:
        action - Action for the RBAC policy. Can either be `access_as_external` or `access_as_shared`.
        Returns:
        builder
      • action

        public RbacPolicyV2State.Builder action​(java.lang.String action)
        Parameters:
        action - Action for the RBAC policy. Can either be `access_as_external` or `access_as_shared`.
        Returns:
        builder
      • objectId

        public RbacPolicyV2State.Builder objectId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> objectId)
        Parameters:
        objectId - The ID of the `object_type` resource. An `object_type` of `network` returns a network ID and an `object_type` of `qos_policy` returns a QoS ID.
        Returns:
        builder
      • objectId

        public RbacPolicyV2State.Builder objectId​(java.lang.String objectId)
        Parameters:
        objectId - The ID of the `object_type` resource. An `object_type` of `network` returns a network ID and an `object_type` of `qos_policy` returns a QoS ID.
        Returns:
        builder
      • objectType

        public RbacPolicyV2State.Builder objectType​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> objectType)
        Parameters:
        objectType - The type of the object that the RBAC policy affects. Can be one of the following: `address_scope`, `address_group`, `network`, `qos_policy`, `security_group` or `subnetpool`.
        Returns:
        builder
      • objectType

        public RbacPolicyV2State.Builder objectType​(java.lang.String objectType)
        Parameters:
        objectType - The type of the object that the RBAC policy affects. Can be one of the following: `address_scope`, `address_group`, `network`, `qos_policy`, `security_group` or `subnetpool`.
        Returns:
        builder
      • region

        public RbacPolicyV2State.Builder region​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region in which to obtain the V2 networking client. A networking client is needed to configure a routing entry on a subnet. If omitted, the `region` argument of the provider is used. Changing this creates a new routing entry.
        Returns:
        builder
      • region

        public RbacPolicyV2State.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to obtain the V2 networking client. A networking client is needed to configure a routing entry on a subnet. If omitted, the `region` argument of the provider is used. Changing this creates a new routing entry.
        Returns:
        builder
      • targetTenant

        public RbacPolicyV2State.Builder targetTenant​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> targetTenant)
        Parameters:
        targetTenant - The ID of the tenant to which the RBAC policy will be enforced.
        Returns:
        builder
      • targetTenant

        public RbacPolicyV2State.Builder targetTenant​(java.lang.String targetTenant)
        Parameters:
        targetTenant - The ID of the tenant to which the RBAC policy will be enforced.
        Returns:
        builder