Class PutAccountRequest

  • All Implemented Interfaces:
    org.elasticsearch.common.io.stream.Writeable, org.elasticsearch.tasks.TaskAwareRequest

    public class PutAccountRequest
    extends org.elasticsearch.action.ActionRequest
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest

        org.elasticsearch.transport.TransportRequest.Empty
      • Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

        org.elasticsearch.common.io.stream.Writeable.Reader<V extends Object>, org.elasticsearch.common.io.stream.Writeable.Writer<V extends Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      PutAccountRequest()  
      PutAccountRequest​(String accountType, String accountId, org.elasticsearch.common.bytes.BytesReference body, org.elasticsearch.common.xcontent.XContentType bodyContentType)  
      PutAccountRequest​(org.elasticsearch.common.io.stream.StreamInput in)  
    • Constructor Detail

      • PutAccountRequest

        public PutAccountRequest()
      • PutAccountRequest

        public PutAccountRequest​(String accountType,
                                 String accountId,
                                 org.elasticsearch.common.bytes.BytesReference body,
                                 org.elasticsearch.common.xcontent.XContentType bodyContentType)
      • PutAccountRequest

        public PutAccountRequest​(org.elasticsearch.common.io.stream.StreamInput in)
                          throws IOException
        Throws:
        IOException
    • Method Detail

      • writeTo

        public void writeTo​(org.elasticsearch.common.io.stream.StreamOutput out)
                     throws IOException
        Specified by:
        writeTo in interface org.elasticsearch.common.io.stream.Writeable
        Overrides:
        writeTo in class org.elasticsearch.action.ActionRequest
        Throws:
        IOException
      • validate

        public org.elasticsearch.action.ActionRequestValidationException validate()
        Specified by:
        validate in class org.elasticsearch.action.ActionRequest
      • getAccountType

        public String getAccountType()
      • setAccountType

        public void setAccountType​(String accountType)
      • getAccountId

        public String getAccountId()
      • setAccountId

        public void setAccountId​(String accountId)
      • getBody

        public org.elasticsearch.common.bytes.BytesReference getBody()
      • setBody

        public void setBody​(org.elasticsearch.common.bytes.BytesReference body)
      • getBodyContentType

        public org.elasticsearch.common.xcontent.XContentType getBodyContentType()
      • setBodyContentType

        public void setBodyContentType​(org.elasticsearch.common.xcontent.XContentType bodyContentType)