@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.