@Generated(value="software.amazon.awssdk:codegen") public final class VirtualInterfaceTestHistory extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VirtualInterfaceTestHistory.Builder,VirtualInterfaceTestHistory>
Information about the virtual interface failover test.
Modifier and Type | Class and Description |
---|---|
static interface |
VirtualInterfaceTestHistory.Builder |
Modifier and Type | Method and Description |
---|---|
List<String> |
bgpPeers()
The BGP peers that were put in the DOWN state as part of the virtual interface failover test.
|
static VirtualInterfaceTestHistory.Builder |
builder() |
Instant |
endTime()
The time that the virtual interface moves out of the DOWN state.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBgpPeers()
Returns true if the BgpPeers property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
ownerAccount()
The owner ID of the tested virtual interface.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VirtualInterfaceTestHistory.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The time that the virtual interface moves to the DOWN state.
|
String |
status()
The status of the virtual interface failover test.
|
Integer |
testDurationInMinutes()
The time that the virtual interface failover test ran in minutes.
|
String |
testId()
The ID of the virtual interface failover test.
|
VirtualInterfaceTestHistory.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
String |
virtualInterfaceId()
The ID of the tested virtual interface.
|
copy
public final String testId()
The ID of the virtual interface failover test.
public final String virtualInterfaceId()
The ID of the tested virtual interface.
public final boolean hasBgpPeers()
public final List<String> bgpPeers()
The BGP peers that were put in the DOWN state as part of the virtual interface failover test.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBgpPeers()
to see if a value was sent in this field.
public final String status()
The status of the virtual interface failover test.
public final String ownerAccount()
The owner ID of the tested virtual interface.
public final Integer testDurationInMinutes()
The time that the virtual interface failover test ran in minutes.
public final Instant startTime()
The time that the virtual interface moves to the DOWN state.
public final Instant endTime()
The time that the virtual interface moves out of the DOWN state.
public VirtualInterfaceTestHistory.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VirtualInterfaceTestHistory.Builder,VirtualInterfaceTestHistory>
public static VirtualInterfaceTestHistory.Builder builder()
public static Class<? extends VirtualInterfaceTestHistory.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()