@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LabelSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about the label.
Constructor and Description |
---|
LabelSummary() |
Modifier and Type | Method and Description |
---|---|
LabelSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The time at which the label was created.
|
Date |
getEndTime()
The timestamp indicating the end of the label.
|
String |
getEquipment()
Indicates that a label pertains to a particular piece of equipment.
|
String |
getFaultCode()
Indicates the type of anomaly associated with the label.
|
String |
getLabelGroupArn()
The Amazon Resource Name (ARN) of the label group.
|
String |
getLabelGroupName()
The name of the label group.
|
String |
getLabelId()
The ID of the label.
|
String |
getRating()
Indicates whether a labeled event represents an anomaly.
|
Date |
getStartTime()
The timestamp indicating the start of the label.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The time at which the label was created.
|
void |
setEndTime(Date endTime)
The timestamp indicating the end of the label.
|
void |
setEquipment(String equipment)
Indicates that a label pertains to a particular piece of equipment.
|
void |
setFaultCode(String faultCode)
Indicates the type of anomaly associated with the label.
|
void |
setLabelGroupArn(String labelGroupArn)
The Amazon Resource Name (ARN) of the label group.
|
void |
setLabelGroupName(String labelGroupName)
The name of the label group.
|
void |
setLabelId(String labelId)
The ID of the label.
|
void |
setRating(String rating)
Indicates whether a labeled event represents an anomaly.
|
void |
setStartTime(Date startTime)
The timestamp indicating the start of the label.
|
String |
toString()
Returns a string representation of this object.
|
LabelSummary |
withCreatedAt(Date createdAt)
The time at which the label was created.
|
LabelSummary |
withEndTime(Date endTime)
The timestamp indicating the end of the label.
|
LabelSummary |
withEquipment(String equipment)
Indicates that a label pertains to a particular piece of equipment.
|
LabelSummary |
withFaultCode(String faultCode)
Indicates the type of anomaly associated with the label.
|
LabelSummary |
withLabelGroupArn(String labelGroupArn)
The Amazon Resource Name (ARN) of the label group.
|
LabelSummary |
withLabelGroupName(String labelGroupName)
The name of the label group.
|
LabelSummary |
withLabelId(String labelId)
The ID of the label.
|
LabelSummary |
withRating(LabelRating rating)
Indicates whether a labeled event represents an anomaly.
|
LabelSummary |
withRating(String rating)
Indicates whether a labeled event represents an anomaly.
|
LabelSummary |
withStartTime(Date startTime)
The timestamp indicating the start of the label.
|
public void setLabelGroupName(String labelGroupName)
The name of the label group.
labelGroupName
- The name of the label group.public String getLabelGroupName()
The name of the label group.
public LabelSummary withLabelGroupName(String labelGroupName)
The name of the label group.
labelGroupName
- The name of the label group.public void setLabelId(String labelId)
The ID of the label.
labelId
- The ID of the label.public String getLabelId()
The ID of the label.
public LabelSummary withLabelId(String labelId)
The ID of the label.
labelId
- The ID of the label.public void setLabelGroupArn(String labelGroupArn)
The Amazon Resource Name (ARN) of the label group.
labelGroupArn
- The Amazon Resource Name (ARN) of the label group.public String getLabelGroupArn()
The Amazon Resource Name (ARN) of the label group.
public LabelSummary withLabelGroupArn(String labelGroupArn)
The Amazon Resource Name (ARN) of the label group.
labelGroupArn
- The Amazon Resource Name (ARN) of the label group.public void setStartTime(Date startTime)
The timestamp indicating the start of the label.
startTime
- The timestamp indicating the start of the label.public Date getStartTime()
The timestamp indicating the start of the label.
public LabelSummary withStartTime(Date startTime)
The timestamp indicating the start of the label.
startTime
- The timestamp indicating the start of the label.public void setEndTime(Date endTime)
The timestamp indicating the end of the label.
endTime
- The timestamp indicating the end of the label.public Date getEndTime()
The timestamp indicating the end of the label.
public LabelSummary withEndTime(Date endTime)
The timestamp indicating the end of the label.
endTime
- The timestamp indicating the end of the label.public void setRating(String rating)
Indicates whether a labeled event represents an anomaly.
rating
- Indicates whether a labeled event represents an anomaly.LabelRating
public String getRating()
Indicates whether a labeled event represents an anomaly.
LabelRating
public LabelSummary withRating(String rating)
Indicates whether a labeled event represents an anomaly.
rating
- Indicates whether a labeled event represents an anomaly.LabelRating
public LabelSummary withRating(LabelRating rating)
Indicates whether a labeled event represents an anomaly.
rating
- Indicates whether a labeled event represents an anomaly.LabelRating
public void setFaultCode(String faultCode)
Indicates the type of anomaly associated with the label.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
faultCode
- Indicates the type of anomaly associated with the label.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public String getFaultCode()
Indicates the type of anomaly associated with the label.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public LabelSummary withFaultCode(String faultCode)
Indicates the type of anomaly associated with the label.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
faultCode
- Indicates the type of anomaly associated with the label.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public void setEquipment(String equipment)
Indicates that a label pertains to a particular piece of equipment.
equipment
- Indicates that a label pertains to a particular piece of equipment.public String getEquipment()
Indicates that a label pertains to a particular piece of equipment.
public LabelSummary withEquipment(String equipment)
Indicates that a label pertains to a particular piece of equipment.
equipment
- Indicates that a label pertains to a particular piece of equipment.public void setCreatedAt(Date createdAt)
The time at which the label was created.
createdAt
- The time at which the label was created.public Date getCreatedAt()
The time at which the label was created.
public LabelSummary withCreatedAt(Date createdAt)
The time at which the label was created.
createdAt
- The time at which the label was created.public String toString()
toString
in class Object
Object.toString()
public LabelSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.