public interface SecurityGroup
SecurityGroup
resource.
Each SecurityGroup
object is uniquely identified by these
identifier(s):
Modifier and Type | Method and Description |
---|---|
void |
authorizeEgress(AuthorizeSecurityGroupEgressRequest request)
Performs the
AuthorizeEgress action. |
void |
authorizeEgress(AuthorizeSecurityGroupEgressRequest request,
ResultCapture<Void> extractor)
Performs the
AuthorizeEgress action and use a ResultCapture
to retrieve the low-level client response. |
void |
authorizeIngress(AuthorizeSecurityGroupIngressRequest request)
Performs the
AuthorizeIngress action. |
void |
authorizeIngress(AuthorizeSecurityGroupIngressRequest request,
ResultCapture<Void> extractor)
Performs the
AuthorizeIngress action and use a ResultCapture
to retrieve the low-level client response. |
List<Tag> |
createTags(CreateTagsRequest request)
Performs the
CreateTags action. |
List<Tag> |
createTags(CreateTagsRequest request,
ResultCapture<Void> extractor)
Performs the
CreateTags action and use a ResultCapture to
retrieve the low-level client response. |
List<Tag> |
createTags(List<Tag> tags)
The convenient method form for the
CreateTags action. |
List<Tag> |
createTags(List<Tag> tags,
ResultCapture<Void> extractor)
The convenient method form for the
CreateTags action. |
void |
delete(DeleteSecurityGroupRequest request)
Performs the
Delete action. |
void |
delete(DeleteSecurityGroupRequest request,
ResultCapture<Void> extractor)
Performs the
Delete action and use a ResultCapture to
retrieve the low-level client response. |
String |
getDescription()
Gets the value of the Description attribute.
|
String |
getGroupName()
Gets the value of the GroupName attribute.
|
String |
getId()
Gets the value of the Id identifier.
|
List<IpPermission> |
getIpPermissions()
Gets the value of the IpPermissions attribute.
|
List<IpPermission> |
getIpPermissionsEgress()
Gets the value of the IpPermissionsEgress attribute.
|
String |
getOwnerId()
Gets the value of the OwnerId attribute.
|
List<Tag> |
getTags()
Gets the value of the Tags attribute.
|
String |
getVpcId()
Gets the value of the VpcId attribute.
|
boolean |
isLoaded()
Returns true if this resource's attributes have been loaded.
|
boolean |
load()
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(DescribeSecurityGroupsRequest request)
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(DescribeSecurityGroupsRequest request,
ResultCapture<DescribeSecurityGroupsResult> extractor)
Makes a call to the service to load this resource's attributes if they
are not loaded yet, and use a ResultCapture to retrieve the low-level
client response
The following request parameters will be populated from the data of this
SecurityGroup resource, and any conflicting parameter value
set in the request will be overridden:
GroupIds.0
- mapped from the Id identifier. |
void |
revokeEgress(RevokeSecurityGroupEgressRequest request)
Performs the
RevokeEgress action. |
void |
revokeEgress(RevokeSecurityGroupEgressRequest request,
ResultCapture<Void> extractor)
Performs the
RevokeEgress action and use a ResultCapture to
retrieve the low-level client response. |
void |
revokeIngress(RevokeSecurityGroupIngressRequest request)
Performs the
RevokeIngress action. |
void |
revokeIngress(RevokeSecurityGroupIngressRequest request,
ResultCapture<Void> extractor)
Performs the
RevokeIngress action and use a ResultCapture to
retrieve the low-level client response. |
boolean isLoaded()
false
, calls to attribute getter methods on this
instance will make an implicit call to load()
to retrieve the
value.boolean load()
true
if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.load(DescribeSecurityGroupsRequest)
boolean load(DescribeSecurityGroupsRequest request)
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
GroupIds.0
- mapped from the Id
identifier.
true
if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.DescribeSecurityGroupsRequest
boolean load(DescribeSecurityGroupsRequest request, ResultCapture<DescribeSecurityGroupsResult> extractor)
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
GroupIds.0
- mapped from the Id
identifier.
true
if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.DescribeSecurityGroupsRequest
String getId()
List<Tag> getTags()
load()
is made to retrieve the value of the attribute.List<IpPermission> getIpPermissions()
load()
is made to retrieve the value of the
attribute.String getDescription()
load()
is made to retrieve the value of the
attribute.String getGroupName()
load()
is made to retrieve the value of the
attribute.String getOwnerId()
load()
is made to retrieve the value of the
attribute.String getVpcId()
load()
is made to retrieve the value of the
attribute.List<IpPermission> getIpPermissionsEgress()
load()
is made to retrieve the value of
the attribute.void revokeIngress(RevokeSecurityGroupIngressRequest request)
RevokeIngress
action.
The following request parameters will be populated from the data of this
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
GroupId
- mapped from the Id
identifier.
RevokeSecurityGroupIngressRequest
void revokeIngress(RevokeSecurityGroupIngressRequest request, ResultCapture<Void> extractor)
RevokeIngress
action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
GroupId
- mapped from the Id
identifier.
RevokeSecurityGroupIngressRequest
void revokeEgress(RevokeSecurityGroupEgressRequest request)
RevokeEgress
action.
The following request parameters will be populated from the data of this
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
GroupId
- mapped from the Id
identifier.
RevokeSecurityGroupEgressRequest
void revokeEgress(RevokeSecurityGroupEgressRequest request, ResultCapture<Void> extractor)
RevokeEgress
action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
GroupId
- mapped from the Id
identifier.
RevokeSecurityGroupEgressRequest
void authorizeEgress(AuthorizeSecurityGroupEgressRequest request)
AuthorizeEgress
action.
The following request parameters will be populated from the data of this
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
GroupId
- mapped from the Id
identifier.
AuthorizeSecurityGroupEgressRequest
void authorizeEgress(AuthorizeSecurityGroupEgressRequest request, ResultCapture<Void> extractor)
AuthorizeEgress
action and use a ResultCapture
to retrieve the low-level client response.
The following request parameters will be populated from the data of this
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
GroupId
- mapped from the Id
identifier.
AuthorizeSecurityGroupEgressRequest
void authorizeIngress(AuthorizeSecurityGroupIngressRequest request)
AuthorizeIngress
action.
The following request parameters will be populated from the data of this
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
GroupId
- mapped from the Id
identifier.
AuthorizeSecurityGroupIngressRequest
void authorizeIngress(AuthorizeSecurityGroupIngressRequest request, ResultCapture<Void> extractor)
AuthorizeIngress
action and use a ResultCapture
to retrieve the low-level client response.
The following request parameters will be populated from the data of this
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
GroupId
- mapped from the Id
identifier.
AuthorizeSecurityGroupIngressRequest
void delete(DeleteSecurityGroupRequest request)
Delete
action.
The following request parameters will be populated from the data of this
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
GroupId
- mapped from the Id
identifier.
DeleteSecurityGroupRequest
void delete(DeleteSecurityGroupRequest request, ResultCapture<Void> extractor)
Delete
action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
GroupId
- mapped from the Id
identifier.
DeleteSecurityGroupRequest
List<Tag> createTags(CreateTagsRequest request)
CreateTags
action.
The following request parameters will be populated from the data of this
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
Resources.0
- mapped from the Id
identifier.
Tag
resource objects associated with the
result of this action.CreateTagsRequest
List<Tag> createTags(CreateTagsRequest request, ResultCapture<Void> extractor)
CreateTags
action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
SecurityGroup
resource, and any conflicting parameter value
set in the request will be overridden:
Resources.0
- mapped from the Id
identifier.
Tag
resource objects associated with the
result of this action.CreateTagsRequest
List<Tag> createTags(List<Tag> tags)
CreateTags
action.createTags(CreateTagsRequest)
Copyright © 2014. All rights reserved.