Interface KubernetesApiCallAction.Builder

  • Method Details

    • requestUri

      KubernetesApiCallAction.Builder requestUri(String requestUri)

      The Kubernetes API request URI.

      Parameters:
      requestUri - The Kubernetes API request URI.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • verb

      The Kubernetes API request HTTP verb.

      Parameters:
      verb - The Kubernetes API request HTTP verb.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceIps

      The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between the caller and the API endpoint.

      Parameters:
      sourceIps - The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between the caller and the API endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceIps

      KubernetesApiCallAction.Builder sourceIps(String... sourceIps)

      The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between the caller and the API endpoint.

      Parameters:
      sourceIps - The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between the caller and the API endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userAgent

      The user agent of the caller of the Kubernetes API.

      Parameters:
      userAgent - The user agent of the caller of the Kubernetes API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remoteIpDetails

      KubernetesApiCallAction.Builder remoteIpDetails(RemoteIpDetails remoteIpDetails)
      Sets the value of the RemoteIpDetails property for this object.
      Parameters:
      remoteIpDetails - The new value for the RemoteIpDetails property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remoteIpDetails

      default KubernetesApiCallAction.Builder remoteIpDetails(Consumer<RemoteIpDetails.Builder> remoteIpDetails)
      Sets the value of the RemoteIpDetails property for this object. This is a convenience method that creates an instance of the RemoteIpDetails.Builder avoiding the need to create one manually via RemoteIpDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to remoteIpDetails(RemoteIpDetails).

      Parameters:
      remoteIpDetails - a consumer that will call methods on RemoteIpDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusCode

      KubernetesApiCallAction.Builder statusCode(Integer statusCode)

      The resulting HTTP response code of the Kubernetes API call action.

      Parameters:
      statusCode - The resulting HTTP response code of the Kubernetes API call action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameters

      KubernetesApiCallAction.Builder parameters(String parameters)

      Parameters related to the Kubernetes API call action.

      Parameters:
      parameters - Parameters related to the Kubernetes API call action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resource

      The resource component in the Kubernetes API call action.

      Parameters:
      resource - The resource component in the Kubernetes API call action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subresource

      KubernetesApiCallAction.Builder subresource(String subresource)

      The name of the sub-resource in the Kubernetes API call action.

      Parameters:
      subresource - The name of the sub-resource in the Kubernetes API call action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespace

      The name of the namespace where the Kubernetes API call action takes place.

      Parameters:
      namespace - The name of the namespace where the Kubernetes API call action takes place.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceName

      KubernetesApiCallAction.Builder resourceName(String resourceName)

      The name of the resource in the Kubernetes API call action.

      Parameters:
      resourceName - The name of the resource in the Kubernetes API call action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.