Class AddVotingConfigExclusionsResponse
java.lang.Object
org.opensearch.transport.TransportMessage
org.opensearch.transport.TransportResponse
org.opensearch.action.ActionResponse
org.opensearch.action.admin.cluster.configuration.AddVotingConfigExclusionsResponse
- All Implemented Interfaces:
Writeable
,org.opensearch.common.xcontent.ToXContent
,org.opensearch.common.xcontent.ToXContentObject
public class AddVotingConfigExclusionsResponse extends ActionResponse implements org.opensearch.common.xcontent.ToXContentObject
A response to
AddVotingConfigExclusionsRequest
indicating that voting config exclusions have been added for the requested nodes
and these nodes have been removed from the voting configuration.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.transport.TransportResponse
TransportResponse.Empty
Nested classes/interfaces inherited from interface org.opensearch.common.xcontent.ToXContent
org.opensearch.common.xcontent.ToXContent.DelegatingMapParams, org.opensearch.common.xcontent.ToXContent.MapParams, org.opensearch.common.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.opensearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AddVotingConfigExclusionsResponse()
AddVotingConfigExclusionsResponse(StreamInput in)
-
Method Summary
Modifier and Type Method Description org.opensearch.common.xcontent.XContentBuilder
toXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params)
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
AddVotingConfigExclusionsResponse
public AddVotingConfigExclusionsResponse() -
AddVotingConfigExclusionsResponse
- Throws:
java.io.IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
toXContent
public org.opensearch.common.xcontent.XContentBuilder toXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.opensearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-