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 Details

    • returnValue

      Returns true if the request succeeds; otherwise, returns an error.

      Parameters:
      returnValue - Returns true 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, unknownIpPermissionSet might be in a different format from the request parameter.

      This is a convenience method that creates an instance of the IpPermission.Builder avoiding the need to create one manually via IpPermission.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to unknownIpPermissions(List<IpPermission>).

      Parameters:
      unknownIpPermissions - a consumer that will call methods on IpPermission.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: