@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ControlMetadata extends Object implements Serializable, Cloneable, StructuredPojo
The metadata that's associated with the standard control or custom control.
Constructor and Description |
---|
ControlMetadata() |
Modifier and Type | Method and Description |
---|---|
ControlMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the control.
|
String |
getControlSources()
The data source that determines where Audit Manager collects evidence from for the control.
|
Date |
getCreatedAt()
Specifies when the control was created.
|
String |
getId()
The unique identifier for the control.
|
Date |
getLastUpdatedAt()
Specifies when the control was most recently updated.
|
String |
getName()
The name of the control.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the control.
|
void |
setControlSources(String controlSources)
The data source that determines where Audit Manager collects evidence from for the control.
|
void |
setCreatedAt(Date createdAt)
Specifies when the control was created.
|
void |
setId(String id)
The unique identifier for the control.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
Specifies when the control was most recently updated.
|
void |
setName(String name)
The name of the control.
|
String |
toString()
Returns a string representation of this object.
|
ControlMetadata |
withArn(String arn)
The Amazon Resource Name (ARN) of the control.
|
ControlMetadata |
withControlSources(String controlSources)
The data source that determines where Audit Manager collects evidence from for the control.
|
ControlMetadata |
withCreatedAt(Date createdAt)
Specifies when the control was created.
|
ControlMetadata |
withId(String id)
The unique identifier for the control.
|
ControlMetadata |
withLastUpdatedAt(Date lastUpdatedAt)
Specifies when the control was most recently updated.
|
ControlMetadata |
withName(String name)
The name of the control.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the control.
arn
- The Amazon Resource Name (ARN) of the control.public String getArn()
The Amazon Resource Name (ARN) of the control.
public ControlMetadata withArn(String arn)
The Amazon Resource Name (ARN) of the control.
arn
- The Amazon Resource Name (ARN) of the control.public void setId(String id)
The unique identifier for the control.
id
- The unique identifier for the control.public String getId()
The unique identifier for the control.
public ControlMetadata withId(String id)
The unique identifier for the control.
id
- The unique identifier for the control.public void setName(String name)
The name of the control.
name
- The name of the control.public String getName()
The name of the control.
public ControlMetadata withName(String name)
The name of the control.
name
- The name of the control.public void setControlSources(String controlSources)
The data source that determines where Audit Manager collects evidence from for the control.
controlSources
- The data source that determines where Audit Manager collects evidence from for the control.public String getControlSources()
The data source that determines where Audit Manager collects evidence from for the control.
public ControlMetadata withControlSources(String controlSources)
The data source that determines where Audit Manager collects evidence from for the control.
controlSources
- The data source that determines where Audit Manager collects evidence from for the control.public void setCreatedAt(Date createdAt)
Specifies when the control was created.
createdAt
- Specifies when the control was created.public Date getCreatedAt()
Specifies when the control was created.
public ControlMetadata withCreatedAt(Date createdAt)
Specifies when the control was created.
createdAt
- Specifies when the control was created.public void setLastUpdatedAt(Date lastUpdatedAt)
Specifies when the control was most recently updated.
lastUpdatedAt
- Specifies when the control was most recently updated.public Date getLastUpdatedAt()
Specifies when the control was most recently updated.
public ControlMetadata withLastUpdatedAt(Date lastUpdatedAt)
Specifies when the control was most recently updated.
lastUpdatedAt
- Specifies when the control was most recently updated.public String toString()
toString
in class Object
Object.toString()
public ControlMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.