Interface RevokeSecurityGroupEgressResponse.Builder

    • Method Detail

      • returnValue

        RevokeSecurityGroupEgressResponse.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

        RevokeSecurityGroupEgressResponse.Builder unknownIpPermissions​(Collection<IpPermission> unknownIpPermissions)

        The outbound rules that were unknown to the service. In some cases, unknownIpPermissionSet might be in a different format from the request parameter.

        Parameters:
        unknownIpPermissions - The outbound 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

        RevokeSecurityGroupEgressResponse.Builder unknownIpPermissions​(IpPermission... unknownIpPermissions)

        The outbound rules that were unknown to the service. In some cases, unknownIpPermissionSet might be in a different format from the request parameter.

        Parameters:
        unknownIpPermissions - The outbound 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

        RevokeSecurityGroupEgressResponse.Builder unknownIpPermissions​(Consumer<IpPermission.Builder>... unknownIpPermissions)

        The outbound 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)
      • revokedSecurityGroupRules

        RevokeSecurityGroupEgressResponse.Builder revokedSecurityGroupRules​(Collection<RevokedSecurityGroupRule> revokedSecurityGroupRules)

        Details about the revoked security group rules.

        Parameters:
        revokedSecurityGroupRules - Details about the revoked security group rules.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • revokedSecurityGroupRules

        RevokeSecurityGroupEgressResponse.Builder revokedSecurityGroupRules​(RevokedSecurityGroupRule... revokedSecurityGroupRules)

        Details about the revoked security group rules.

        Parameters:
        revokedSecurityGroupRules - Details about the revoked security group rules.
        Returns:
        Returns a reference to this object so that method calls can be chained together.