@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckAccessNotGrantedResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CheckAccessNotGrantedResult() |
Modifier and Type | Method and Description |
---|---|
CheckAccessNotGrantedResult |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The message indicating whether the specified access is allowed.
|
List<ReasonSummary> |
getReasons()
A description of the reasoning of the result.
|
String |
getResult()
The result of the check for whether the access is allowed.
|
int |
hashCode() |
void |
setMessage(String message)
The message indicating whether the specified access is allowed.
|
void |
setReasons(Collection<ReasonSummary> reasons)
A description of the reasoning of the result.
|
void |
setResult(String result)
The result of the check for whether the access is allowed.
|
String |
toString()
Returns a string representation of this object.
|
CheckAccessNotGrantedResult |
withMessage(String message)
The message indicating whether the specified access is allowed.
|
CheckAccessNotGrantedResult |
withReasons(Collection<ReasonSummary> reasons)
A description of the reasoning of the result.
|
CheckAccessNotGrantedResult |
withReasons(ReasonSummary... reasons)
A description of the reasoning of the result.
|
CheckAccessNotGrantedResult |
withResult(CheckAccessNotGrantedResult result)
The result of the check for whether the access is allowed.
|
CheckAccessNotGrantedResult |
withResult(String result)
The result of the check for whether the access is allowed.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResult(String result)
The result of the check for whether the access is allowed. If the result is PASS
, the specified
policy doesn't allow any of the specified permissions in the access object. If the result is FAIL
,
the specified policy might allow some or all of the permissions in the access object.
result
- The result of the check for whether the access is allowed. If the result is PASS
, the
specified policy doesn't allow any of the specified permissions in the access object. If the result is
FAIL
, the specified policy might allow some or all of the permissions in the access object.CheckAccessNotGrantedResult
public String getResult()
The result of the check for whether the access is allowed. If the result is PASS
, the specified
policy doesn't allow any of the specified permissions in the access object. If the result is FAIL
,
the specified policy might allow some or all of the permissions in the access object.
PASS
, the
specified policy doesn't allow any of the specified permissions in the access object. If the result is
FAIL
, the specified policy might allow some or all of the permissions in the access object.CheckAccessNotGrantedResult
public CheckAccessNotGrantedResult withResult(String result)
The result of the check for whether the access is allowed. If the result is PASS
, the specified
policy doesn't allow any of the specified permissions in the access object. If the result is FAIL
,
the specified policy might allow some or all of the permissions in the access object.
result
- The result of the check for whether the access is allowed. If the result is PASS
, the
specified policy doesn't allow any of the specified permissions in the access object. If the result is
FAIL
, the specified policy might allow some or all of the permissions in the access object.CheckAccessNotGrantedResult
public CheckAccessNotGrantedResult withResult(CheckAccessNotGrantedResult result)
The result of the check for whether the access is allowed. If the result is PASS
, the specified
policy doesn't allow any of the specified permissions in the access object. If the result is FAIL
,
the specified policy might allow some or all of the permissions in the access object.
result
- The result of the check for whether the access is allowed. If the result is PASS
, the
specified policy doesn't allow any of the specified permissions in the access object. If the result is
FAIL
, the specified policy might allow some or all of the permissions in the access object.CheckAccessNotGrantedResult
public void setMessage(String message)
The message indicating whether the specified access is allowed.
message
- The message indicating whether the specified access is allowed.public String getMessage()
The message indicating whether the specified access is allowed.
public CheckAccessNotGrantedResult withMessage(String message)
The message indicating whether the specified access is allowed.
message
- The message indicating whether the specified access is allowed.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 CheckAccessNotGrantedResult 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 CheckAccessNotGrantedResult 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 Object
Object.toString()
public CheckAccessNotGrantedResult clone()