@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputSecurityGroup extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
InputSecurityGroup() |
| Modifier and Type | Method and Description |
|---|---|
InputSecurityGroup |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Unique ARN of Input Security Group
|
String |
getId()
The Id of the Input Security Group
|
List<InputWhitelistRule> |
getWhitelistRules()
Whitelist rules and their sync status
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
Unique ARN of Input Security Group
|
void |
setId(String id)
The Id of the Input Security Group
|
void |
setWhitelistRules(Collection<InputWhitelistRule> whitelistRules)
Whitelist rules and their sync status
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InputSecurityGroup |
withArn(String arn)
Unique ARN of Input Security Group
|
InputSecurityGroup |
withId(String id)
The Id of the Input Security Group
|
InputSecurityGroup |
withWhitelistRules(Collection<InputWhitelistRule> whitelistRules)
Whitelist rules and their sync status
|
InputSecurityGroup |
withWhitelistRules(InputWhitelistRule... whitelistRules)
Whitelist rules and their sync status
|
public void setArn(String arn)
arn - Unique ARN of Input Security Grouppublic String getArn()
public InputSecurityGroup withArn(String arn)
arn - Unique ARN of Input Security Grouppublic void setId(String id)
id - The Id of the Input Security Grouppublic String getId()
public InputSecurityGroup withId(String id)
id - The Id of the Input Security Grouppublic List<InputWhitelistRule> getWhitelistRules()
public void setWhitelistRules(Collection<InputWhitelistRule> whitelistRules)
whitelistRules - Whitelist rules and their sync statuspublic InputSecurityGroup withWhitelistRules(InputWhitelistRule... whitelistRules)
NOTE: This method appends the values to the existing list (if any). Use
setWhitelistRules(java.util.Collection) or withWhitelistRules(java.util.Collection) if you want
to override the existing values.
whitelistRules - Whitelist rules and their sync statuspublic InputSecurityGroup withWhitelistRules(Collection<InputWhitelistRule> whitelistRules)
whitelistRules - Whitelist rules and their sync statuspublic String toString()
toString in class ObjectObject.toString()public InputSecurityGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.