StructuredPojo
, ToCopyableBuilder<IpPermission.Builder,IpPermission>
@Generated("software.amazon.awssdk:codegen") public class IpPermission extends Object implements StructuredPojo, ToCopyableBuilder<IpPermission.Builder,IpPermission>
A range of IP addresses and port settings that allow inbound traffic to connect to server processes on Amazon GameLift. Each game session hosted on a fleet is assigned a unique combination of IP address and port number, which must fall into the fleet's allowed ranges. This combination is included in the GameSession object.
Modifier and Type | Class | Description |
---|---|---|
static interface |
IpPermission.Builder |
Modifier and Type | Method | Description |
---|---|---|
static IpPermission.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
Integer |
fromPort() |
Starting value for a range of allowed port numbers.
|
int |
hashCode() |
|
String |
ipRange() |
Range of allowed IP addresses.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
protocol() |
Network communication protocol used by the fleet.
|
static Class<? extends IpPermission.Builder> |
serializableBuilderClass() |
|
IpPermission.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
Integer |
toPort() |
Ending value for a range of allowed port numbers.
|
String |
toString() |
public Integer fromPort()
Starting value for a range of allowed port numbers.
public Integer toPort()
Ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than
FromPort
.
FromPort
.public String ipRange()
Range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "
000.000.000.000/[subnet mask]
" or optionally the shortened version "
0.0.0.0/[subnet mask]
".
000.000.000.000/[subnet mask]
" or optionally the shortened version "
0.0.0.0/[subnet mask]
".public String protocol()
Network communication protocol used by the fleet.
IpProtocol
public IpPermission.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<IpPermission.Builder,IpPermission>
public static IpPermission.Builder builder()
public static Class<? extends IpPermission.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.