Interface RevokeSecurityGroupIngressResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<RevokeSecurityGroupIngressResponse.Builder,
,RevokeSecurityGroupIngressResponse> Ec2Response.Builder
,SdkBuilder<RevokeSecurityGroupIngressResponse.Builder,
,RevokeSecurityGroupIngressResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
RevokeSecurityGroupIngressResponse
public static interface RevokeSecurityGroupIngressResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<RevokeSecurityGroupIngressResponse.Builder,RevokeSecurityGroupIngressResponse>
-
Method Summary
Modifier and TypeMethodDescriptionreturnValue
(Boolean returnValue) Returnstrue
if the request succeeds; otherwise, returns an error.unknownIpPermissions
(Collection<IpPermission> unknownIpPermissions) The inbound rules that were unknown to the service.unknownIpPermissions
(Consumer<IpPermission.Builder>... unknownIpPermissions) The inbound rules that were unknown to the service.unknownIpPermissions
(IpPermission... unknownIpPermissions) The inbound rules that were unknown to the service.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
returnValue
Returns
true
if the request succeeds; otherwise, returns an error.- Parameters:
returnValue
- Returnstrue
if the request succeeds; otherwise, returns an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unknownIpPermissions
RevokeSecurityGroupIngressResponse.Builder unknownIpPermissions(Collection<IpPermission> unknownIpPermissions) The inbound rules that were unknown to the service. In some cases,
unknownIpPermissionSet
might be in a different format from the request parameter.- Parameters:
unknownIpPermissions
- The inbound rules that were unknown to the service. In some cases,unknownIpPermissionSet
might be in a different format from the request parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unknownIpPermissions
RevokeSecurityGroupIngressResponse.Builder unknownIpPermissions(IpPermission... unknownIpPermissions) The inbound rules that were unknown to the service. In some cases,
unknownIpPermissionSet
might be in a different format from the request parameter.- Parameters:
unknownIpPermissions
- The inbound rules that were unknown to the service. In some cases,unknownIpPermissionSet
might be in a different format from the request parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unknownIpPermissions
RevokeSecurityGroupIngressResponse.Builder unknownIpPermissions(Consumer<IpPermission.Builder>... unknownIpPermissions) The inbound rules that were unknown to the service. In some cases,
This is a convenience method that creates an instance of theunknownIpPermissionSet
might be in a different format from the request parameter.IpPermission.Builder
avoiding the need to create one manually viaIpPermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tounknownIpPermissions(List<IpPermission>)
.- Parameters:
unknownIpPermissions
- a consumer that will call methods onIpPermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-