StructuredPojo, ToCopyableBuilder<PortInfo.Builder,PortInfo>@Generated("software.amazon.awssdk:codegen") public class PortInfo extends Object implements StructuredPojo, ToCopyableBuilder<PortInfo.Builder,PortInfo>
Describes information about the ports on your virtual private server (or instance).
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
PortInfo.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static PortInfo.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
Integer |
fromPort() |
The first port in the range.
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
protocol() |
The protocol.
|
static Class<? extends PortInfo.Builder> |
serializableBuilderClass() |
|
PortInfo.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
Integer |
toPort() |
The last port in the range.
|
String |
toString() |
public Integer fromPort()
The first port in the range.
public Integer toPort()
The last port in the range.
public String protocol()
The protocol.
NetworkProtocolpublic PortInfo.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<PortInfo.Builder,PortInfo>public static PortInfo.Builder builder()
public static Class<? extends PortInfo.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.