@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Resource extends Object implements Serializable, Cloneable, StructuredPojo
A system asset that's evaluated in an Audit Manager assessment.
| Constructor and Description |
|---|
Resource() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) for the resource.
|
String |
getValue()
The value of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the resource.
|
void |
setValue(String value)
The value of the resource.
|
String |
toString()
Returns a string representation of this object.
|
Resource |
withArn(String arn)
The Amazon Resource Name (ARN) for the resource.
|
Resource |
withValue(String value)
The value of the resource.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) for the resource.
arn - The Amazon Resource Name (ARN) for the resource.public String getArn()
The Amazon Resource Name (ARN) for the resource.
public Resource withArn(String arn)
The Amazon Resource Name (ARN) for the resource.
arn - The Amazon Resource Name (ARN) for the resource.public void setValue(String value)
The value of the resource.
value - The value of the resource.public String getValue()
The value of the resource.
public Resource withValue(String value)
The value of the resource.
value - The value of the resource.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.