Interface RevokeSecurityGroupIngressResponse.Builder

    • Method Detail

      • returnValue

        RevokeSecurityGroupIngressResponse.Builder returnValue​(Boolean 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).

        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:
        #unknownIpPermissions(java.util.Collection)