@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessControlAttribute extends Object implements Serializable, Cloneable, StructuredPojo
These are Amazon Web Services SSO identity store attributes that you can configure for use in attributes-based access
control (ABAC). You can create permissions policies that determine who can access your Amazon Web Services resources
based upon the configured attribute values. When you enable ABAC and specify AccessControlAttributes
,
Amazon Web Services SSO passes the attribute values of the authenticated user into IAM for use in policy evaluation.
Constructor and Description |
---|
AccessControlAttribute() |
Modifier and Type | Method and Description |
---|---|
AccessControlAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the attribute associated with your identities in your identity source.
|
AccessControlAttributeValue |
getValue()
The value used for mapping a specified attribute to an identity source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The name of the attribute associated with your identities in your identity source.
|
void |
setValue(AccessControlAttributeValue value)
The value used for mapping a specified attribute to an identity source.
|
String |
toString()
Returns a string representation of this object.
|
AccessControlAttribute |
withKey(String key)
The name of the attribute associated with your identities in your identity source.
|
AccessControlAttribute |
withValue(AccessControlAttributeValue value)
The value used for mapping a specified attribute to an identity source.
|
public void setKey(String key)
The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in Amazon Web Services SSO.
key
- The name of the attribute associated with your identities in your identity source. This is used to map a
specified attribute in your identity source with an attribute in Amazon Web Services SSO.public String getKey()
The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in Amazon Web Services SSO.
public AccessControlAttribute withKey(String key)
The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in Amazon Web Services SSO.
key
- The name of the attribute associated with your identities in your identity source. This is used to map a
specified attribute in your identity source with an attribute in Amazon Web Services SSO.public void setValue(AccessControlAttributeValue value)
The value used for mapping a specified attribute to an identity source.
value
- The value used for mapping a specified attribute to an identity source.public AccessControlAttributeValue getValue()
The value used for mapping a specified attribute to an identity source.
public AccessControlAttribute withValue(AccessControlAttributeValue value)
The value used for mapping a specified attribute to an identity source.
value
- The value used for mapping a specified attribute to an identity source.public String toString()
toString
in class Object
Object.toString()
public AccessControlAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.