@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubjectStructure extends Object implements Serializable, Cloneable, StructuredPojo
A subject structure.
Constructor and Description |
---|
SubjectStructure() |
Modifier and Type | Method and Description |
---|---|
SubjectStructure |
clone() |
boolean |
equals(Object obj) |
Long |
getCount()
Number of occurrences of this specific structure.
|
List<String> |
getPredicates()
A list of predicates present in this specific structure.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Long count)
Number of occurrences of this specific structure.
|
void |
setPredicates(Collection<String> predicates)
A list of predicates present in this specific structure.
|
String |
toString()
Returns a string representation of this object.
|
SubjectStructure |
withCount(Long count)
Number of occurrences of this specific structure.
|
SubjectStructure |
withPredicates(Collection<String> predicates)
A list of predicates present in this specific structure.
|
SubjectStructure |
withPredicates(String... predicates)
A list of predicates present in this specific structure.
|
public void setCount(Long count)
Number of occurrences of this specific structure.
count
- Number of occurrences of this specific structure.public Long getCount()
Number of occurrences of this specific structure.
public SubjectStructure withCount(Long count)
Number of occurrences of this specific structure.
count
- Number of occurrences of this specific structure.public List<String> getPredicates()
A list of predicates present in this specific structure.
public void setPredicates(Collection<String> predicates)
A list of predicates present in this specific structure.
predicates
- A list of predicates present in this specific structure.public SubjectStructure withPredicates(String... predicates)
A list of predicates present in this specific structure.
NOTE: This method appends the values to the existing list (if any). Use
setPredicates(java.util.Collection)
or withPredicates(java.util.Collection)
if you want to
override the existing values.
predicates
- A list of predicates present in this specific structure.public SubjectStructure withPredicates(Collection<String> predicates)
A list of predicates present in this specific structure.
predicates
- A list of predicates present in this specific structure.public String toString()
toString
in class Object
Object.toString()
public SubjectStructure clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.