@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartBgpFailoverTestRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartBgpFailoverTestRequest() |
Modifier and Type | Method and Description |
---|---|
StartBgpFailoverTestRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getBgpPeers()
The BGP peers to place in the DOWN state.
|
Integer |
getTestDurationInMinutes()
The time in minutes that the virtual interface failover test will last.
|
String |
getVirtualInterfaceId()
The ID of the virtual interface you want to test.
|
int |
hashCode() |
void |
setBgpPeers(Collection<String> bgpPeers)
The BGP peers to place in the DOWN state.
|
void |
setTestDurationInMinutes(Integer testDurationInMinutes)
The time in minutes that the virtual interface failover test will last.
|
void |
setVirtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface you want to test.
|
String |
toString()
Returns a string representation of this object.
|
StartBgpFailoverTestRequest |
withBgpPeers(Collection<String> bgpPeers)
The BGP peers to place in the DOWN state.
|
StartBgpFailoverTestRequest |
withBgpPeers(String... bgpPeers)
The BGP peers to place in the DOWN state.
|
StartBgpFailoverTestRequest |
withTestDurationInMinutes(Integer testDurationInMinutes)
The time in minutes that the virtual interface failover test will last.
|
StartBgpFailoverTestRequest |
withVirtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface you want to test.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setVirtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface you want to test.
virtualInterfaceId
- The ID of the virtual interface you want to test.public String getVirtualInterfaceId()
The ID of the virtual interface you want to test.
public StartBgpFailoverTestRequest withVirtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface you want to test.
virtualInterfaceId
- The ID of the virtual interface you want to test.public List<String> getBgpPeers()
The BGP peers to place in the DOWN state.
public void setBgpPeers(Collection<String> bgpPeers)
The BGP peers to place in the DOWN state.
bgpPeers
- The BGP peers to place in the DOWN state.public StartBgpFailoverTestRequest withBgpPeers(String... bgpPeers)
The BGP peers to place in the DOWN state.
NOTE: This method appends the values to the existing list (if any). Use
setBgpPeers(java.util.Collection)
or withBgpPeers(java.util.Collection)
if you want to override
the existing values.
bgpPeers
- The BGP peers to place in the DOWN state.public StartBgpFailoverTestRequest withBgpPeers(Collection<String> bgpPeers)
The BGP peers to place in the DOWN state.
bgpPeers
- The BGP peers to place in the DOWN state.public void setTestDurationInMinutes(Integer testDurationInMinutes)
The time in minutes that the virtual interface failover test will last.
Maximum value: 180 minutes (3 hours).
Default: 180 minutes (3 hours).
testDurationInMinutes
- The time in minutes that the virtual interface failover test will last.
Maximum value: 180 minutes (3 hours).
Default: 180 minutes (3 hours).
public Integer getTestDurationInMinutes()
The time in minutes that the virtual interface failover test will last.
Maximum value: 180 minutes (3 hours).
Default: 180 minutes (3 hours).
Maximum value: 180 minutes (3 hours).
Default: 180 minutes (3 hours).
public StartBgpFailoverTestRequest withTestDurationInMinutes(Integer testDurationInMinutes)
The time in minutes that the virtual interface failover test will last.
Maximum value: 180 minutes (3 hours).
Default: 180 minutes (3 hours).
testDurationInMinutes
- The time in minutes that the virtual interface failover test will last.
Maximum value: 180 minutes (3 hours).
Default: 180 minutes (3 hours).
public String toString()
toString
in class Object
Object.toString()
public StartBgpFailoverTestRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()