@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateServiceNetworkVpcAssociationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateServiceNetworkVpcAssociationResult() |
Modifier and Type | Method and Description |
---|---|
UpdateServiceNetworkVpcAssociationResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the association.
|
String |
getCreatedBy()
The account that created the association.
|
String |
getId()
The ID of the association.
|
List<String> |
getSecurityGroupIds()
The IDs of the security groups.
|
String |
getStatus()
The status.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the association.
|
void |
setCreatedBy(String createdBy)
The account that created the association.
|
void |
setId(String id)
The ID of the association.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups.
|
void |
setStatus(String status)
The status.
|
String |
toString()
Returns a string representation of this object.
|
UpdateServiceNetworkVpcAssociationResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the association.
|
UpdateServiceNetworkVpcAssociationResult |
withCreatedBy(String createdBy)
The account that created the association.
|
UpdateServiceNetworkVpcAssociationResult |
withId(String id)
The ID of the association.
|
UpdateServiceNetworkVpcAssociationResult |
withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups.
|
UpdateServiceNetworkVpcAssociationResult |
withSecurityGroupIds(String... securityGroupIds)
The IDs of the security groups.
|
UpdateServiceNetworkVpcAssociationResult |
withStatus(ServiceNetworkVpcAssociationStatus status)
The status.
|
UpdateServiceNetworkVpcAssociationResult |
withStatus(String status)
The status.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public UpdateServiceNetworkVpcAssociationResult()
public void setArn(String arn)
The Amazon Resource Name (ARN) of the association.
arn
- The Amazon Resource Name (ARN) of the association.public String getArn()
The Amazon Resource Name (ARN) of the association.
public UpdateServiceNetworkVpcAssociationResult withArn(String arn)
The Amazon Resource Name (ARN) of the association.
arn
- The Amazon Resource Name (ARN) of the association.public void setCreatedBy(String createdBy)
The account that created the association.
createdBy
- The account that created the association.public String getCreatedBy()
The account that created the association.
public UpdateServiceNetworkVpcAssociationResult withCreatedBy(String createdBy)
The account that created the association.
createdBy
- The account that created the association.public void setId(String id)
The ID of the association.
id
- The ID of the association.public String getId()
The ID of the association.
public UpdateServiceNetworkVpcAssociationResult withId(String id)
The ID of the association.
id
- The ID of the association.public List<String> getSecurityGroupIds()
The IDs of the security groups.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups.
securityGroupIds
- The IDs of the security groups.public UpdateServiceNetworkVpcAssociationResult withSecurityGroupIds(String... securityGroupIds)
The IDs of the security groups.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The IDs of the security groups.public UpdateServiceNetworkVpcAssociationResult withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups.
securityGroupIds
- The IDs of the security groups.public void setStatus(String status)
The status. You can retry the operation if the status is DELETE_FAILED
. However, if you retry it
while the status is DELETE_IN_PROGRESS
, there is no change in the status.
status
- The status. You can retry the operation if the status is DELETE_FAILED
. However, if you retry
it while the status is DELETE_IN_PROGRESS
, there is no change in the status.ServiceNetworkVpcAssociationStatus
public String getStatus()
The status. You can retry the operation if the status is DELETE_FAILED
. However, if you retry it
while the status is DELETE_IN_PROGRESS
, there is no change in the status.
DELETE_FAILED
. However, if you
retry it while the status is DELETE_IN_PROGRESS
, there is no change in the status.ServiceNetworkVpcAssociationStatus
public UpdateServiceNetworkVpcAssociationResult withStatus(String status)
The status. You can retry the operation if the status is DELETE_FAILED
. However, if you retry it
while the status is DELETE_IN_PROGRESS
, there is no change in the status.
status
- The status. You can retry the operation if the status is DELETE_FAILED
. However, if you retry
it while the status is DELETE_IN_PROGRESS
, there is no change in the status.ServiceNetworkVpcAssociationStatus
public UpdateServiceNetworkVpcAssociationResult withStatus(ServiceNetworkVpcAssociationStatus status)
The status. You can retry the operation if the status is DELETE_FAILED
. However, if you retry it
while the status is DELETE_IN_PROGRESS
, there is no change in the status.
status
- The status. You can retry the operation if the status is DELETE_FAILED
. However, if you retry
it while the status is DELETE_IN_PROGRESS
, there is no change in the status.ServiceNetworkVpcAssociationStatus
public String toString()
toString
in class Object
Object.toString()
public UpdateServiceNetworkVpcAssociationResult clone()