public void setResource(String resource) {
        this.resource = resource;
    }
<p>
The resource component in the Kubernetes API call action.
</p>

@param resource
       The resource component in the Kubernetes API call action.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/KubernetesApiCallAction.java