@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNodesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListNodesRequest() |
Modifier and Type | Method and Description |
---|---|
ListNodesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of nodes to list.
|
String |
getMemberId()
The unique identifier of the member who owns the nodes to list.
|
String |
getNetworkId()
The unique identifier of the network for which to list nodes.
|
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
String |
getStatus()
An optional status specifier.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of nodes to list.
|
void |
setMemberId(String memberId)
The unique identifier of the member who owns the nodes to list.
|
void |
setNetworkId(String networkId)
The unique identifier of the network for which to list nodes.
|
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
void |
setStatus(String status)
An optional status specifier.
|
String |
toString()
Returns a string representation of this object.
|
ListNodesRequest |
withMaxResults(Integer maxResults)
The maximum number of nodes to list.
|
ListNodesRequest |
withMemberId(String memberId)
The unique identifier of the member who owns the nodes to list.
|
ListNodesRequest |
withNetworkId(String networkId)
The unique identifier of the network for which to list nodes.
|
ListNodesRequest |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
ListNodesRequest |
withStatus(NodeStatus status)
An optional status specifier.
|
ListNodesRequest |
withStatus(String status)
An optional status specifier.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNetworkId(String networkId)
The unique identifier of the network for which to list nodes.
networkId
- The unique identifier of the network for which to list nodes.public String getNetworkId()
The unique identifier of the network for which to list nodes.
public ListNodesRequest withNetworkId(String networkId)
The unique identifier of the network for which to list nodes.
networkId
- The unique identifier of the network for which to list nodes.public void setMemberId(String memberId)
The unique identifier of the member who owns the nodes to list.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
memberId
- The unique identifier of the member who owns the nodes to list.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
public String getMemberId()
The unique identifier of the member who owns the nodes to list.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
public ListNodesRequest withMemberId(String memberId)
The unique identifier of the member who owns the nodes to list.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
memberId
- The unique identifier of the member who owns the nodes to list.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
public void setStatus(String status)
An optional status specifier. If provided, only nodes currently in this status are listed.
status
- An optional status specifier. If provided, only nodes currently in this status are listed.NodeStatus
public String getStatus()
An optional status specifier. If provided, only nodes currently in this status are listed.
NodeStatus
public ListNodesRequest withStatus(String status)
An optional status specifier. If provided, only nodes currently in this status are listed.
status
- An optional status specifier. If provided, only nodes currently in this status are listed.NodeStatus
public ListNodesRequest withStatus(NodeStatus status)
An optional status specifier. If provided, only nodes currently in this status are listed.
status
- An optional status specifier. If provided, only nodes currently in this status are listed.NodeStatus
public void setMaxResults(Integer maxResults)
The maximum number of nodes to list.
maxResults
- The maximum number of nodes to list.public Integer getMaxResults()
The maximum number of nodes to list.
public ListNodesRequest withMaxResults(Integer maxResults)
The maximum number of nodes to list.
maxResults
- The maximum number of nodes to list.public void setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String getNextToken()
The pagination token that indicates the next set of results to retrieve.
public ListNodesRequest withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String toString()
toString
in class Object
Object.toString()
public ListNodesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()