Interface KubernetesApiCallAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KubernetesApiCallAction.Builder,KubernetesApiCallAction>,SdkBuilder<KubernetesApiCallAction.Builder,KubernetesApiCallAction>,SdkPojo
- Enclosing class:
- KubernetesApiCallAction
public static interface KubernetesApiCallAction.Builder extends SdkPojo, CopyableBuilder<KubernetesApiCallAction.Builder,KubernetesApiCallAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description KubernetesApiCallAction.Buildernamespace(String namespace)The name of the namespace where the Kubernetes API call action takes place.KubernetesApiCallAction.Builderparameters(String parameters)Parameters related to the Kubernetes API call action.default KubernetesApiCallAction.BuilderremoteIpDetails(Consumer<RemoteIpDetails.Builder> remoteIpDetails)Sets the value of the RemoteIpDetails property for this object.KubernetesApiCallAction.BuilderremoteIpDetails(RemoteIpDetails remoteIpDetails)Sets the value of the RemoteIpDetails property for this object.KubernetesApiCallAction.BuilderrequestUri(String requestUri)The Kubernetes API request URI.KubernetesApiCallAction.Builderresource(String resource)The resource component in the Kubernetes API call action.KubernetesApiCallAction.BuilderresourceName(String resourceName)The name of the resource in the Kubernetes API call action.KubernetesApiCallAction.BuildersourceIps(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.KubernetesApiCallAction.BuildersourceIps(Collection<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.KubernetesApiCallAction.BuilderstatusCode(Integer statusCode)The resulting HTTP response code of the Kubernetes API call action.KubernetesApiCallAction.Buildersubresource(String subresource)The name of the sub-resource in the Kubernetes API call action.KubernetesApiCallAction.BuilderuserAgent(String userAgent)The user agent of the caller of the Kubernetes API.KubernetesApiCallAction.Builderverb(String verb)The Kubernetes API request HTTP verb.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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
KubernetesApiCallAction.Builder verb(String 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
KubernetesApiCallAction.Builder sourceIps(Collection<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.
-
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
KubernetesApiCallAction.Builder userAgent(String 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 theRemoteIpDetails.Builderavoiding the need to create one manually viaRemoteIpDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoteIpDetails(RemoteIpDetails).- Parameters:
remoteIpDetails- a consumer that will call methods onRemoteIpDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
remoteIpDetails(RemoteIpDetails)
-
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
KubernetesApiCallAction.Builder resource(String 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
KubernetesApiCallAction.Builder namespace(String 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.
-
-