@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidNetworkSettingsException extends AmazonFSxException
One or more network settings specified in the request are invalid. InvalidVpcId
means that the ID passed
for the virtual private cloud (VPC) is invalid. InvalidSubnetIds
returns the list of IDs for subnets
that are either invalid or not part of the VPC specified. InvalidSecurityGroupIds
returns the list of
IDs for security groups that are either invalid or not part of the VPC specified.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InvalidNetworkSettingsException(String message)
Constructs a new InvalidNetworkSettingsException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getInvalidSecurityGroupId() |
String |
getInvalidSubnetId() |
void |
setInvalidSecurityGroupId(String invalidSecurityGroupId) |
void |
setInvalidSubnetId(String invalidSubnetId) |
InvalidNetworkSettingsException |
withInvalidSecurityGroupId(String invalidSecurityGroupId) |
InvalidNetworkSettingsException |
withInvalidSubnetId(String invalidSubnetId) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidNetworkSettingsException(String message)
message
- Describes the error encountered.public void setInvalidSubnetId(String invalidSubnetId)
invalidSubnetId
- public String getInvalidSubnetId()
public InvalidNetworkSettingsException withInvalidSubnetId(String invalidSubnetId)
invalidSubnetId
- public void setInvalidSecurityGroupId(String invalidSecurityGroupId)
invalidSecurityGroupId
- public String getInvalidSecurityGroupId()
public InvalidNetworkSettingsException withInvalidSecurityGroupId(String invalidSecurityGroupId)
invalidSecurityGroupId
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.