Class GetPortPlainArgs.Builder

  • Enclosing class:
    GetPortPlainArgs

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

      • Builder

        public Builder()
    • Method Detail

      • adminStateUp

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

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

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

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

        public GetPortPlainArgs.Builder dnsName​(@Nullable
                                                java.lang.String dnsName)
        Parameters:
        dnsName - The port DNS name to filter. Available, when Neutron DNS extension is enabled.
        Returns:
        builder
      • fixedIp

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

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

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

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

        public GetPortPlainArgs.Builder portId​(@Nullable
                                               java.lang.String portId)
        Parameters:
        portId - The ID of the port.
        Returns:
        builder
      • projectId

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

        public GetPortPlainArgs.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 GetPortPlainArgs.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 GetPortPlainArgs.Builder securityGroupIds​(java.lang.String... securityGroupIds)
        Parameters:
        securityGroupIds - The list of port security group IDs to filter.
        Returns:
        builder
      • status

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

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

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