@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateServiceNetworkVpcAssociationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateServiceNetworkVpcAssociationResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateServiceNetworkVpcAssociationResult |
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 operation's 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 operation's status.
|
String |
toString()
Returns a string representation of this object.
|
CreateServiceNetworkVpcAssociationResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the association.
|
CreateServiceNetworkVpcAssociationResult |
withCreatedBy(String createdBy)
The account that created the association.
|
CreateServiceNetworkVpcAssociationResult |
withId(String id)
The ID of the association.
|
CreateServiceNetworkVpcAssociationResult |
withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups.
|
CreateServiceNetworkVpcAssociationResult |
withSecurityGroupIds(String... securityGroupIds)
The IDs of the security groups.
|
CreateServiceNetworkVpcAssociationResult |
withStatus(ServiceNetworkVpcAssociationStatus status)
The operation's status.
|
CreateServiceNetworkVpcAssociationResult |
withStatus(String status)
The operation's status.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic CreateServiceNetworkVpcAssociationResult()
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 CreateServiceNetworkVpcAssociationResult 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 CreateServiceNetworkVpcAssociationResult 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 CreateServiceNetworkVpcAssociationResult 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 CreateServiceNetworkVpcAssociationResult 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 CreateServiceNetworkVpcAssociationResult withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups.
securityGroupIds - The IDs of the security groups.public void setStatus(String status)
The operation's status.
status - The operation's status.ServiceNetworkVpcAssociationStatuspublic String getStatus()
The operation's status.
ServiceNetworkVpcAssociationStatuspublic CreateServiceNetworkVpcAssociationResult withStatus(String status)
The operation's status.
status - The operation's status.ServiceNetworkVpcAssociationStatuspublic CreateServiceNetworkVpcAssociationResult withStatus(ServiceNetworkVpcAssociationStatus status)
The operation's status.
status - The operation's status.ServiceNetworkVpcAssociationStatuspublic String toString()
toString in class ObjectObject.toString()public CreateServiceNetworkVpcAssociationResult clone()
Copyright © 2023. All rights reserved.