Interface ApiInventoryItemDetail.Builder

  • Method Details

    • method

      The HTTP method of the API.

      Parameters:
      method - The HTTP method of the API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • method

      The HTTP method of the API.

      Parameters:
      method - The HTTP method of the API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • host

      Sets the value of the Host property for this object.
      Parameters:
      host - The new value for the Host property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

      The port the API listens on, from 0 to 65535.

      Parameters:
      port - The port the API listens on, from 0 to 65535.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • path

      The request path of the API.

      Parameters:
      path - The request path of the API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      ApiInventoryItemDetail.Builder accountId(String accountId)

      The AWS account ID that owns the API.

      Parameters:
      accountId - The AWS account ID that owns the API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      ApiInventoryItemDetail.Builder resourceArn(String resourceArn)

      The ARN of the resource that serves the API, such as an API Gateway stage or a load balancer.

      Parameters:
      resourceArn - The ARN of the resource that serves the API, such as an API Gateway stage or a load balancer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      The AWS Region the API was discovered in.

      Parameters:
      region - The AWS Region the API was discovered in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • discoverySource

      ApiInventoryItemDetail.Builder discoverySource(String discoverySource)
      Sets the value of the DiscoverySource property for this object.
      Parameters:
      discoverySource - The new value for the DiscoverySource property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • discoverySource

      ApiInventoryItemDetail.Builder discoverySource(DiscoverySource discoverySource)
      Sets the value of the DiscoverySource property for this object.
      Parameters:
      discoverySource - The new value for the DiscoverySource property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • visibility

      ApiInventoryItemDetail.Builder visibility(String visibility)
      Sets the value of the Visibility property for this object.
      Parameters:
      visibility - The new value for the Visibility property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • visibility

      Sets the value of the Visibility property for this object.
      Parameters:
      visibility - The new value for the Visibility property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • wafStatus

      ApiInventoryItemDetail.Builder wafStatus(String wafStatus)
      Sets the value of the WafStatus property for this object.
      Parameters:
      wafStatus - The new value for the WafStatus property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • wafStatus

      Sets the value of the WafStatus property for this object.
      Parameters:
      wafStatus - The new value for the WafStatus property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • classification

      ApiInventoryItemDetail.Builder classification(String classification)
      Sets the value of the Classification property for this object.
      Parameters:
      classification - The new value for the Classification property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • classification

      ApiInventoryItemDetail.Builder classification(Classification classification)
      Sets the value of the Classification property for this object.
      Parameters:
      classification - The new value for the Classification property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • managedBy

      ApiInventoryItemDetail.Builder managedBy(String managedBy)
      Sets the value of the ManagedBy property for this object.
      Parameters:
      managedBy - The new value for the ManagedBy property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • managedBy

      Sets the value of the ManagedBy property for this object.
      Parameters:
      managedBy - The new value for the ManagedBy property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • workloadsWithStrings

      ApiInventoryItemDetail.Builder workloadsWithStrings(Collection<String> workloads)

      AI protocols seen in this API's traffic, each listed at most once. Absent when none has been reported, which includes an account that has not enabled AI discovery.

      Parameters:
      workloads - AI protocols seen in this API's traffic, each listed at most once. Absent when none has been reported, which includes an account that has not enabled AI discovery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workloadsWithStrings

      ApiInventoryItemDetail.Builder workloadsWithStrings(String... workloads)

      AI protocols seen in this API's traffic, each listed at most once. Absent when none has been reported, which includes an account that has not enabled AI discovery.

      Parameters:
      workloads - AI protocols seen in this API's traffic, each listed at most once. Absent when none has been reported, which includes an account that has not enabled AI discovery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workloads

      AI protocols seen in this API's traffic, each listed at most once. Absent when none has been reported, which includes an account that has not enabled AI discovery.

      Parameters:
      workloads - AI protocols seen in this API's traffic, each listed at most once. Absent when none has been reported, which includes an account that has not enabled AI discovery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workloads

      ApiInventoryItemDetail.Builder workloads(Workload... workloads)

      AI protocols seen in this API's traffic, each listed at most once. Absent when none has been reported, which includes an account that has not enabled AI discovery.

      Parameters:
      workloads - AI protocols seen in this API's traffic, each listed at most once. Absent when none has been reported, which includes an account that has not enabled AI discovery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • managedApiId

      ApiInventoryItemDetail.Builder managedApiId(String managedApiId)

      The identifier of the Managed API created from this API. Absent if there is none.

      Parameters:
      managedApiId - The identifier of the Managed API created from this API. Absent if there is none.
      Returns:
      Returns a reference to this object so that method calls can be chained together.