Class TrunkState.Builder

  • Enclosing class:
    TrunkState

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

      • Builder

        public Builder()
      • Builder

        public Builder​(TrunkState defaults)
    • Method Detail

      • adminStateUp

        public TrunkState.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 TrunkState.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
      • allTags

        public TrunkState.Builder allTags​(@Nullable
                                          com.pulumi.core.Output<java.util.List<java.lang.String>> allTags)
        Parameters:
        allTags - The collection of tags assigned on the trunk, which have been explicitly and implicitly added.
        Returns:
        builder
      • allTags

        public TrunkState.Builder allTags​(java.util.List<java.lang.String> allTags)
        Parameters:
        allTags - The collection of tags assigned on the trunk, which have been explicitly and implicitly added.
        Returns:
        builder
      • allTags

        public TrunkState.Builder allTags​(java.lang.String... allTags)
        Parameters:
        allTags - The collection of tags assigned on the trunk, which have been explicitly and implicitly added.
        Returns:
        builder
      • description

        public TrunkState.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 TrunkState.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 TrunkState.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 TrunkState.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 TrunkState.Builder portId​(@Nullable
                                         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 TrunkState.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 TrunkState.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 TrunkState.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 TrunkState.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 TrunkState.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 TrunkState.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 TrunkState.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 TrunkState.Builder tags​(java.util.List<java.lang.String> tags)
        Parameters:
        tags - A set of string tags for the port.
        Returns:
        builder
      • tags

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

        public TrunkState.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 TrunkState.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