Class GetPolicyResponse

java.lang.Object
org.elasticsearch.client.enrich.GetPolicyResponse

public final class GetPolicyResponse
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    GetPolicyResponse​(java.util.List<NamedPolicy> policies)  
  • Method Summary

    Modifier and Type Method Description
    static GetPolicyResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)  
    java.util.List<NamedPolicy> getPolicies()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GetPolicyResponse

      public GetPolicyResponse​(java.util.List<NamedPolicy> policies)
  • Method Details

    • fromXContent

      public static GetPolicyResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException
    • getPolicies

      public java.util.List<NamedPolicy> getPolicies()