@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GuardrailSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a guardrail.
This data type is used in the following API operations:
Constructor and Description |
---|
GuardrailSummary() |
Modifier and Type | Method and Description |
---|---|
GuardrailSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the guardrail.
|
Date |
getCreatedAt()
The date and time at which the guardrail was created.
|
String |
getDescription()
A description of the guardrail.
|
String |
getId()
The unique identifier of the guardrail.
|
String |
getName()
The name of the guardrail.
|
String |
getStatus()
The status of the guardrail.
|
Date |
getUpdatedAt()
The date and time at which the guardrail was last updated.
|
String |
getVersion()
The version of the guardrail.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the guardrail.
|
void |
setCreatedAt(Date createdAt)
The date and time at which the guardrail was created.
|
void |
setDescription(String description)
A description of the guardrail.
|
void |
setId(String id)
The unique identifier of the guardrail.
|
void |
setName(String name)
The name of the guardrail.
|
void |
setStatus(String status)
The status of the guardrail.
|
void |
setUpdatedAt(Date updatedAt)
The date and time at which the guardrail was last updated.
|
void |
setVersion(String version)
The version of the guardrail.
|
String |
toString()
Returns a string representation of this object.
|
GuardrailSummary |
withArn(String arn)
The ARN of the guardrail.
|
GuardrailSummary |
withCreatedAt(Date createdAt)
The date and time at which the guardrail was created.
|
GuardrailSummary |
withDescription(String description)
A description of the guardrail.
|
GuardrailSummary |
withId(String id)
The unique identifier of the guardrail.
|
GuardrailSummary |
withName(String name)
The name of the guardrail.
|
GuardrailSummary |
withStatus(GuardrailStatus status)
The status of the guardrail.
|
GuardrailSummary |
withStatus(String status)
The status of the guardrail.
|
GuardrailSummary |
withUpdatedAt(Date updatedAt)
The date and time at which the guardrail was last updated.
|
GuardrailSummary |
withVersion(String version)
The version of the guardrail.
|
public void setId(String id)
The unique identifier of the guardrail.
id
- The unique identifier of the guardrail.public String getId()
The unique identifier of the guardrail.
public GuardrailSummary withId(String id)
The unique identifier of the guardrail.
id
- The unique identifier of the guardrail.public void setArn(String arn)
The ARN of the guardrail.
arn
- The ARN of the guardrail.public String getArn()
The ARN of the guardrail.
public GuardrailSummary withArn(String arn)
The ARN of the guardrail.
arn
- The ARN of the guardrail.public void setStatus(String status)
The status of the guardrail.
status
- The status of the guardrail.GuardrailStatus
public String getStatus()
The status of the guardrail.
GuardrailStatus
public GuardrailSummary withStatus(String status)
The status of the guardrail.
status
- The status of the guardrail.GuardrailStatus
public GuardrailSummary withStatus(GuardrailStatus status)
The status of the guardrail.
status
- The status of the guardrail.GuardrailStatus
public void setName(String name)
The name of the guardrail.
name
- The name of the guardrail.public String getName()
The name of the guardrail.
public GuardrailSummary withName(String name)
The name of the guardrail.
name
- The name of the guardrail.public void setDescription(String description)
A description of the guardrail.
description
- A description of the guardrail.public String getDescription()
A description of the guardrail.
public GuardrailSummary withDescription(String description)
A description of the guardrail.
description
- A description of the guardrail.public void setVersion(String version)
The version of the guardrail.
version
- The version of the guardrail.public String getVersion()
The version of the guardrail.
public GuardrailSummary withVersion(String version)
The version of the guardrail.
version
- The version of the guardrail.public void setCreatedAt(Date createdAt)
The date and time at which the guardrail was created.
createdAt
- The date and time at which the guardrail was created.public Date getCreatedAt()
The date and time at which the guardrail was created.
public GuardrailSummary withCreatedAt(Date createdAt)
The date and time at which the guardrail was created.
createdAt
- The date and time at which the guardrail was created.public void setUpdatedAt(Date updatedAt)
The date and time at which the guardrail was last updated.
updatedAt
- The date and time at which the guardrail was last updated.public Date getUpdatedAt()
The date and time at which the guardrail was last updated.
public GuardrailSummary withUpdatedAt(Date updatedAt)
The date and time at which the guardrail was last updated.
updatedAt
- The date and time at which the guardrail was last updated.public String toString()
toString
in class Object
Object.toString()
public GuardrailSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.