Class TrunkArgs.Builder

  • Enclosing class:
    TrunkArgs

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

      • Builder

        public Builder()
      • Builder

        public Builder​(TrunkArgs defaults)
    • Method Detail

      • adminStateUp

        public TrunkArgs.Builder adminStateUp​(@Nullable
                                              com.pulumi.core.Output<java.lang.Boolean> adminStateUp)
        Parameters:
        adminStateUp - Administrative up/down status for the trunk (must be "true" or "false" if provided). Changing this updates the `admin_state_up` of an existing trunk.
        Returns:
        builder
      • adminStateUp

        public TrunkArgs.Builder adminStateUp​(java.lang.Boolean adminStateUp)
        Parameters:
        adminStateUp - Administrative up/down status for the trunk (must be "true" or "false" if provided). Changing this updates the `admin_state_up` of an existing trunk.
        Returns:
        builder
      • description

        public TrunkArgs.Builder description​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Human-readable description of the trunk. Changing this updates the name of the existing trunk.
        Returns:
        builder
      • description

        public TrunkArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Human-readable description of the trunk. Changing this updates the name of the existing trunk.
        Returns:
        builder
      • name

        public TrunkArgs.Builder name​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A unique name for the trunk. Changing this updates the `name` of an existing trunk.
        Returns:
        builder
      • name

        public TrunkArgs.Builder name​(java.lang.String name)
        Parameters:
        name - A unique name for the trunk. Changing this updates the `name` of an existing trunk.
        Returns:
        builder
      • portId

        public TrunkArgs.Builder portId​(com.pulumi.core.Output<java.lang.String> portId)
        Parameters:
        portId - The ID of the port to be used as the parent port of the trunk. This is the port that should be used as the compute instance network port. Changing this creates a new trunk.
        Returns:
        builder
      • portId

        public TrunkArgs.Builder portId​(java.lang.String portId)
        Parameters:
        portId - The ID of the port to be used as the parent port of the trunk. This is the port that should be used as the compute instance network port. Changing this creates a new trunk.
        Returns:
        builder
      • region

        public TrunkArgs.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 create a trunk. If omitted, the `region` argument of the provider is used. Changing this creates a new trunk.
        Returns:
        builder
      • region

        public TrunkArgs.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to obtain the V2 networking client. A networking client is needed to create a trunk. If omitted, the `region` argument of the provider is used. Changing this creates a new trunk.
        Returns:
        builder
      • subPorts

        public TrunkArgs.Builder subPorts​(@Nullable
                                          com.pulumi.core.Output<java.util.List<TrunkSubPortArgs>> subPorts)
        Parameters:
        subPorts - The set of ports that will be made subports of the trunk. The structure of each subport is described below.
        Returns:
        builder
      • subPorts

        public TrunkArgs.Builder subPorts​(java.util.List<TrunkSubPortArgs> subPorts)
        Parameters:
        subPorts - The set of ports that will be made subports of the trunk. The structure of each subport is described below.
        Returns:
        builder
      • subPorts

        public TrunkArgs.Builder subPorts​(TrunkSubPortArgs... subPorts)
        Parameters:
        subPorts - The set of ports that will be made subports of the trunk. The structure of each subport is described below.
        Returns:
        builder
      • tags

        public TrunkArgs.Builder tags​(@Nullable
                                      com.pulumi.core.Output<java.util.List<java.lang.String>> tags)
        Parameters:
        tags - A set of string tags for the port.
        Returns:
        builder
      • tags

        public TrunkArgs.Builder tags​(java.util.List<java.lang.String> tags)
        Parameters:
        tags - A set of string tags for the port.
        Returns:
        builder
      • tags

        public TrunkArgs.Builder tags​(java.lang.String... tags)
        Parameters:
        tags - A set of string tags for the port.
        Returns:
        builder
      • tenantId

        public TrunkArgs.Builder tenantId​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> tenantId)
        Parameters:
        tenantId - The owner of the Trunk. Required if admin wants to create a trunk on behalf of another tenant. Changing this creates a new trunk.
        Returns:
        builder
      • tenantId

        public TrunkArgs.Builder tenantId​(java.lang.String tenantId)
        Parameters:
        tenantId - The owner of the Trunk. Required if admin wants to create a trunk on behalf of another tenant. Changing this creates a new trunk.
        Returns:
        builder