@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckNoNewAccessResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CheckNoNewAccessResult() |
| Modifier and Type | Method and Description |
|---|---|
CheckNoNewAccessResult |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The message indicating whether the updated policy allows new access.
|
List<ReasonSummary> |
getReasons()
A description of the reasoning of the result.
|
String |
getResult()
The result of the check for new access.
|
int |
hashCode() |
void |
setMessage(String message)
The message indicating whether the updated policy allows new access.
|
void |
setReasons(Collection<ReasonSummary> reasons)
A description of the reasoning of the result.
|
void |
setResult(String result)
The result of the check for new access.
|
String |
toString()
Returns a string representation of this object.
|
CheckNoNewAccessResult |
withMessage(String message)
The message indicating whether the updated policy allows new access.
|
CheckNoNewAccessResult |
withReasons(Collection<ReasonSummary> reasons)
A description of the reasoning of the result.
|
CheckNoNewAccessResult |
withReasons(ReasonSummary... reasons)
A description of the reasoning of the result.
|
CheckNoNewAccessResult |
withResult(CheckNoNewAccessResult result)
The result of the check for new access.
|
CheckNoNewAccessResult |
withResult(String result)
The result of the check for new access.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setResult(String result)
The result of the check for new access. If the result is PASS, no new access is allowed by the
updated policy. If the result is FAIL, the updated policy might allow new access.
result - The result of the check for new access. If the result is PASS, no new access is allowed by
the updated policy. If the result is FAIL, the updated policy might allow new access.CheckNoNewAccessResultpublic String getResult()
The result of the check for new access. If the result is PASS, no new access is allowed by the
updated policy. If the result is FAIL, the updated policy might allow new access.
PASS, no new access is allowed by
the updated policy. If the result is FAIL, the updated policy might allow new access.CheckNoNewAccessResultpublic CheckNoNewAccessResult withResult(String result)
The result of the check for new access. If the result is PASS, no new access is allowed by the
updated policy. If the result is FAIL, the updated policy might allow new access.
result - The result of the check for new access. If the result is PASS, no new access is allowed by
the updated policy. If the result is FAIL, the updated policy might allow new access.CheckNoNewAccessResultpublic CheckNoNewAccessResult withResult(CheckNoNewAccessResult result)
The result of the check for new access. If the result is PASS, no new access is allowed by the
updated policy. If the result is FAIL, the updated policy might allow new access.
result - The result of the check for new access. If the result is PASS, no new access is allowed by
the updated policy. If the result is FAIL, the updated policy might allow new access.CheckNoNewAccessResultpublic void setMessage(String message)
The message indicating whether the updated policy allows new access.
message - The message indicating whether the updated policy allows new access.public String getMessage()
The message indicating whether the updated policy allows new access.
public CheckNoNewAccessResult withMessage(String message)
The message indicating whether the updated policy allows new access.
message - The message indicating whether the updated policy allows new access.public List<ReasonSummary> getReasons()
A description of the reasoning of the result.
public void setReasons(Collection<ReasonSummary> reasons)
A description of the reasoning of the result.
reasons - A description of the reasoning of the result.public CheckNoNewAccessResult withReasons(ReasonSummary... reasons)
A description of the reasoning of the result.
NOTE: This method appends the values to the existing list (if any). Use
setReasons(java.util.Collection) or withReasons(java.util.Collection) if you want to override
the existing values.
reasons - A description of the reasoning of the result.public CheckNoNewAccessResult withReasons(Collection<ReasonSummary> reasons)
A description of the reasoning of the result.
reasons - A description of the reasoning of the result.public String toString()
toString in class ObjectObject.toString()public CheckNoNewAccessResult clone()