Interface KubernetesPolicyViolation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KubernetesPolicyViolation.Builder,,KubernetesPolicyViolation> SdkBuilder<KubernetesPolicyViolation.Builder,,KubernetesPolicyViolation> SdkPojo
- Enclosing class:
KubernetesPolicyViolation
@Mutable
@NotThreadSafe
public static interface KubernetesPolicyViolation.Builder
extends SdkPojo, CopyableBuilder<KubernetesPolicyViolation.Builder,KubernetesPolicyViolation>
-
Method Summary
Modifier and TypeMethodDescriptionaffectedResource(String affectedResource) The Kubernetes resource that the violation affects.exposureVector(String exposureVector) How the misconfiguration exposes the resource.grantedAccess(String grantedAccess) The access that the violation grants.misconfigurationImpact(String misconfigurationImpact) The potential impact of the misconfiguration.The Kubernetes subject, such as a user, a group, or a service account, that the violation involves.violationType(String violationType) The type of the violation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
violationType
The type of the violation.
- Parameters:
violationType- The type of the violation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedResource
The Kubernetes resource that the violation affects.
- Parameters:
affectedResource- The Kubernetes resource that the violation affects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subject
The Kubernetes subject, such as a user, a group, or a service account, that the violation involves.
- Parameters:
subject- The Kubernetes subject, such as a user, a group, or a service account, that the violation involves.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedAccess
The access that the violation grants.
- Parameters:
grantedAccess- The access that the violation grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exposureVector
How the misconfiguration exposes the resource.
- Parameters:
exposureVector- How the misconfiguration exposes the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
misconfigurationImpact
The potential impact of the misconfiguration.
- Parameters:
misconfigurationImpact- The potential impact of the misconfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-