@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KubernetesPermissionCheckedDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about the Kubernetes API for which you check if you have permission to call.
Constructor and Description |
---|
KubernetesPermissionCheckedDetails() |
Modifier and Type | Method and Description |
---|---|
KubernetesPermissionCheckedDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowed()
Information whether the user has the permission to call the Kubernetes API.
|
String |
getNamespace()
The namespace where the Kubernetes API action will take place.
|
String |
getResource()
The Kubernetes resource with which your Kubernetes API call will interact.
|
String |
getVerb()
The verb component of the Kubernetes API call.
|
int |
hashCode() |
Boolean |
isAllowed()
Information whether the user has the permission to call the Kubernetes API.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowed(Boolean allowed)
Information whether the user has the permission to call the Kubernetes API.
|
void |
setNamespace(String namespace)
The namespace where the Kubernetes API action will take place.
|
void |
setResource(String resource)
The Kubernetes resource with which your Kubernetes API call will interact.
|
void |
setVerb(String verb)
The verb component of the Kubernetes API call.
|
String |
toString()
Returns a string representation of this object.
|
KubernetesPermissionCheckedDetails |
withAllowed(Boolean allowed)
Information whether the user has the permission to call the Kubernetes API.
|
KubernetesPermissionCheckedDetails |
withNamespace(String namespace)
The namespace where the Kubernetes API action will take place.
|
KubernetesPermissionCheckedDetails |
withResource(String resource)
The Kubernetes resource with which your Kubernetes API call will interact.
|
KubernetesPermissionCheckedDetails |
withVerb(String verb)
The verb component of the Kubernetes API call.
|
public void setVerb(String verb)
The verb component of the Kubernetes API call. For example, when you check whether or not you have the permission
to call the CreatePod
API, the verb component will be Create
.
verb
- The verb component of the Kubernetes API call. For example, when you check whether or not you have the
permission to call the CreatePod
API, the verb component will be Create
.public String getVerb()
The verb component of the Kubernetes API call. For example, when you check whether or not you have the permission
to call the CreatePod
API, the verb component will be Create
.
CreatePod
API, the verb component will be Create
.public KubernetesPermissionCheckedDetails withVerb(String verb)
The verb component of the Kubernetes API call. For example, when you check whether or not you have the permission
to call the CreatePod
API, the verb component will be Create
.
verb
- The verb component of the Kubernetes API call. For example, when you check whether or not you have the
permission to call the CreatePod
API, the verb component will be Create
.public void setResource(String resource)
The Kubernetes resource with which your Kubernetes API call will interact.
resource
- The Kubernetes resource with which your Kubernetes API call will interact.public String getResource()
The Kubernetes resource with which your Kubernetes API call will interact.
public KubernetesPermissionCheckedDetails withResource(String resource)
The Kubernetes resource with which your Kubernetes API call will interact.
resource
- The Kubernetes resource with which your Kubernetes API call will interact.public void setNamespace(String namespace)
The namespace where the Kubernetes API action will take place.
namespace
- The namespace where the Kubernetes API action will take place.public String getNamespace()
The namespace where the Kubernetes API action will take place.
public KubernetesPermissionCheckedDetails withNamespace(String namespace)
The namespace where the Kubernetes API action will take place.
namespace
- The namespace where the Kubernetes API action will take place.public void setAllowed(Boolean allowed)
Information whether the user has the permission to call the Kubernetes API.
allowed
- Information whether the user has the permission to call the Kubernetes API.public Boolean getAllowed()
Information whether the user has the permission to call the Kubernetes API.
public KubernetesPermissionCheckedDetails withAllowed(Boolean allowed)
Information whether the user has the permission to call the Kubernetes API.
allowed
- Information whether the user has the permission to call the Kubernetes API.public Boolean isAllowed()
Information whether the user has the permission to call the Kubernetes API.
public String toString()
toString
in class Object
Object.toString()
public KubernetesPermissionCheckedDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.