Class GetPortIdsPlainArgs.Builder

  • Enclosing class:
    GetPortIdsPlainArgs

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

      • adminStateUp

        public GetPortIdsPlainArgs.Builder adminStateUp​(@Nullable
                                                        java.lang.Boolean adminStateUp)
        Parameters:
        adminStateUp - The administrative state of the port.
        Returns:
        builder
      • description

        public GetPortIdsPlainArgs.Builder description​(@Nullable
                                                       java.lang.String description)
        Parameters:
        description - Human-readable description of the port.
        Returns:
        builder
      • deviceId

        public GetPortIdsPlainArgs.Builder deviceId​(@Nullable
                                                    java.lang.String deviceId)
        Parameters:
        deviceId - The ID of the device the port belongs to.
        Returns:
        builder
      • deviceOwner

        public GetPortIdsPlainArgs.Builder deviceOwner​(@Nullable
                                                       java.lang.String deviceOwner)
        Parameters:
        deviceOwner - The device owner of the port.
        Returns:
        builder
      • fixedIp

        public GetPortIdsPlainArgs.Builder fixedIp​(@Nullable
                                                   java.lang.String fixedIp)
        Parameters:
        fixedIp - The port IP address filter.
        Returns:
        builder
      • macAddress

        public GetPortIdsPlainArgs.Builder macAddress​(@Nullable
                                                      java.lang.String macAddress)
        Parameters:
        macAddress - The MAC address of the port.
        Returns:
        builder
      • name

        public GetPortIdsPlainArgs.Builder name​(@Nullable
                                                java.lang.String name)
        Parameters:
        name - The name of the port.
        Returns:
        builder
      • networkId

        public GetPortIdsPlainArgs.Builder networkId​(@Nullable
                                                     java.lang.String networkId)
        Parameters:
        networkId - The ID of the network the port belongs to.
        Returns:
        builder
      • projectId

        public GetPortIdsPlainArgs.Builder projectId​(@Nullable
                                                     java.lang.String projectId)
        Parameters:
        projectId - The owner of the port.
        Returns:
        builder
      • region

        public GetPortIdsPlainArgs.Builder region​(@Nullable
                                                  java.lang.String region)
        Parameters:
        region - The region in which to obtain the V2 Neutron client. A Neutron client is needed to retrieve port ids. If omitted, the `region` argument of the provider is used.
        Returns:
        builder
      • securityGroupIds

        public GetPortIdsPlainArgs.Builder securityGroupIds​(@Nullable
                                                            java.util.List<java.lang.String> securityGroupIds)
        Parameters:
        securityGroupIds - The list of port security group IDs to filter.
        Returns:
        builder
      • securityGroupIds

        public GetPortIdsPlainArgs.Builder securityGroupIds​(java.lang.String... securityGroupIds)
        Parameters:
        securityGroupIds - The list of port security group IDs to filter.
        Returns:
        builder
      • sortDirection

        public GetPortIdsPlainArgs.Builder sortDirection​(@Nullable
                                                         java.lang.String sortDirection)
        Parameters:
        sortDirection - Order the results in either `asc` or `desc`. Defaults to none.
        Returns:
        builder
      • sortKey

        public GetPortIdsPlainArgs.Builder sortKey​(@Nullable
                                                   java.lang.String sortKey)
        Parameters:
        sortKey - Sort ports based on a certain key. Defaults to none.
        Returns:
        builder
      • status

        public GetPortIdsPlainArgs.Builder status​(@Nullable
                                                  java.lang.String status)
        Parameters:
        status - The status of the port.
        Returns:
        builder
      • tags

        public GetPortIdsPlainArgs.Builder tags​(@Nullable
                                                java.util.List<java.lang.String> tags)
        Parameters:
        tags - The list of port tags to filter.
        Returns:
        builder
      • tags

        public GetPortIdsPlainArgs.Builder tags​(java.lang.String... tags)
        Parameters:
        tags - The list of port tags to filter.
        Returns:
        builder