Interface UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder

    • Method Detail

      • dryRun

        UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupId

        UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder groupId​(String groupId)

        The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.

        Parameters:
        groupId - The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupName

        UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder groupName​(String groupName)

        [Default VPC] The name of the security group. You must specify either the security group ID or the security group name. For security groups in a nondefault VPC, you must specify the security group ID.

        Parameters:
        groupName - [Default VPC] The name of the security group. You must specify either the security group ID or the security group name. For security groups in a nondefault VPC, you must specify the security group ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipPermissions

        UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder ipPermissions​(Collection<IpPermission> ipPermissions)

        The IP permissions for the security group rule. You must specify either IP permissions or a description.

        Parameters:
        ipPermissions - The IP permissions for the security group rule. You must specify either IP permissions or a description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipPermissions

        UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder ipPermissions​(IpPermission... ipPermissions)

        The IP permissions for the security group rule. You must specify either IP permissions or a description.

        Parameters:
        ipPermissions - The IP permissions for the security group rule. You must specify either IP permissions or a description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupRuleDescriptions

        UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder securityGroupRuleDescriptions​(Collection<SecurityGroupRuleDescription> securityGroupRuleDescriptions)

        The description for the ingress security group rules. You must specify either a description or IP permissions.

        Parameters:
        securityGroupRuleDescriptions - The description for the ingress security group rules. You must specify either a description or IP permissions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupRuleDescriptions

        UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder securityGroupRuleDescriptions​(SecurityGroupRuleDescription... securityGroupRuleDescriptions)

        The description for the ingress security group rules. You must specify either a description or IP permissions.

        Parameters:
        securityGroupRuleDescriptions - The description for the ingress security group rules. You must specify either a description or IP permissions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.