@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KubernetesApiCallAction extends Object implements Serializable, Cloneable, StructuredPojo
Information about the Kubernetes API call action described in this finding.
Constructor and Description |
---|
KubernetesApiCallAction() |
Modifier and Type | Method and Description |
---|---|
KubernetesApiCallAction |
clone() |
boolean |
equals(Object obj) |
String |
getNamespace()
The name of the namespace where the Kubernetes API call action takes place.
|
String |
getParameters()
Parameters related to the Kubernetes API call action.
|
RemoteIpDetails |
getRemoteIpDetails() |
String |
getRequestUri()
The Kubernetes API request URI.
|
String |
getResource()
The resource component in the Kubernetes API call action.
|
String |
getResourceName()
The name of the resource in the Kubernetes API call action.
|
List<String> |
getSourceIps()
The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between the caller and the API
endpoint.
|
Integer |
getStatusCode()
The resulting HTTP response code of the Kubernetes API call action.
|
String |
getSubresource()
The name of the sub-resource in the Kubernetes API call action.
|
String |
getUserAgent()
The user agent of the caller of the Kubernetes API.
|
String |
getVerb()
The Kubernetes API request HTTP verb.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNamespace(String namespace)
The name of the namespace where the Kubernetes API call action takes place.
|
void |
setParameters(String parameters)
Parameters related to the Kubernetes API call action.
|
void |
setRemoteIpDetails(RemoteIpDetails remoteIpDetails) |
void |
setRequestUri(String requestUri)
The Kubernetes API request URI.
|
void |
setResource(String resource)
The resource component in the Kubernetes API call action.
|
void |
setResourceName(String resourceName)
The name of the resource in the Kubernetes API call action.
|
void |
setSourceIps(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.
|
void |
setStatusCode(Integer statusCode)
The resulting HTTP response code of the Kubernetes API call action.
|
void |
setSubresource(String subresource)
The name of the sub-resource in the Kubernetes API call action.
|
void |
setUserAgent(String userAgent)
The user agent of the caller of the Kubernetes API.
|
void |
setVerb(String verb)
The Kubernetes API request HTTP verb.
|
String |
toString()
Returns a string representation of this object.
|
KubernetesApiCallAction |
withNamespace(String namespace)
The name of the namespace where the Kubernetes API call action takes place.
|
KubernetesApiCallAction |
withParameters(String parameters)
Parameters related to the Kubernetes API call action.
|
KubernetesApiCallAction |
withRemoteIpDetails(RemoteIpDetails remoteIpDetails) |
KubernetesApiCallAction |
withRequestUri(String requestUri)
The Kubernetes API request URI.
|
KubernetesApiCallAction |
withResource(String resource)
The resource component in the Kubernetes API call action.
|
KubernetesApiCallAction |
withResourceName(String resourceName)
The name of the resource in the Kubernetes API call action.
|
KubernetesApiCallAction |
withSourceIps(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 |
withSourceIps(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 |
withStatusCode(Integer statusCode)
The resulting HTTP response code of the Kubernetes API call action.
|
KubernetesApiCallAction |
withSubresource(String subresource)
The name of the sub-resource in the Kubernetes API call action.
|
KubernetesApiCallAction |
withUserAgent(String userAgent)
The user agent of the caller of the Kubernetes API.
|
KubernetesApiCallAction |
withVerb(String verb)
The Kubernetes API request HTTP verb.
|
public void setRequestUri(String requestUri)
The Kubernetes API request URI.
requestUri
- The Kubernetes API request URI.public String getRequestUri()
The Kubernetes API request URI.
public KubernetesApiCallAction withRequestUri(String requestUri)
The Kubernetes API request URI.
requestUri
- The Kubernetes API request URI.public void setVerb(String verb)
The Kubernetes API request HTTP verb.
verb
- The Kubernetes API request HTTP verb.public String getVerb()
The Kubernetes API request HTTP verb.
public KubernetesApiCallAction withVerb(String verb)
The Kubernetes API request HTTP verb.
verb
- The Kubernetes API request HTTP verb.public List<String> getSourceIps()
The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between the caller and the API endpoint.
public void setSourceIps(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.
sourceIps
- The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between the caller and
the API endpoint.public KubernetesApiCallAction withSourceIps(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.
NOTE: This method appends the values to the existing list (if any). Use
setSourceIps(java.util.Collection)
or withSourceIps(java.util.Collection)
if you want to
override the existing values.
sourceIps
- The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between the caller and
the API endpoint.public KubernetesApiCallAction withSourceIps(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.
sourceIps
- The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between the caller and
the API endpoint.public void setUserAgent(String userAgent)
The user agent of the caller of the Kubernetes API.
userAgent
- The user agent of the caller of the Kubernetes API.public String getUserAgent()
The user agent of the caller of the Kubernetes API.
public KubernetesApiCallAction withUserAgent(String userAgent)
The user agent of the caller of the Kubernetes API.
userAgent
- The user agent of the caller of the Kubernetes API.public void setRemoteIpDetails(RemoteIpDetails remoteIpDetails)
remoteIpDetails
- public RemoteIpDetails getRemoteIpDetails()
public KubernetesApiCallAction withRemoteIpDetails(RemoteIpDetails remoteIpDetails)
remoteIpDetails
- public void setStatusCode(Integer statusCode)
The resulting HTTP response code of the Kubernetes API call action.
statusCode
- The resulting HTTP response code of the Kubernetes API call action.public Integer getStatusCode()
The resulting HTTP response code of the Kubernetes API call action.
public KubernetesApiCallAction withStatusCode(Integer statusCode)
The resulting HTTP response code of the Kubernetes API call action.
statusCode
- The resulting HTTP response code of the Kubernetes API call action.public void setParameters(String parameters)
Parameters related to the Kubernetes API call action.
parameters
- Parameters related to the Kubernetes API call action.public String getParameters()
Parameters related to the Kubernetes API call action.
public KubernetesApiCallAction withParameters(String parameters)
Parameters related to the Kubernetes API call action.
parameters
- Parameters related to the Kubernetes API call action.public void setResource(String resource)
The resource component in the Kubernetes API call action.
resource
- The resource component in the Kubernetes API call action.public String getResource()
The resource component in the Kubernetes API call action.
public KubernetesApiCallAction withResource(String resource)
The resource component in the Kubernetes API call action.
resource
- The resource component in the Kubernetes API call action.public void setSubresource(String subresource)
The name of the sub-resource in the Kubernetes API call action.
subresource
- The name of the sub-resource in the Kubernetes API call action.public String getSubresource()
The name of the sub-resource in the Kubernetes API call action.
public KubernetesApiCallAction withSubresource(String subresource)
The name of the sub-resource in the Kubernetes API call action.
subresource
- The name of the sub-resource in the Kubernetes API call action.public void setNamespace(String namespace)
The name of the namespace where the Kubernetes API call action takes place.
namespace
- The name of the namespace where the Kubernetes API call action takes place.public String getNamespace()
The name of the namespace where the Kubernetes API call action takes place.
public KubernetesApiCallAction withNamespace(String namespace)
The name of the namespace where the Kubernetes API call action takes place.
namespace
- The name of the namespace where the Kubernetes API call action takes place.public void setResourceName(String resourceName)
The name of the resource in the Kubernetes API call action.
resourceName
- The name of the resource in the Kubernetes API call action.public String getResourceName()
The name of the resource in the Kubernetes API call action.
public KubernetesApiCallAction withResourceName(String resourceName)
The name of the resource in the Kubernetes API call action.
resourceName
- The name of the resource in the Kubernetes API call action.public String toString()
toString
in class Object
Object.toString()
public KubernetesApiCallAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.