@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceDetails extends Object implements Serializable, Cloneable, StructuredPojo
Additional details about a resource related to a finding.
| Constructor and Description |
|---|
ResourceDetails() |
| Modifier and Type | Method and Description |
|---|---|
ResourceDetails |
addOtherEntry(String key,
String value) |
ResourceDetails |
clearOtherEntries()
Removes all the entries added into Other.
|
ResourceDetails |
clone() |
boolean |
equals(Object obj) |
AwsEc2InstanceDetails |
getAwsEc2Instance()
Details about an Amazon EC2 instance related to a finding.
|
AwsIamAccessKeyDetails |
getAwsIamAccessKey()
Details about an IAM access key related to a finding.
|
AwsS3BucketDetails |
getAwsS3Bucket()
Details about an Amazon S3 Bucket related to a finding.
|
ContainerDetails |
getContainer()
Details about a container resource related to a finding.
|
Map<String,String> |
getOther()
Details about a resource that doesn't have a specific type defined.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
Details about an Amazon EC2 instance related to a finding.
|
void |
setAwsIamAccessKey(AwsIamAccessKeyDetails awsIamAccessKey)
Details about an IAM access key related to a finding.
|
void |
setAwsS3Bucket(AwsS3BucketDetails awsS3Bucket)
Details about an Amazon S3 Bucket related to a finding.
|
void |
setContainer(ContainerDetails container)
Details about a container resource related to a finding.
|
void |
setOther(Map<String,String> other)
Details about a resource that doesn't have a specific type defined.
|
String |
toString()
Returns a string representation of this object.
|
ResourceDetails |
withAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
Details about an Amazon EC2 instance related to a finding.
|
ResourceDetails |
withAwsIamAccessKey(AwsIamAccessKeyDetails awsIamAccessKey)
Details about an IAM access key related to a finding.
|
ResourceDetails |
withAwsS3Bucket(AwsS3BucketDetails awsS3Bucket)
Details about an Amazon S3 Bucket related to a finding.
|
ResourceDetails |
withContainer(ContainerDetails container)
Details about a container resource related to a finding.
|
ResourceDetails |
withOther(Map<String,String> other)
Details about a resource that doesn't have a specific type defined.
|
public void setAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
Details about an Amazon EC2 instance related to a finding.
awsEc2Instance - Details about an Amazon EC2 instance related to a finding.public AwsEc2InstanceDetails getAwsEc2Instance()
Details about an Amazon EC2 instance related to a finding.
public ResourceDetails withAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
Details about an Amazon EC2 instance related to a finding.
awsEc2Instance - Details about an Amazon EC2 instance related to a finding.public void setAwsS3Bucket(AwsS3BucketDetails awsS3Bucket)
Details about an Amazon S3 Bucket related to a finding.
awsS3Bucket - Details about an Amazon S3 Bucket related to a finding.public AwsS3BucketDetails getAwsS3Bucket()
Details about an Amazon S3 Bucket related to a finding.
public ResourceDetails withAwsS3Bucket(AwsS3BucketDetails awsS3Bucket)
Details about an Amazon S3 Bucket related to a finding.
awsS3Bucket - Details about an Amazon S3 Bucket related to a finding.public void setAwsIamAccessKey(AwsIamAccessKeyDetails awsIamAccessKey)
Details about an IAM access key related to a finding.
awsIamAccessKey - Details about an IAM access key related to a finding.public AwsIamAccessKeyDetails getAwsIamAccessKey()
Details about an IAM access key related to a finding.
public ResourceDetails withAwsIamAccessKey(AwsIamAccessKeyDetails awsIamAccessKey)
Details about an IAM access key related to a finding.
awsIamAccessKey - Details about an IAM access key related to a finding.public void setContainer(ContainerDetails container)
Details about a container resource related to a finding.
container - Details about a container resource related to a finding.public ContainerDetails getContainer()
Details about a container resource related to a finding.
public ResourceDetails withContainer(ContainerDetails container)
Details about a container resource related to a finding.
container - Details about a container resource related to a finding.public Map<String,String> getOther()
Details about a resource that doesn't have a specific type defined.
public void setOther(Map<String,String> other)
Details about a resource that doesn't have a specific type defined.
other - Details about a resource that doesn't have a specific type defined.public ResourceDetails withOther(Map<String,String> other)
Details about a resource that doesn't have a specific type defined.
other - Details about a resource that doesn't have a specific type defined.public ResourceDetails addOtherEntry(String key, String value)
public ResourceDetails clearOtherEntries()
public String toString()
toString in class ObjectObject.toString()public ResourceDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.