@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyAttribute extends Object implements Serializable, Cloneable
Information about a policy attribute.
Constructor and Description |
---|
PolicyAttribute()
Default constructor for PolicyAttribute object.
|
PolicyAttribute(String attributeName,
String attributeValue)
Constructs a new PolicyAttribute object.
|
Modifier and Type | Method and Description |
---|---|
PolicyAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the attribute.
|
String |
getAttributeValue()
The value of the attribute.
|
int |
hashCode() |
void |
setAttributeName(String attributeName)
The name of the attribute.
|
void |
setAttributeValue(String attributeValue)
The value of the attribute.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PolicyAttribute |
withAttributeName(String attributeName)
The name of the attribute.
|
PolicyAttribute |
withAttributeValue(String attributeValue)
The value of the attribute.
|
public PolicyAttribute()
public PolicyAttribute(String attributeName, String attributeValue)
attributeName
- The name of the attribute.attributeValue
- The value of the attribute.public void setAttributeName(String attributeName)
The name of the attribute.
attributeName
- The name of the attribute.public String getAttributeName()
The name of the attribute.
public PolicyAttribute withAttributeName(String attributeName)
The name of the attribute.
attributeName
- The name of the attribute.public void setAttributeValue(String attributeValue)
The value of the attribute.
attributeValue
- The value of the attribute.public String getAttributeValue()
The value of the attribute.
public PolicyAttribute withAttributeValue(String attributeValue)
The value of the attribute.
attributeValue
- The value of the attribute.public String toString()
toString
in class Object
Object.toString()
public PolicyAttribute clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.