@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNetworksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListNetworksRequest() |
Modifier and Type | Method and Description |
---|---|
ListNetworksRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFramework()
An optional framework specifier.
|
Integer |
getMaxResults()
The maximum number of networks to list.
|
String |
getName()
The name of the network.
|
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
String |
getStatus()
An optional status specifier.
|
int |
hashCode() |
void |
setFramework(String framework)
An optional framework specifier.
|
void |
setMaxResults(Integer maxResults)
The maximum number of networks to list.
|
void |
setName(String name)
The name of the network.
|
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.
|
ListNetworksRequest |
withFramework(Framework framework)
An optional framework specifier.
|
ListNetworksRequest |
withFramework(String framework)
An optional framework specifier.
|
ListNetworksRequest |
withMaxResults(Integer maxResults)
The maximum number of networks to list.
|
ListNetworksRequest |
withName(String name)
The name of the network.
|
ListNetworksRequest |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
ListNetworksRequest |
withStatus(NetworkStatus status)
An optional status specifier.
|
ListNetworksRequest |
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 setName(String name)
The name of the network.
name
- The name of the network.public String getName()
The name of the network.
public ListNetworksRequest withName(String name)
The name of the network.
name
- The name of the network.public void setFramework(String framework)
An optional framework specifier. If provided, only networks of this framework type are listed.
framework
- An optional framework specifier. If provided, only networks of this framework type are listed.Framework
public String getFramework()
An optional framework specifier. If provided, only networks of this framework type are listed.
Framework
public ListNetworksRequest withFramework(String framework)
An optional framework specifier. If provided, only networks of this framework type are listed.
framework
- An optional framework specifier. If provided, only networks of this framework type are listed.Framework
public ListNetworksRequest withFramework(Framework framework)
An optional framework specifier. If provided, only networks of this framework type are listed.
framework
- An optional framework specifier. If provided, only networks of this framework type are listed.Framework
public void setStatus(String status)
An optional status specifier. If provided, only networks currently in this status are listed.
Applies only to Hyperledger Fabric.
status
- An optional status specifier. If provided, only networks currently in this status are listed.
Applies only to Hyperledger Fabric.
NetworkStatus
public String getStatus()
An optional status specifier. If provided, only networks currently in this status are listed.
Applies only to Hyperledger Fabric.
Applies only to Hyperledger Fabric.
NetworkStatus
public ListNetworksRequest withStatus(String status)
An optional status specifier. If provided, only networks currently in this status are listed.
Applies only to Hyperledger Fabric.
status
- An optional status specifier. If provided, only networks currently in this status are listed.
Applies only to Hyperledger Fabric.
NetworkStatus
public ListNetworksRequest withStatus(NetworkStatus status)
An optional status specifier. If provided, only networks currently in this status are listed.
Applies only to Hyperledger Fabric.
status
- An optional status specifier. If provided, only networks currently in this status are listed.
Applies only to Hyperledger Fabric.
NetworkStatus
public void setMaxResults(Integer maxResults)
The maximum number of networks to list.
maxResults
- The maximum number of networks to list.public Integer getMaxResults()
The maximum number of networks to list.
public ListNetworksRequest withMaxResults(Integer maxResults)
The maximum number of networks to list.
maxResults
- The maximum number of networks 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 ListNetworksRequest 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 ListNetworksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()