/** * <p> * AWS account number of the owner of the EC2 security group specified in the <code>EC2SecurityGroupName</code> * parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, * <code>EC2SecurityGroupId</code> must be provided. Otherwise, <code>EC2SecurityGroupOwnerId</code> and either * <code>EC2SecurityGroupName</code> or <code>EC2SecurityGroupId</code> must be provided. * </p> * * @param eC2SecurityGroupOwnerId * AWS account number of the owner of the EC2 security group specified in the * <code>EC2SecurityGroupName</code> parameter. The AWS Access Key ID is not an acceptable value. For VPC DB * security groups, <code>EC2SecurityGroupId</code> must be provided. Otherwise, * <code>EC2SecurityGroupOwnerId</code> and either <code>EC2SecurityGroupName</code> or * <code>EC2SecurityGroupId</code> must be provided. * @return Returns a reference to this object so that method calls can be chained together. */ public AuthorizeDBSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) { setEC2SecurityGroupOwnerId(eC2SecurityGroupOwnerId); return this; }
/** * <p> * AWS account number of the owner of the EC2 security group specified in the <code>EC2SecurityGroupName</code> * parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, * <code>EC2SecurityGroupId</code> must be provided. Otherwise, <code>EC2SecurityGroupOwnerId</code> and either * <code>EC2SecurityGroupName</code> or <code>EC2SecurityGroupId</code> must be provided. * </p> * * @param eC2SecurityGroupOwnerId * AWS account number of the owner of the EC2 security group specified in the * <code>EC2SecurityGroupName</code> parameter. The AWS Access Key ID is not an acceptable value. For VPC DB * security groups, <code>EC2SecurityGroupId</code> must be provided. Otherwise, * <code>EC2SecurityGroupOwnerId</code> and either <code>EC2SecurityGroupName</code> or * <code>EC2SecurityGroupId</code> must be provided. * @return Returns a reference to this object so that method calls can be chained together. */ public AuthorizeDBSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) { setEC2SecurityGroupOwnerId(eC2SecurityGroupOwnerId); return this; }