Interface EC2SecurityGroup.Builder

    • Method Detail

      • status

        EC2SecurityGroup.Builder status​(String status)

        Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".

        Parameters:
        status - Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ec2SecurityGroupName

        EC2SecurityGroup.Builder ec2SecurityGroupName​(String ec2SecurityGroupName)

        Specifies the name of the EC2 security group.

        Parameters:
        ec2SecurityGroupName - Specifies the name of the EC2 security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ec2SecurityGroupId

        EC2SecurityGroup.Builder ec2SecurityGroupId​(String ec2SecurityGroupId)

        Specifies the id of the EC2 security group.

        Parameters:
        ec2SecurityGroupId - Specifies the id of the EC2 security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ec2SecurityGroupOwnerId

        EC2SecurityGroup.Builder ec2SecurityGroupOwnerId​(String ec2SecurityGroupOwnerId)

        Specifies the Amazon Web Services ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.

        Parameters:
        ec2SecurityGroupOwnerId - Specifies the Amazon Web Services ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.