Class ConnectionPortRange
- java.lang.Object
-
- software.amazon.awssdk.services.gamelift.model.ConnectionPortRange
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConnectionPortRange.Builder,ConnectionPortRange>
@Generated("software.amazon.awssdk:codegen") public final class ConnectionPortRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConnectionPortRange.Builder,ConnectionPortRange>
This operation has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.
The set of port numbers to open on each instance in a container fleet. Connection ports are used by inbound traffic to connect with processes that are running in containers on the fleet.
Part of: ContainerGroupsConfiguration, ContainerGroupsAttributes
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConnectionPortRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectionPortRange.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)IntegerfromPort()Starting value for the port range.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ConnectionPortRange.Builder>serializableBuilderClass()ConnectionPortRange.BuildertoBuilder()IntegertoPort()Ending value for the port.StringtoString()Returns a string representation of this object.-
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
-
fromPort
public final Integer fromPort()
Starting value for the port range.
- Returns:
- Starting value for the port range.
-
toPort
public final Integer toPort()
Ending value for the port. Port numbers are end-inclusive. This value must be equal to or greater than
FromPort.- Returns:
- Ending value for the port. Port numbers are end-inclusive. This value must be equal to or greater than
FromPort.
-
toBuilder
public ConnectionPortRange.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConnectionPortRange.Builder,ConnectionPortRange>
-
builder
public static ConnectionPortRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConnectionPortRange.Builder> serializableBuilderClass()
-
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.
-
-