@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplyGuardrailResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ApplyGuardrailResult() |
Modifier and Type | Method and Description |
---|---|
ApplyGuardrailResult |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action taken in the response from the guardrail.
|
List<GuardrailAssessment> |
getAssessments()
The assessment details in the response from the guardrail.
|
List<GuardrailOutputContent> |
getOutputs()
The output details in the response from the guardrail.
|
GuardrailUsage |
getUsage()
The usage details in the response from the guardrail.
|
int |
hashCode() |
void |
setAction(String action)
The action taken in the response from the guardrail.
|
void |
setAssessments(Collection<GuardrailAssessment> assessments)
The assessment details in the response from the guardrail.
|
void |
setOutputs(Collection<GuardrailOutputContent> outputs)
The output details in the response from the guardrail.
|
void |
setUsage(GuardrailUsage usage)
The usage details in the response from the guardrail.
|
String |
toString()
Returns a string representation of this object.
|
ApplyGuardrailResult |
withAction(GuardrailAction action)
The action taken in the response from the guardrail.
|
ApplyGuardrailResult |
withAction(String action)
The action taken in the response from the guardrail.
|
ApplyGuardrailResult |
withAssessments(Collection<GuardrailAssessment> assessments)
The assessment details in the response from the guardrail.
|
ApplyGuardrailResult |
withAssessments(GuardrailAssessment... assessments)
The assessment details in the response from the guardrail.
|
ApplyGuardrailResult |
withOutputs(Collection<GuardrailOutputContent> outputs)
The output details in the response from the guardrail.
|
ApplyGuardrailResult |
withOutputs(GuardrailOutputContent... outputs)
The output details in the response from the guardrail.
|
ApplyGuardrailResult |
withUsage(GuardrailUsage usage)
The usage details in the response from the guardrail.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setUsage(GuardrailUsage usage)
The usage details in the response from the guardrail.
usage
- The usage details in the response from the guardrail.public GuardrailUsage getUsage()
The usage details in the response from the guardrail.
public ApplyGuardrailResult withUsage(GuardrailUsage usage)
The usage details in the response from the guardrail.
usage
- The usage details in the response from the guardrail.public void setAction(String action)
The action taken in the response from the guardrail.
action
- The action taken in the response from the guardrail.GuardrailAction
public String getAction()
The action taken in the response from the guardrail.
GuardrailAction
public ApplyGuardrailResult withAction(String action)
The action taken in the response from the guardrail.
action
- The action taken in the response from the guardrail.GuardrailAction
public ApplyGuardrailResult withAction(GuardrailAction action)
The action taken in the response from the guardrail.
action
- The action taken in the response from the guardrail.GuardrailAction
public List<GuardrailOutputContent> getOutputs()
The output details in the response from the guardrail.
public void setOutputs(Collection<GuardrailOutputContent> outputs)
The output details in the response from the guardrail.
outputs
- The output details in the response from the guardrail.public ApplyGuardrailResult withOutputs(GuardrailOutputContent... outputs)
The output details in the response from the guardrail.
NOTE: This method appends the values to the existing list (if any). Use
setOutputs(java.util.Collection)
or withOutputs(java.util.Collection)
if you want to override
the existing values.
outputs
- The output details in the response from the guardrail.public ApplyGuardrailResult withOutputs(Collection<GuardrailOutputContent> outputs)
The output details in the response from the guardrail.
outputs
- The output details in the response from the guardrail.public List<GuardrailAssessment> getAssessments()
The assessment details in the response from the guardrail.
public void setAssessments(Collection<GuardrailAssessment> assessments)
The assessment details in the response from the guardrail.
assessments
- The assessment details in the response from the guardrail.public ApplyGuardrailResult withAssessments(GuardrailAssessment... assessments)
The assessment details in the response from the guardrail.
NOTE: This method appends the values to the existing list (if any). Use
setAssessments(java.util.Collection)
or withAssessments(java.util.Collection)
if you want to
override the existing values.
assessments
- The assessment details in the response from the guardrail.public ApplyGuardrailResult withAssessments(Collection<GuardrailAssessment> assessments)
The assessment details in the response from the guardrail.
assessments
- The assessment details in the response from the guardrail.public String toString()
toString
in class Object
Object.toString()
public ApplyGuardrailResult clone()