@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the resource involved in the finding.
Constructor and Description |
---|
ResourceDetails() |
Modifier and Type | Method and Description |
---|---|
ResourceDetails |
clone() |
boolean |
equals(Object obj) |
AwsEc2InstanceDetails |
getAwsEc2Instance()
An object that contains details about the Amazon EC2 instance involved in the finding.
|
AwsEcrContainerImageDetails |
getAwsEcrContainerImage()
An object that contains details about the Amazon ECR container image involved in the finding.
|
AwsLambdaFunctionDetails |
getAwsLambdaFunction()
A summary of the information about an Amazon Web Services Lambda function affected by a finding.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
An object that contains details about the Amazon EC2 instance involved in the finding.
|
void |
setAwsEcrContainerImage(AwsEcrContainerImageDetails awsEcrContainerImage)
An object that contains details about the Amazon ECR container image involved in the finding.
|
void |
setAwsLambdaFunction(AwsLambdaFunctionDetails awsLambdaFunction)
A summary of the information about an Amazon Web Services Lambda function affected by a finding.
|
String |
toString()
Returns a string representation of this object.
|
ResourceDetails |
withAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
An object that contains details about the Amazon EC2 instance involved in the finding.
|
ResourceDetails |
withAwsEcrContainerImage(AwsEcrContainerImageDetails awsEcrContainerImage)
An object that contains details about the Amazon ECR container image involved in the finding.
|
ResourceDetails |
withAwsLambdaFunction(AwsLambdaFunctionDetails awsLambdaFunction)
A summary of the information about an Amazon Web Services Lambda function affected by a finding.
|
public void setAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
An object that contains details about the Amazon EC2 instance involved in the finding.
awsEc2Instance
- An object that contains details about the Amazon EC2 instance involved in the finding.public AwsEc2InstanceDetails getAwsEc2Instance()
An object that contains details about the Amazon EC2 instance involved in the finding.
public ResourceDetails withAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
An object that contains details about the Amazon EC2 instance involved in the finding.
awsEc2Instance
- An object that contains details about the Amazon EC2 instance involved in the finding.public void setAwsEcrContainerImage(AwsEcrContainerImageDetails awsEcrContainerImage)
An object that contains details about the Amazon ECR container image involved in the finding.
awsEcrContainerImage
- An object that contains details about the Amazon ECR container image involved in the finding.public AwsEcrContainerImageDetails getAwsEcrContainerImage()
An object that contains details about the Amazon ECR container image involved in the finding.
public ResourceDetails withAwsEcrContainerImage(AwsEcrContainerImageDetails awsEcrContainerImage)
An object that contains details about the Amazon ECR container image involved in the finding.
awsEcrContainerImage
- An object that contains details about the Amazon ECR container image involved in the finding.public void setAwsLambdaFunction(AwsLambdaFunctionDetails awsLambdaFunction)
A summary of the information about an Amazon Web Services Lambda function affected by a finding.
awsLambdaFunction
- A summary of the information about an Amazon Web Services Lambda function affected by a finding.public AwsLambdaFunctionDetails getAwsLambdaFunction()
A summary of the information about an Amazon Web Services Lambda function affected by a finding.
public ResourceDetails withAwsLambdaFunction(AwsLambdaFunctionDetails awsLambdaFunction)
A summary of the information about an Amazon Web Services Lambda function affected by a finding.
awsLambdaFunction
- A summary of the information about an Amazon Web Services Lambda function affected by a finding.public String toString()
toString
in class Object
Object.toString()
public ResourceDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.