Class GetNetworkResourcesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.networkmanager.model.NetworkManagerRequest
-
- software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetNetworkResourcesRequest.Builder,GetNetworkResourcesRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetNetworkResourcesRequest extends NetworkManagerRequest implements ToCopyableBuilder<GetNetworkResourcesRequest.Builder,GetNetworkResourcesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetNetworkResourcesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The Amazon Web Services account ID.StringawsRegion()The Amazon Web Services Region.static GetNetworkResourcesRequest.Builderbuilder()StringcoreNetworkId()The ID of a core network.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringglobalNetworkId()The ID of the global network.inthashCode()IntegermaxResults()The maximum number of results to return.StringnextToken()The token for the next page of results.StringregisteredGatewayArn()The ARN of the gateway.StringresourceArn()The ARN of the resource.StringresourceType()The resource type.List<SdkField<?>>sdkFields()static Class<? extends GetNetworkResourcesRequest.Builder>serializableBuilderClass()GetNetworkResourcesRequest.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
-
globalNetworkId
public final String globalNetworkId()
The ID of the global network.
- Returns:
- The ID of the global network.
-
coreNetworkId
public final String coreNetworkId()
The ID of a core network.
- Returns:
- The ID of a core network.
-
registeredGatewayArn
public final String registeredGatewayArn()
The ARN of the gateway.
- Returns:
- The ARN of the gateway.
-
awsRegion
public final String awsRegion()
The Amazon Web Services Region.
- Returns:
- The Amazon Web Services Region.
-
accountId
public final String accountId()
The Amazon Web Services account ID.
- Returns:
- The Amazon Web Services account ID.
-
resourceType
public final String resourceType()
The resource type.
The following are the supported resource types for Direct Connect:
-
dxcon- The definition model is Connection. -
dx-gateway- The definition model is DirectConnectGateway. -
dx-vif- The definition model is VirtualInterface.
The following are the supported resource types for Network Manager:
-
connection- The definition model is Connection. -
device- The definition model is Device. -
link- The definition model is Link. -
site- The definition model is Site.
The following are the supported resource types for Amazon VPC:
-
customer-gateway- The definition model is CustomerGateway. -
transit-gateway- The definition model is TransitGateway. -
transit-gateway-attachment- The definition model is TransitGatewayAttachment. -
transit-gateway-connect-peer- The definition model is TransitGatewayConnectPeer. -
transit-gateway-route-table- The definition model is TransitGatewayRouteTable. -
vpn-connection- The definition model is VpnConnection.
- Returns:
- The resource type.
The following are the supported resource types for Direct Connect:
-
dxcon- The definition model is Connection. -
dx-gateway- The definition model is DirectConnectGateway. -
dx-vif- The definition model is VirtualInterface.
The following are the supported resource types for Network Manager:
-
connection- The definition model is Connection. -
device- The definition model is Device. -
link- The definition model is Link. -
site- The definition model is Site.
The following are the supported resource types for Amazon VPC:
-
customer-gateway- The definition model is CustomerGateway. -
transit-gateway- The definition model is TransitGateway. -
transit-gateway-attachment- The definition model is TransitGatewayAttachment. -
transit-gateway-connect-peer- The definition model is TransitGatewayConnectPeer. -
transit-gateway-route-table- The definition model is TransitGatewayRouteTable. -
vpn-connection- The definition model is VpnConnection.
-
-
-
resourceArn
public final String resourceArn()
The ARN of the resource.
- Returns:
- The ARN of the resource.
-
maxResults
public final Integer maxResults()
The maximum number of results to return.
- Returns:
- The maximum number of results to return.
-
nextToken
public final String nextToken()
The token for the next page of results.
- Returns:
- The token for the next page of results.
-
toBuilder
public GetNetworkResourcesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetNetworkResourcesRequest.Builder,GetNetworkResourcesRequest>- Specified by:
toBuilderin classNetworkManagerRequest
-
builder
public static GetNetworkResourcesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetNetworkResourcesRequest.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
-
-