@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInputSecurityGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeInputSecurityGroupResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInputSecurityGroupResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
DescribeInputSecurityGroupResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
DescribeInputSecurityGroupResult |
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 |
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.
|
DescribeInputSecurityGroupResult |
withArn(String arn)
Unique ARN of Input Security Group
|
DescribeInputSecurityGroupResult |
withId(String id)
The Id of the Input Security Group
|
DescribeInputSecurityGroupResult |
withInputs(Collection<String> inputs)
The list of inputs currently using this Input Security Group.
|
DescribeInputSecurityGroupResult |
withInputs(String... inputs)
The list of inputs currently using this Input Security Group.
|
DescribeInputSecurityGroupResult |
withState(InputSecurityGroupState state)
The current state of the Input Security Group.
|
DescribeInputSecurityGroupResult |
withState(String state)
The current state of the Input Security Group.
|
DescribeInputSecurityGroupResult |
withTags(Map<String,String> tags)
A collection of key-value pairs.
|
DescribeInputSecurityGroupResult |
withWhitelistRules(Collection<InputWhitelistRule> whitelistRules)
Whitelist rules and their sync status
|
DescribeInputSecurityGroupResult |
withWhitelistRules(InputWhitelistRule... whitelistRules)
Whitelist rules and their sync status
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
arn
- Unique ARN of Input Security Grouppublic String getArn()
public DescribeInputSecurityGroupResult 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 DescribeInputSecurityGroupResult 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 DescribeInputSecurityGroupResult 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 DescribeInputSecurityGroupResult 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 DescribeInputSecurityGroupResult withState(String state)
state
- The current state of the Input Security Group.InputSecurityGroupState
public DescribeInputSecurityGroupResult 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 DescribeInputSecurityGroupResult withTags(Map<String,String> tags)
tags
- A collection of key-value pairs.public DescribeInputSecurityGroupResult addTagsEntry(String key, String value)
public DescribeInputSecurityGroupResult clearTagsEntries()
public List<InputWhitelistRule> getWhitelistRules()
public void setWhitelistRules(Collection<InputWhitelistRule> whitelistRules)
whitelistRules
- Whitelist rules and their sync statuspublic DescribeInputSecurityGroupResult 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 DescribeInputSecurityGroupResult withWhitelistRules(Collection<InputWhitelistRule> whitelistRules)
whitelistRules
- Whitelist rules and their sync statuspublic String toString()
toString
in class Object
Object.toString()
public DescribeInputSecurityGroupResult clone()