@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyFilter extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a filter to refine policies returned in a query.
This data type is used as a response parameter for the ListPolicies operation.
| Constructor and Description |
|---|
PolicyFilter() |
| Modifier and Type | Method and Description |
|---|---|
PolicyFilter |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyTemplateId()
Filters the output to only template-linked policies that were instantiated from the specified policy template.
|
String |
getPolicyType()
Filters the output to only policies of the specified type.
|
EntityReference |
getPrincipal()
Filters the output to only policies that reference the specified principal.
|
EntityReference |
getResource()
Filters the output to only policies that reference the specified resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setPolicyTemplateId(String policyTemplateId)
Filters the output to only template-linked policies that were instantiated from the specified policy template.
|
void |
setPolicyType(String policyType)
Filters the output to only policies of the specified type.
|
void |
setPrincipal(EntityReference principal)
Filters the output to only policies that reference the specified principal.
|
void |
setResource(EntityReference resource)
Filters the output to only policies that reference the specified resource.
|
String |
toString()
Returns a string representation of this object.
|
PolicyFilter |
withPolicyTemplateId(String policyTemplateId)
Filters the output to only template-linked policies that were instantiated from the specified policy template.
|
PolicyFilter |
withPolicyType(PolicyType policyType)
Filters the output to only policies of the specified type.
|
PolicyFilter |
withPolicyType(String policyType)
Filters the output to only policies of the specified type.
|
PolicyFilter |
withPrincipal(EntityReference principal)
Filters the output to only policies that reference the specified principal.
|
PolicyFilter |
withResource(EntityReference resource)
Filters the output to only policies that reference the specified resource.
|
public void setPrincipal(EntityReference principal)
Filters the output to only policies that reference the specified principal.
principal - Filters the output to only policies that reference the specified principal.public EntityReference getPrincipal()
Filters the output to only policies that reference the specified principal.
public PolicyFilter withPrincipal(EntityReference principal)
Filters the output to only policies that reference the specified principal.
principal - Filters the output to only policies that reference the specified principal.public void setResource(EntityReference resource)
Filters the output to only policies that reference the specified resource.
resource - Filters the output to only policies that reference the specified resource.public EntityReference getResource()
Filters the output to only policies that reference the specified resource.
public PolicyFilter withResource(EntityReference resource)
Filters the output to only policies that reference the specified resource.
resource - Filters the output to only policies that reference the specified resource.public void setPolicyType(String policyType)
Filters the output to only policies of the specified type.
policyType - Filters the output to only policies of the specified type.PolicyTypepublic String getPolicyType()
Filters the output to only policies of the specified type.
PolicyTypepublic PolicyFilter withPolicyType(String policyType)
Filters the output to only policies of the specified type.
policyType - Filters the output to only policies of the specified type.PolicyTypepublic PolicyFilter withPolicyType(PolicyType policyType)
Filters the output to only policies of the specified type.
policyType - Filters the output to only policies of the specified type.PolicyTypepublic void setPolicyTemplateId(String policyTemplateId)
Filters the output to only template-linked policies that were instantiated from the specified policy template.
policyTemplateId - Filters the output to only template-linked policies that were instantiated from the specified policy
template.public String getPolicyTemplateId()
Filters the output to only template-linked policies that were instantiated from the specified policy template.
public PolicyFilter withPolicyTemplateId(String policyTemplateId)
Filters the output to only template-linked policies that were instantiated from the specified policy template.
policyTemplateId - Filters the output to only template-linked policies that were instantiated from the specified policy
template.public String toString()
toString in class ObjectObject.toString()public PolicyFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.