Class KubernetesPermissionCheckedDetails
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.KubernetesPermissionCheckedDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KubernetesPermissionCheckedDetails.Builder,KubernetesPermissionCheckedDetails>
@Generated("software.amazon.awssdk:codegen") public final class KubernetesPermissionCheckedDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KubernetesPermissionCheckedDetails.Builder,KubernetesPermissionCheckedDetails>
Information about the Kubernetes API for which you check if you have permission to call.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceKubernetesPermissionCheckedDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanallowed()Information whether the user has the permission to call the Kubernetes API.static KubernetesPermissionCheckedDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringnamespace()The namespace where the Kubernetes API action will take place.Stringresource()The Kubernetes resource with which your Kubernetes API call will interact.List<SdkField<?>>sdkFields()static Class<? extends KubernetesPermissionCheckedDetails.Builder>serializableBuilderClass()KubernetesPermissionCheckedDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringverb()The verb component of the Kubernetes API call.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
verb
public final 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
CreatePodAPI, the verb component will beCreate.- Returns:
- The verb component of the Kubernetes API call. For example, when you check whether or not you have the
permission to call the
CreatePodAPI, the verb component will beCreate.
-
resource
public final String resource()
The Kubernetes resource with which your Kubernetes API call will interact.
- Returns:
- The Kubernetes resource with which your Kubernetes API call will interact.
-
namespace
public final String namespace()
The namespace where the Kubernetes API action will take place.
- Returns:
- The namespace where the Kubernetes API action will take place.
-
allowed
public final Boolean allowed()
Information whether the user has the permission to call the Kubernetes API.
- Returns:
- Information whether the user has the permission to call the Kubernetes API.
-
toBuilder
public KubernetesPermissionCheckedDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<KubernetesPermissionCheckedDetails.Builder,KubernetesPermissionCheckedDetails>
-
builder
public static KubernetesPermissionCheckedDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends KubernetesPermissionCheckedDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-