Class ListNetworksRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.managedblockchain.model.ManagedBlockchainRequest
-
- software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListNetworksRequest.Builder,ListNetworksRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListNetworksRequest extends ManagedBlockchainRequest implements ToCopyableBuilder<ListNetworksRequest.Builder,ListNetworksRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListNetworksRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListNetworksRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Frameworkframework()An optional framework specifier.StringframeworkAsString()An optional framework specifier.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of networks to list.Stringname()The name of the network.StringnextToken()The pagination token that indicates the next set of results to retrieve.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListNetworksRequest.Builder>serializableBuilderClass()NetworkStatusstatus()An optional status specifier.StringstatusAsString()An optional status specifier.ListNetworksRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the network.
- Returns:
- The name of the network.
-
framework
public final Framework framework()
An optional framework specifier. If provided, only networks of this framework type are listed.
If the service returns an enum value that is not available in the current SDK version,
frameworkwill returnFramework.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromframeworkAsString().- Returns:
- An optional framework specifier. If provided, only networks of this framework type are listed.
- See Also:
Framework
-
frameworkAsString
public final String frameworkAsString()
An optional framework specifier. If provided, only networks of this framework type are listed.
If the service returns an enum value that is not available in the current SDK version,
frameworkwill returnFramework.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromframeworkAsString().- Returns:
- An optional framework specifier. If provided, only networks of this framework type are listed.
- See Also:
Framework
-
status
public final NetworkStatus status()
An optional status specifier. If provided, only networks currently in this status are listed.
Applies only to Hyperledger Fabric.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnNetworkStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- An optional status specifier. If provided, only networks currently in this status are listed.
Applies only to Hyperledger Fabric.
- See Also:
NetworkStatus
-
statusAsString
public final String statusAsString()
An optional status specifier. If provided, only networks currently in this status are listed.
Applies only to Hyperledger Fabric.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnNetworkStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- An optional status specifier. If provided, only networks currently in this status are listed.
Applies only to Hyperledger Fabric.
- See Also:
NetworkStatus
-
maxResults
public final Integer maxResults()
The maximum number of networks to list.
- Returns:
- The maximum number of networks to list.
-
nextToken
public final String nextToken()
The pagination token that indicates the next set of results to retrieve.
- Returns:
- The pagination token that indicates the next set of results to retrieve.
-
toBuilder
public ListNetworksRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListNetworksRequest.Builder,ListNetworksRequest>- Specified by:
toBuilderin classManagedBlockchainRequest
-
builder
public static ListNetworksRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListNetworksRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-