@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
InputSecurityGroup |
clearTagsEntries()
Removes all the entries added into Tags.
|
InputSecurityGroup |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Unique ARN of Input Security Group
|
String |
getId()
The Id of the Input Security Group
|
List<String> |
getInputs()
The list of inputs currently using this Input Security Group.
|
String |
getState()
The current state of the Input Security Group.
|
Map<String,String> |
getTags()
A collection of key-value pairs.
|
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 |
setInputs(Collection<String> inputs)
The list of inputs currently using this Input Security Group.
|
void |
setState(String state)
The current state of the Input Security Group.
|
void |
setTags(Map<String,String> tags)
A collection of key-value pairs.
|
void |
setWhitelistRules(Collection<InputWhitelistRule> whitelistRules)
Whitelist rules and their sync status
|
String |
toString()
Returns a string representation of this object.
|
InputSecurityGroup |
withArn(String arn)
Unique ARN of Input Security Group
|
InputSecurityGroup |
withId(String id)
The Id of the Input Security Group
|
InputSecurityGroup |
withInputs(Collection<String> inputs)
The list of inputs currently using this Input Security Group.
|
InputSecurityGroup |
withInputs(String... inputs)
The list of inputs currently using this Input Security Group.
|
InputSecurityGroup |
withState(InputSecurityGroupState state)
The current state of the Input Security Group.
|
InputSecurityGroup |
withState(String state)
The current state of the Input Security Group.
|
InputSecurityGroup |
withTags(Map<String,String> tags)
A collection of key-value pairs.
|
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<String> getInputs()
public void setInputs(Collection<String> inputs)
inputs
- The list of inputs currently using this Input Security Group.public InputSecurityGroup withInputs(String... inputs)
NOTE: This method appends the values to the existing list (if any). Use
setInputs(java.util.Collection)
or withInputs(java.util.Collection)
if you want to override the
existing values.
inputs
- The list of inputs currently using this Input Security Group.public InputSecurityGroup withInputs(Collection<String> inputs)
inputs
- The list of inputs currently using this Input Security Group.public void setState(String state)
state
- The current state of the Input Security Group.InputSecurityGroupState
public String getState()
InputSecurityGroupState
public InputSecurityGroup withState(String state)
state
- The current state of the Input Security Group.InputSecurityGroupState
public InputSecurityGroup withState(InputSecurityGroupState state)
state
- The current state of the Input Security Group.InputSecurityGroupState
public Map<String,String> getTags()
public void setTags(Map<String,String> tags)
tags
- A collection of key-value pairs.public InputSecurityGroup withTags(Map<String,String> tags)
tags
- A collection of key-value pairs.public InputSecurityGroup addTagsEntry(String key, String value)
public InputSecurityGroup clearTagsEntries()
public 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 Object
Object.toString()
public InputSecurityGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.