@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAccessControlEffectResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
GetAccessControlEffectResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
GetAccessControlEffectResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getEffect()
 The rule effect. 
 | 
List<String> | 
getMatchedRules()
 The rules that match the given parameters, resulting in an effect. 
 | 
int | 
hashCode()  | 
void | 
setEffect(String effect)
 The rule effect. 
 | 
void | 
setMatchedRules(Collection<String> matchedRules)
 The rules that match the given parameters, resulting in an effect. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
GetAccessControlEffectResult | 
withEffect(AccessControlRuleEffect effect)
 The rule effect. 
 | 
GetAccessControlEffectResult | 
withEffect(String effect)
 The rule effect. 
 | 
GetAccessControlEffectResult | 
withMatchedRules(Collection<String> matchedRules)
 The rules that match the given parameters, resulting in an effect. 
 | 
GetAccessControlEffectResult | 
withMatchedRules(String... matchedRules)
 The rules that match the given parameters, resulting in an effect. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setEffect(String effect)
The rule effect.
effect - The rule effect.AccessControlRuleEffectpublic String getEffect()
The rule effect.
AccessControlRuleEffectpublic GetAccessControlEffectResult withEffect(String effect)
The rule effect.
effect - The rule effect.AccessControlRuleEffectpublic GetAccessControlEffectResult withEffect(AccessControlRuleEffect effect)
The rule effect.
effect - The rule effect.AccessControlRuleEffectpublic List<String> getMatchedRules()
The rules that match the given parameters, resulting in an effect.
public void setMatchedRules(Collection<String> matchedRules)
The rules that match the given parameters, resulting in an effect.
matchedRules - The rules that match the given parameters, resulting in an effect.public GetAccessControlEffectResult withMatchedRules(String... matchedRules)
The rules that match the given parameters, resulting in an effect.
 NOTE: This method appends the values to the existing list (if any). Use
 setMatchedRules(java.util.Collection) or withMatchedRules(java.util.Collection) if you want to
 override the existing values.
 
matchedRules - The rules that match the given parameters, resulting in an effect.public GetAccessControlEffectResult withMatchedRules(Collection<String> matchedRules)
The rules that match the given parameters, resulting in an effect.
matchedRules - The rules that match the given parameters, resulting in an effect.public String toString()
toString in class ObjectObject.toString()public GetAccessControlEffectResult clone()