@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Attachment extends Object implements Serializable, Cloneable, StructuredPojo
The configuration and status for a single subnet that you've specified for use by the Network Firewall firewall. This is part of the FirewallStatus.
Constructor and Description |
---|
Attachment() |
Modifier and Type | Method and Description |
---|---|
Attachment |
clone() |
boolean |
equals(Object obj) |
String |
getEndpointId()
The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet.
|
String |
getStatus()
The current status of the firewall endpoint in the subnet.
|
String |
getStatusMessage()
If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the
reason for the error or failure and how to resolve it.
|
String |
getSubnetId()
The unique identifier of the subnet that you've specified to be used for a firewall endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndpointId(String endpointId)
The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet.
|
void |
setStatus(String status)
The current status of the firewall endpoint in the subnet.
|
void |
setStatusMessage(String statusMessage)
If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the
reason for the error or failure and how to resolve it.
|
void |
setSubnetId(String subnetId)
The unique identifier of the subnet that you've specified to be used for a firewall endpoint.
|
String |
toString()
Returns a string representation of this object.
|
Attachment |
withEndpointId(String endpointId)
The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet.
|
Attachment |
withStatus(AttachmentStatus status)
The current status of the firewall endpoint in the subnet.
|
Attachment |
withStatus(String status)
The current status of the firewall endpoint in the subnet.
|
Attachment |
withStatusMessage(String statusMessage)
If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the
reason for the error or failure and how to resolve it.
|
Attachment |
withSubnetId(String subnetId)
The unique identifier of the subnet that you've specified to be used for a firewall endpoint.
|
public void setSubnetId(String subnetId)
The unique identifier of the subnet that you've specified to be used for a firewall endpoint.
subnetId
- The unique identifier of the subnet that you've specified to be used for a firewall endpoint.public String getSubnetId()
The unique identifier of the subnet that you've specified to be used for a firewall endpoint.
public Attachment withSubnetId(String subnetId)
The unique identifier of the subnet that you've specified to be used for a firewall endpoint.
subnetId
- The unique identifier of the subnet that you've specified to be used for a firewall endpoint.public void setEndpointId(String endpointId)
The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet. You use this to identify the firewall endpoint in the VPC route tables, when you redirect the VPC traffic through the endpoint.
endpointId
- The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet. You use this
to identify the firewall endpoint in the VPC route tables, when you redirect the VPC traffic through the
endpoint.public String getEndpointId()
The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet. You use this to identify the firewall endpoint in the VPC route tables, when you redirect the VPC traffic through the endpoint.
public Attachment withEndpointId(String endpointId)
The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet. You use this to identify the firewall endpoint in the VPC route tables, when you redirect the VPC traffic through the endpoint.
endpointId
- The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet. You use this
to identify the firewall endpoint in the VPC route tables, when you redirect the VPC traffic through the
endpoint.public void setStatus(String status)
The current status of the firewall endpoint in the subnet. This value reflects both the instantiation of the
endpoint in the VPC subnet and the sync states that are reported in the Config
settings. When this
value is READY
, the endpoint is available and configured properly to handle network traffic. When
the endpoint isn't available for traffic, this value will reflect its state, for example CREATING
or
DELETING
.
status
- The current status of the firewall endpoint in the subnet. This value reflects both the instantiation of
the endpoint in the VPC subnet and the sync states that are reported in the Config
settings.
When this value is READY
, the endpoint is available and configured properly to handle network
traffic. When the endpoint isn't available for traffic, this value will reflect its state, for example
CREATING
or DELETING
.AttachmentStatus
public String getStatus()
The current status of the firewall endpoint in the subnet. This value reflects both the instantiation of the
endpoint in the VPC subnet and the sync states that are reported in the Config
settings. When this
value is READY
, the endpoint is available and configured properly to handle network traffic. When
the endpoint isn't available for traffic, this value will reflect its state, for example CREATING
or
DELETING
.
Config
settings.
When this value is READY
, the endpoint is available and configured properly to handle
network traffic. When the endpoint isn't available for traffic, this value will reflect its state, for
example CREATING
or DELETING
.AttachmentStatus
public Attachment withStatus(String status)
The current status of the firewall endpoint in the subnet. This value reflects both the instantiation of the
endpoint in the VPC subnet and the sync states that are reported in the Config
settings. When this
value is READY
, the endpoint is available and configured properly to handle network traffic. When
the endpoint isn't available for traffic, this value will reflect its state, for example CREATING
or
DELETING
.
status
- The current status of the firewall endpoint in the subnet. This value reflects both the instantiation of
the endpoint in the VPC subnet and the sync states that are reported in the Config
settings.
When this value is READY
, the endpoint is available and configured properly to handle network
traffic. When the endpoint isn't available for traffic, this value will reflect its state, for example
CREATING
or DELETING
.AttachmentStatus
public Attachment withStatus(AttachmentStatus status)
The current status of the firewall endpoint in the subnet. This value reflects both the instantiation of the
endpoint in the VPC subnet and the sync states that are reported in the Config
settings. When this
value is READY
, the endpoint is available and configured properly to handle network traffic. When
the endpoint isn't available for traffic, this value will reflect its state, for example CREATING
or
DELETING
.
status
- The current status of the firewall endpoint in the subnet. This value reflects both the instantiation of
the endpoint in the VPC subnet and the sync states that are reported in the Config
settings.
When this value is READY
, the endpoint is available and configured properly to handle network
traffic. When the endpoint isn't available for traffic, this value will reflect its state, for example
CREATING
or DELETING
.AttachmentStatus
public void setStatusMessage(String statusMessage)
If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the
reason for the error or failure and how to resolve it. A FAILED
status indicates a non-recoverable
state, and a ERROR
status indicates an issue that you can fix. Depending on the error, it can take
as many as 15 minutes to populate this field. For more information about the causes for failiure or errors and
solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.
statusMessage
- If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with
the reason for the error or failure and how to resolve it. A FAILED
status indicates a
non-recoverable state, and a ERROR
status indicates an issue that you can fix. Depending on
the error, it can take as many as 15 minutes to populate this field. For more information about the causes
for failiure or errors and solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.public String getStatusMessage()
If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the
reason for the error or failure and how to resolve it. A FAILED
status indicates a non-recoverable
state, and a ERROR
status indicates an issue that you can fix. Depending on the error, it can take
as many as 15 minutes to populate this field. For more information about the causes for failiure or errors and
solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.
FAILED
status indicates a
non-recoverable state, and a ERROR
status indicates an issue that you can fix. Depending on
the error, it can take as many as 15 minutes to populate this field. For more information about the
causes for failiure or errors and solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.public Attachment withStatusMessage(String statusMessage)
If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the
reason for the error or failure and how to resolve it. A FAILED
status indicates a non-recoverable
state, and a ERROR
status indicates an issue that you can fix. Depending on the error, it can take
as many as 15 minutes to populate this field. For more information about the causes for failiure or errors and
solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.
statusMessage
- If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with
the reason for the error or failure and how to resolve it. A FAILED
status indicates a
non-recoverable state, and a ERROR
status indicates an issue that you can fix. Depending on
the error, it can take as many as 15 minutes to populate this field. For more information about the causes
for failiure or errors and solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.public String toString()
toString
in class Object
Object.toString()
public Attachment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.