@Generated(value="software.amazon.awssdk:codegen") public final class DescribeFleetPortSettingsResponse extends GameLiftResponse implements ToCopyableBuilder<DescribeFleetPortSettingsResponse.Builder,DescribeFleetPortSettingsResponse>
Represents the returned data in response to a request operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeFleetPortSettingsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeFleetPortSettingsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fleetArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it.
|
String |
fleetId()
A unique identifier for the fleet that was requested.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasInboundPermissions()
For responses, this returns true if the service returned a value for the InboundPermissions property.
|
List<IpPermission> |
inboundPermissions()
The port settings for the requested fleet ID.
|
String |
location()
The requested fleet location, expressed as an Amazon Web Services Region code, such as
us-west-2. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeFleetPortSettingsResponse.Builder> |
serializableBuilderClass() |
DescribeFleetPortSettingsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
LocationUpdateStatus |
updateStatus()
The current status of updates to the fleet's port settings in the requested fleet location.
|
String |
updateStatusAsString()
The current status of updates to the fleet's port settings in the requested fleet location.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String fleetId()
A unique identifier for the fleet that was requested.
public final String fleetArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.public final boolean hasInboundPermissions()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<IpPermission> inboundPermissions()
The port settings for the requested fleet ID.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInboundPermissions() method.
public final LocationUpdateStatus updateStatus()
The current status of updates to the fleet's port settings in the requested fleet location. A status of
PENDING_UPDATE indicates that an update was requested for the fleet but has not yet been completed
for the location.
If the service returns an enum value that is not available in the current SDK version, updateStatus will
return LocationUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from updateStatusAsString().
PENDING_UPDATE indicates that an update was requested for the fleet but has not yet been
completed for the location.LocationUpdateStatuspublic final String updateStatusAsString()
The current status of updates to the fleet's port settings in the requested fleet location. A status of
PENDING_UPDATE indicates that an update was requested for the fleet but has not yet been completed
for the location.
If the service returns an enum value that is not available in the current SDK version, updateStatus will
return LocationUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from updateStatusAsString().
PENDING_UPDATE indicates that an update was requested for the fleet but has not yet been
completed for the location.LocationUpdateStatuspublic final String location()
The requested fleet location, expressed as an Amazon Web Services Region code, such as us-west-2.
us-west-2.public DescribeFleetPortSettingsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeFleetPortSettingsResponse.Builder,DescribeFleetPortSettingsResponse>toBuilder in class AwsResponsepublic static DescribeFleetPortSettingsResponse.Builder builder()
public static Class<? extends DescribeFleetPortSettingsResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.