@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FarmSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary of details for a farm.
Constructor and Description |
---|
FarmSummary() |
Modifier and Type | Method and Description |
---|---|
FarmSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The date and time the resource was created.
|
String |
getCreatedBy()
The user or system that created this resource.
|
String |
getDisplayName()
The display name of the farm.
|
String |
getFarmId()
The farm ID.
|
String |
getKmsKeyArn()
The ARN for the KMS key.
|
Date |
getUpdatedAt()
The date and time the resource was updated.
|
String |
getUpdatedBy()
The user or system that updated this resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The date and time the resource was created.
|
void |
setCreatedBy(String createdBy)
The user or system that created this resource.
|
void |
setDisplayName(String displayName)
The display name of the farm.
|
void |
setFarmId(String farmId)
The farm ID.
|
void |
setKmsKeyArn(String kmsKeyArn)
The ARN for the KMS key.
|
void |
setUpdatedAt(Date updatedAt)
The date and time the resource was updated.
|
void |
setUpdatedBy(String updatedBy)
The user or system that updated this resource.
|
String |
toString()
Returns a string representation of this object.
|
FarmSummary |
withCreatedAt(Date createdAt)
The date and time the resource was created.
|
FarmSummary |
withCreatedBy(String createdBy)
The user or system that created this resource.
|
FarmSummary |
withDisplayName(String displayName)
The display name of the farm.
|
FarmSummary |
withFarmId(String farmId)
The farm ID.
|
FarmSummary |
withKmsKeyArn(String kmsKeyArn)
The ARN for the KMS key.
|
FarmSummary |
withUpdatedAt(Date updatedAt)
The date and time the resource was updated.
|
FarmSummary |
withUpdatedBy(String updatedBy)
The user or system that updated this resource.
|
public void setCreatedAt(Date createdAt)
The date and time the resource was created.
createdAt
- The date and time the resource was created.public Date getCreatedAt()
The date and time the resource was created.
public FarmSummary withCreatedAt(Date createdAt)
The date and time the resource was created.
createdAt
- The date and time the resource was created.public void setCreatedBy(String createdBy)
The user or system that created this resource.
createdBy
- The user or system that created this resource.public String getCreatedBy()
The user or system that created this resource.
public FarmSummary withCreatedBy(String createdBy)
The user or system that created this resource.
createdBy
- The user or system that created this resource.public void setDisplayName(String displayName)
The display name of the farm.
displayName
- The display name of the farm.public String getDisplayName()
The display name of the farm.
public FarmSummary withDisplayName(String displayName)
The display name of the farm.
displayName
- The display name of the farm.public void setFarmId(String farmId)
The farm ID.
farmId
- The farm ID.public String getFarmId()
The farm ID.
public FarmSummary withFarmId(String farmId)
The farm ID.
farmId
- The farm ID.public void setKmsKeyArn(String kmsKeyArn)
The ARN for the KMS key.
kmsKeyArn
- The ARN for the KMS key.public String getKmsKeyArn()
The ARN for the KMS key.
public FarmSummary withKmsKeyArn(String kmsKeyArn)
The ARN for the KMS key.
kmsKeyArn
- The ARN for the KMS key.public void setUpdatedAt(Date updatedAt)
The date and time the resource was updated.
updatedAt
- The date and time the resource was updated.public Date getUpdatedAt()
The date and time the resource was updated.
public FarmSummary withUpdatedAt(Date updatedAt)
The date and time the resource was updated.
updatedAt
- The date and time the resource was updated.public void setUpdatedBy(String updatedBy)
The user or system that updated this resource.
updatedBy
- The user or system that updated this resource.public String getUpdatedBy()
The user or system that updated this resource.
public FarmSummary withUpdatedBy(String updatedBy)
The user or system that updated this resource.
updatedBy
- The user or system that updated this resource.public String toString()
toString
in class Object
Object.toString()
public FarmSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.