Class SimulationAppPortMapping
- java.lang.Object
-
- software.amazon.awssdk.services.simspaceweaver.model.SimulationAppPortMapping
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SimulationAppPortMapping.Builder,SimulationAppPortMapping>
@Generated("software.amazon.awssdk:codegen") public final class SimulationAppPortMapping extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SimulationAppPortMapping.Builder,SimulationAppPortMapping>
A collection of TCP/UDP ports for a custom or service app.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSimulationAppPortMapping.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integeractual()The TCP/UDP port number of the running app.static SimulationAppPortMapping.Builderbuilder()Integerdeclared()The TCP/UDP port number of the app, declared in the simulation schema.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SimulationAppPortMapping.Builder>serializableBuilderClass()SimulationAppPortMapping.BuildertoBuilder()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
-
actual
public final Integer actual()
The TCP/UDP port number of the running app. SimSpace Weaver dynamically assigns this port number when the app starts. SimSpace Weaver maps the
Declaredport to theActualport. Clients connect to the app using the app's IP address and theActualport number.- Returns:
- The TCP/UDP port number of the running app. SimSpace Weaver dynamically assigns this port number when the
app starts. SimSpace Weaver maps the
Declaredport to theActualport. Clients connect to the app using the app's IP address and theActualport number.
-
declared
public final Integer declared()
The TCP/UDP port number of the app, declared in the simulation schema. SimSpace Weaver maps the
Declaredport to theActualport. The source code for the app should bind to theDeclaredport.- Returns:
- The TCP/UDP port number of the app, declared in the simulation schema. SimSpace Weaver maps the
Declaredport to theActualport. The source code for the app should bind to theDeclaredport.
-
toBuilder
public SimulationAppPortMapping.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SimulationAppPortMapping.Builder,SimulationAppPortMapping>
-
builder
public static SimulationAppPortMapping.Builder builder()
-
serializableBuilderClass
public static Class<? extends SimulationAppPortMapping.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-