@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Resource extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the Amazon Web Services resource associated with the activity that prompted GuardDuty to generate a finding.
| Constructor and Description |
|---|
Resource() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
clone() |
boolean |
equals(Object obj) |
AccessKeyDetails |
getAccessKeyDetails()
The IAM access key details (user information) of a user that engaged in the activity that prompted GuardDuty to
generate a finding.
|
Container |
getContainerDetails() |
EbsVolumeDetails |
getEbsVolumeDetails()
Contains list of scanned and skipped EBS volumes with details.
|
EcsClusterDetails |
getEcsClusterDetails()
Contains information about the details of the ECS Cluster.
|
EksClusterDetails |
getEksClusterDetails()
Details about the EKS cluster involved in a Kubernetes finding.
|
InstanceDetails |
getInstanceDetails()
The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a
finding.
|
KubernetesDetails |
getKubernetesDetails()
Details about the Kubernetes user and workload involved in a Kubernetes finding.
|
String |
getResourceType()
The type of Amazon Web Services resource.
|
List<S3BucketDetail> |
getS3BucketDetails()
Contains information on the S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAccessKeyDetails(AccessKeyDetails accessKeyDetails)
The IAM access key details (user information) of a user that engaged in the activity that prompted GuardDuty to
generate a finding.
|
void |
setContainerDetails(Container containerDetails) |
void |
setEbsVolumeDetails(EbsVolumeDetails ebsVolumeDetails)
Contains list of scanned and skipped EBS volumes with details.
|
void |
setEcsClusterDetails(EcsClusterDetails ecsClusterDetails)
Contains information about the details of the ECS Cluster.
|
void |
setEksClusterDetails(EksClusterDetails eksClusterDetails)
Details about the EKS cluster involved in a Kubernetes finding.
|
void |
setInstanceDetails(InstanceDetails instanceDetails)
The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a
finding.
|
void |
setKubernetesDetails(KubernetesDetails kubernetesDetails)
Details about the Kubernetes user and workload involved in a Kubernetes finding.
|
void |
setResourceType(String resourceType)
The type of Amazon Web Services resource.
|
void |
setS3BucketDetails(Collection<S3BucketDetail> s3BucketDetails)
Contains information on the S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
Resource |
withAccessKeyDetails(AccessKeyDetails accessKeyDetails)
The IAM access key details (user information) of a user that engaged in the activity that prompted GuardDuty to
generate a finding.
|
Resource |
withContainerDetails(Container containerDetails) |
Resource |
withEbsVolumeDetails(EbsVolumeDetails ebsVolumeDetails)
Contains list of scanned and skipped EBS volumes with details.
|
Resource |
withEcsClusterDetails(EcsClusterDetails ecsClusterDetails)
Contains information about the details of the ECS Cluster.
|
Resource |
withEksClusterDetails(EksClusterDetails eksClusterDetails)
Details about the EKS cluster involved in a Kubernetes finding.
|
Resource |
withInstanceDetails(InstanceDetails instanceDetails)
The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a
finding.
|
Resource |
withKubernetesDetails(KubernetesDetails kubernetesDetails)
Details about the Kubernetes user and workload involved in a Kubernetes finding.
|
Resource |
withResourceType(String resourceType)
The type of Amazon Web Services resource.
|
Resource |
withS3BucketDetails(Collection<S3BucketDetail> s3BucketDetails)
Contains information on the S3 bucket.
|
Resource |
withS3BucketDetails(S3BucketDetail... s3BucketDetails)
Contains information on the S3 bucket.
|
public void setAccessKeyDetails(AccessKeyDetails accessKeyDetails)
The IAM access key details (user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.
accessKeyDetails - The IAM access key details (user information) of a user that engaged in the activity that prompted
GuardDuty to generate a finding.public AccessKeyDetails getAccessKeyDetails()
The IAM access key details (user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.
public Resource withAccessKeyDetails(AccessKeyDetails accessKeyDetails)
The IAM access key details (user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.
accessKeyDetails - The IAM access key details (user information) of a user that engaged in the activity that prompted
GuardDuty to generate a finding.public List<S3BucketDetail> getS3BucketDetails()
Contains information on the S3 bucket.
public void setS3BucketDetails(Collection<S3BucketDetail> s3BucketDetails)
Contains information on the S3 bucket.
s3BucketDetails - Contains information on the S3 bucket.public Resource withS3BucketDetails(S3BucketDetail... s3BucketDetails)
Contains information on the S3 bucket.
NOTE: This method appends the values to the existing list (if any). Use
setS3BucketDetails(java.util.Collection) or withS3BucketDetails(java.util.Collection) if you
want to override the existing values.
s3BucketDetails - Contains information on the S3 bucket.public Resource withS3BucketDetails(Collection<S3BucketDetail> s3BucketDetails)
Contains information on the S3 bucket.
s3BucketDetails - Contains information on the S3 bucket.public void setInstanceDetails(InstanceDetails instanceDetails)
The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.
instanceDetails - The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a
finding.public InstanceDetails getInstanceDetails()
The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.
public Resource withInstanceDetails(InstanceDetails instanceDetails)
The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.
instanceDetails - The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a
finding.public void setEksClusterDetails(EksClusterDetails eksClusterDetails)
Details about the EKS cluster involved in a Kubernetes finding.
eksClusterDetails - Details about the EKS cluster involved in a Kubernetes finding.public EksClusterDetails getEksClusterDetails()
Details about the EKS cluster involved in a Kubernetes finding.
public Resource withEksClusterDetails(EksClusterDetails eksClusterDetails)
Details about the EKS cluster involved in a Kubernetes finding.
eksClusterDetails - Details about the EKS cluster involved in a Kubernetes finding.public void setKubernetesDetails(KubernetesDetails kubernetesDetails)
Details about the Kubernetes user and workload involved in a Kubernetes finding.
kubernetesDetails - Details about the Kubernetes user and workload involved in a Kubernetes finding.public KubernetesDetails getKubernetesDetails()
Details about the Kubernetes user and workload involved in a Kubernetes finding.
public Resource withKubernetesDetails(KubernetesDetails kubernetesDetails)
Details about the Kubernetes user and workload involved in a Kubernetes finding.
kubernetesDetails - Details about the Kubernetes user and workload involved in a Kubernetes finding.public void setResourceType(String resourceType)
The type of Amazon Web Services resource.
resourceType - The type of Amazon Web Services resource.public String getResourceType()
The type of Amazon Web Services resource.
public Resource withResourceType(String resourceType)
The type of Amazon Web Services resource.
resourceType - The type of Amazon Web Services resource.public void setEbsVolumeDetails(EbsVolumeDetails ebsVolumeDetails)
Contains list of scanned and skipped EBS volumes with details.
ebsVolumeDetails - Contains list of scanned and skipped EBS volumes with details.public EbsVolumeDetails getEbsVolumeDetails()
Contains list of scanned and skipped EBS volumes with details.
public Resource withEbsVolumeDetails(EbsVolumeDetails ebsVolumeDetails)
Contains list of scanned and skipped EBS volumes with details.
ebsVolumeDetails - Contains list of scanned and skipped EBS volumes with details.public void setEcsClusterDetails(EcsClusterDetails ecsClusterDetails)
Contains information about the details of the ECS Cluster.
ecsClusterDetails - Contains information about the details of the ECS Cluster.public EcsClusterDetails getEcsClusterDetails()
Contains information about the details of the ECS Cluster.
public Resource withEcsClusterDetails(EcsClusterDetails ecsClusterDetails)
Contains information about the details of the ECS Cluster.
ecsClusterDetails - Contains information about the details of the ECS Cluster.public void setContainerDetails(Container containerDetails)
containerDetails - public Container getContainerDetails()
public Resource withContainerDetails(Container containerDetails)
containerDetails - public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.