@Generated(value="software.amazon.awssdk:codegen") public final class PortForwardingConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PortForwardingConfig.Builder,PortForwardingConfig>
Configuration information for port forwarding.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PortForwardingConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PortForwardingConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPortMappings()
Returns true if the PortMappings property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<PortMapping> |
portMappings()
The port mappings for the configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PortForwardingConfig.Builder> |
serializableBuilderClass() |
PortForwardingConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasPortMappings()
public List<PortMapping> portMappings()
The port mappings for the configuration.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPortMappings() to see if a value was sent in this field.
public PortForwardingConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PortForwardingConfig.Builder,PortForwardingConfig>public static PortForwardingConfig.Builder builder()
public static Class<? extends PortForwardingConfig.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.