diff --git a/META-INF/MANIFEST.MF b/META-INF/MANIFEST.MF index a10ad2b00912..6371c0732e5f 100644 --- a/META-INF/MANIFEST.MF +++ b/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: AWS SDK for Java Bundle-SymbolicName: com.amazonaws.sdk;singleton:=true -Bundle-Version: 1.5.0 +Bundle-Version: 1.5.1 Bundle-Vendor: Amazon Technologies, Inc Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Require-Bundle: org.apache.commons.codec;bundle-version="1.3.0", diff --git a/pom.xml b/pom.xml index 1384af552f6b..2a7590bb0f61 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ aws-java-sdk jar AWS SDK for Java - 1.5.0 + 1.5.1 The Amazon Web Services SDK for Java provides Java APIs for building software on AWS’ cost-effective, scalable, and reliable infrastructure products. The AWS Java SDK allows developers to code against APIs for all of Amazon's infrastructure web services (Amazon S3, Amazon EC2, Amazon SQS, Amazon Relational Database Service, Amazon AutoScaling, etc). https://aws.amazon.com/sdkforjava diff --git a/src/main/java/com/amazonaws/services/ec2/model/AccountAttribute.java b/src/main/java/com/amazonaws/services/ec2/model/AccountAttribute.java index 11d4993c30b5..48f7b58c1829 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AccountAttribute.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AccountAttribute.java @@ -48,9 +48,6 @@ public void setAttributeName(String attributeName) { * Returns a reference to this object so that method calls can be chained together. * * @param attributeName The new value for the AttributeName property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AccountAttribute withAttributeName(String attributeName) { this.attributeName = attributeName; @@ -93,9 +90,6 @@ public void setAttributeValues(java.util.Collection attri * Returns a reference to this object so that method calls can be chained together. * * @param attributeValues The new value for the AttributeValues property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AccountAttribute withAttributeValues(AccountAttributeValue... attributeValues) { if (getAttributeValues() == null) setAttributeValues(new java.util.ArrayList(attributeValues.length)); @@ -111,9 +105,6 @@ public AccountAttribute withAttributeValues(AccountAttributeValue... attributeVa * Returns a reference to this object so that method calls can be chained together. * * @param attributeValues The new value for the AttributeValues property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AccountAttribute withAttributeValues(java.util.Collection attributeValues) { if (attributeValues == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/AccountAttributeValue.java b/src/main/java/com/amazonaws/services/ec2/model/AccountAttributeValue.java index bfab596b3656..75287daa4478 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AccountAttributeValue.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AccountAttributeValue.java @@ -46,9 +46,6 @@ public void setAttributeValue(String attributeValue) { * Returns a reference to this object so that method calls can be chained together. * * @param attributeValue The new value for the AttributeValue property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AccountAttributeValue withAttributeValue(String attributeValue) { this.attributeValue = attributeValue; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ActivateLicenseRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ActivateLicenseRequest.java index d133f111a101..51cf1b5fb393 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ActivateLicenseRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ActivateLicenseRequest.java @@ -85,9 +85,6 @@ public void setLicenseId(String licenseId) { * Returns a reference to this object so that method calls can be chained together. * * @param licenseId Specifies the ID for the specific license to activate against. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ActivateLicenseRequest withLicenseId(String licenseId) { this.licenseId = licenseId; @@ -119,9 +116,6 @@ public void setCapacity(Integer capacity) { * Returns a reference to this object so that method calls can be chained together. * * @param capacity Specifies the additional number of licenses to activate. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ActivateLicenseRequest withCapacity(Integer capacity) { this.capacity = capacity; diff --git a/src/main/java/com/amazonaws/services/ec2/model/Address.java b/src/main/java/com/amazonaws/services/ec2/model/Address.java index 17e00922d414..bb9a6dfeeaa5 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Address.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Address.java @@ -68,9 +68,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Address withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -102,9 +99,6 @@ public void setPublicIp(String publicIp) { * Returns a reference to this object so that method calls can be chained together. * * @param publicIp - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Address withPublicIp(String publicIp) { this.publicIp = publicIp; @@ -136,9 +130,6 @@ public void setAllocationId(String allocationId) { * Returns a reference to this object so that method calls can be chained together. * * @param allocationId The new value for the AllocationId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Address withAllocationId(String allocationId) { this.allocationId = allocationId; @@ -170,9 +161,6 @@ public void setAssociationId(String associationId) { * Returns a reference to this object so that method calls can be chained together. * * @param associationId The new value for the AssociationId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Address withAssociationId(String associationId) { this.associationId = associationId; @@ -218,9 +206,6 @@ public void setDomain(String domain) { * * @param domain The new value for the Domain property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see DomainType */ public Address withDomain(String domain) { @@ -253,9 +238,6 @@ public void setDomain(DomainType domain) { * * @param domain The new value for the Domain property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see DomainType */ public Address withDomain(DomainType domain) { @@ -287,9 +269,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Address withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; @@ -326,9 +305,6 @@ public void setNetworkInterfaceOwnerId(String networkInterfaceOwnerId) { * * @param networkInterfaceOwnerId The new value for the NetworkInterfaceOwnerId property for this * object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Address withNetworkInterfaceOwnerId(String networkInterfaceOwnerId) { this.networkInterfaceOwnerId = networkInterfaceOwnerId; @@ -360,9 +336,6 @@ public void setPrivateIpAddress(String privateIpAddress) { * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddress The new value for the PrivateIpAddress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Address withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AllocateAddressRequest.java b/src/main/java/com/amazonaws/services/ec2/model/AllocateAddressRequest.java index 2d931e69b0b2..1183676b9afa 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AllocateAddressRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AllocateAddressRequest.java @@ -79,9 +79,6 @@ public void setDomain(String domain) { * @param domain Set to vpc to allocate the address to your VPC. By * default, will allocate to EC2. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see DomainType */ public AllocateAddressRequest withDomain(String domain) { @@ -118,9 +115,6 @@ public void setDomain(DomainType domain) { * @param domain Set to vpc to allocate the address to your VPC. By * default, will allocate to EC2. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see DomainType */ public AllocateAddressRequest withDomain(DomainType domain) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/AllocateAddressResult.java b/src/main/java/com/amazonaws/services/ec2/model/AllocateAddressResult.java index e15230f1209b..f3adb8f090b9 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AllocateAddressResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AllocateAddressResult.java @@ -55,9 +55,6 @@ public void setPublicIp(String publicIp) { * Returns a reference to this object so that method calls can be chained together. * * @param publicIp IP address for use with your account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AllocateAddressResult withPublicIp(String publicIp) { this.publicIp = publicIp; @@ -103,9 +100,6 @@ public void setDomain(String domain) { * * @param domain The new value for the Domain property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see DomainType */ public AllocateAddressResult withDomain(String domain) { @@ -138,9 +132,6 @@ public void setDomain(DomainType domain) { * * @param domain The new value for the Domain property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see DomainType */ public AllocateAddressResult withDomain(DomainType domain) { @@ -172,9 +163,6 @@ public void setAllocationId(String allocationId) { * Returns a reference to this object so that method calls can be chained together. * * @param allocationId The new value for the AllocationId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AllocateAddressResult withAllocationId(String allocationId) { this.allocationId = allocationId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AssignPrivateIpAddressesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/AssignPrivateIpAddressesRequest.java index fe44376075c4..ea578b721da4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AssignPrivateIpAddressesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AssignPrivateIpAddressesRequest.java @@ -56,9 +56,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssignPrivateIpAddressesRequest withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; @@ -101,9 +98,6 @@ public void setPrivateIpAddresses(java.util.Collection privateIpAddresse * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddresses The new value for the PrivateIpAddresses property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssignPrivateIpAddressesRequest withPrivateIpAddresses(String... privateIpAddresses) { if (getPrivateIpAddresses() == null) setPrivateIpAddresses(new java.util.ArrayList(privateIpAddresses.length)); @@ -119,9 +113,6 @@ public AssignPrivateIpAddressesRequest withPrivateIpAddresses(String... privateI * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddresses The new value for the PrivateIpAddresses property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssignPrivateIpAddressesRequest withPrivateIpAddresses(java.util.Collection privateIpAddresses) { if (privateIpAddresses == null) { @@ -165,9 +156,6 @@ public void setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressC * * @param secondaryPrivateIpAddressCount The new value for the SecondaryPrivateIpAddressCount property for this * object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssignPrivateIpAddressesRequest withSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount) { this.secondaryPrivateIpAddressCount = secondaryPrivateIpAddressCount; @@ -199,9 +187,6 @@ public void setAllowReassignment(Boolean allowReassignment) { * Returns a reference to this object so that method calls can be chained together. * * @param allowReassignment The new value for the AllowReassignment property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssignPrivateIpAddressesRequest withAllowReassignment(Boolean allowReassignment) { this.allowReassignment = allowReassignment; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AssociateAddressRequest.java b/src/main/java/com/amazonaws/services/ec2/model/AssociateAddressRequest.java index b724007f77b3..467e969596c4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AssociateAddressRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AssociateAddressRequest.java @@ -99,9 +99,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The instance to associate with the IP address. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssociateAddressRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -133,9 +130,6 @@ public void setPublicIp(String publicIp) { * Returns a reference to this object so that method calls can be chained together. * * @param publicIp IP address that you are assigning to the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssociateAddressRequest withPublicIp(String publicIp) { this.publicIp = publicIp; @@ -173,9 +167,6 @@ public void setAllocationId(String allocationId) { * * @param allocationId The allocation ID that AWS returned when you allocated the elastic IP * address for use with Amazon VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssociateAddressRequest withAllocationId(String allocationId) { this.allocationId = allocationId; @@ -207,9 +198,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssociateAddressRequest withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; @@ -241,9 +229,6 @@ public void setPrivateIpAddress(String privateIpAddress) { * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddress The new value for the PrivateIpAddress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssociateAddressRequest withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; @@ -275,9 +260,6 @@ public void setAllowReassociation(Boolean allowReassociation) { * Returns a reference to this object so that method calls can be chained together. * * @param allowReassociation The new value for the AllowReassociation property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssociateAddressRequest withAllowReassociation(Boolean allowReassociation) { this.allowReassociation = allowReassociation; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AssociateAddressResult.java b/src/main/java/com/amazonaws/services/ec2/model/AssociateAddressResult.java index 5371004bcdc8..dfc6330f6043 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AssociateAddressResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AssociateAddressResult.java @@ -46,9 +46,6 @@ public void setAssociationId(String associationId) { * Returns a reference to this object so that method calls can be chained together. * * @param associationId The new value for the AssociationId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssociateAddressResult withAssociationId(String associationId) { this.associationId = associationId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AssociateDhcpOptionsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/AssociateDhcpOptionsRequest.java index 57d97d49ba48..019cd68b0b72 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AssociateDhcpOptionsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AssociateDhcpOptionsRequest.java @@ -91,9 +91,6 @@ public void setDhcpOptionsId(String dhcpOptionsId) { * * @param dhcpOptionsId The ID of the DHCP options to associate with the VPC. Specify * "default" to associate the default DHCP options with the VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssociateDhcpOptionsRequest withDhcpOptionsId(String dhcpOptionsId) { this.dhcpOptionsId = dhcpOptionsId; @@ -125,9 +122,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The ID of the VPC to associate the DHCP options with. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssociateDhcpOptionsRequest withVpcId(String vpcId) { this.vpcId = vpcId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AssociateRouteTableRequest.java b/src/main/java/com/amazonaws/services/ec2/model/AssociateRouteTableRequest.java index c54c0877c658..f93b055e1ec4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AssociateRouteTableRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AssociateRouteTableRequest.java @@ -66,9 +66,6 @@ public void setSubnetId(String subnetId) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetId The ID of the subnet. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssociateRouteTableRequest withSubnetId(String subnetId) { this.subnetId = subnetId; @@ -100,9 +97,6 @@ public void setRouteTableId(String routeTableId) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTableId The ID of the route table. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssociateRouteTableRequest withRouteTableId(String routeTableId) { this.routeTableId = routeTableId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AssociateRouteTableResult.java b/src/main/java/com/amazonaws/services/ec2/model/AssociateRouteTableResult.java index 74bc4e05ca47..4dd5b35ec900 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AssociateRouteTableResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AssociateRouteTableResult.java @@ -46,9 +46,6 @@ public void setAssociationId(String associationId) { * Returns a reference to this object so that method calls can be chained together. * * @param associationId The new value for the AssociationId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AssociateRouteTableResult withAssociationId(String associationId) { this.associationId = associationId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AttachInternetGatewayRequest.java b/src/main/java/com/amazonaws/services/ec2/model/AttachInternetGatewayRequest.java index 80ae9a1203e0..ebaed0d549ba 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AttachInternetGatewayRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AttachInternetGatewayRequest.java @@ -61,9 +61,6 @@ public void setInternetGatewayId(String internetGatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param internetGatewayId The ID of the Internet gateway to attach. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachInternetGatewayRequest withInternetGatewayId(String internetGatewayId) { this.internetGatewayId = internetGatewayId; @@ -95,9 +92,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The ID of the VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachInternetGatewayRequest withVpcId(String vpcId) { this.vpcId = vpcId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AttachNetworkInterfaceRequest.java b/src/main/java/com/amazonaws/services/ec2/model/AttachNetworkInterfaceRequest.java index 0f6ac1fddf6e..673384d1646e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AttachNetworkInterfaceRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AttachNetworkInterfaceRequest.java @@ -54,9 +54,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachNetworkInterfaceRequest withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; @@ -88,9 +85,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The new value for the InstanceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachNetworkInterfaceRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -122,9 +116,6 @@ public void setDeviceIndex(Integer deviceIndex) { * Returns a reference to this object so that method calls can be chained together. * * @param deviceIndex The new value for the DeviceIndex property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachNetworkInterfaceRequest withDeviceIndex(Integer deviceIndex) { this.deviceIndex = deviceIndex; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AttachNetworkInterfaceResult.java b/src/main/java/com/amazonaws/services/ec2/model/AttachNetworkInterfaceResult.java index 4afb9599e572..92aa4e551737 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AttachNetworkInterfaceResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AttachNetworkInterfaceResult.java @@ -46,9 +46,6 @@ public void setAttachmentId(String attachmentId) { * Returns a reference to this object so that method calls can be chained together. * * @param attachmentId The new value for the AttachmentId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachNetworkInterfaceResult withAttachmentId(String attachmentId) { this.attachmentId = attachmentId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AttachVolumeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/AttachVolumeRequest.java index f6960c62f12b..c192c4391633 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AttachVolumeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AttachVolumeRequest.java @@ -105,9 +105,6 @@ public void setVolumeId(String volumeId) { * * @param volumeId The ID of the Amazon EBS volume. The volume and instance must be * within the same Availability Zone and the instance must be running. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachVolumeRequest withVolumeId(String volumeId) { this.volumeId = volumeId; @@ -151,9 +148,6 @@ public void setInstanceId(String instanceId) { * @param instanceId The ID of the instance to which the volume attaches. The volume and * instance must be within the same Availability Zone and the instance * must be running. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachVolumeRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -191,9 +185,6 @@ public void setDevice(String device) { * * @param device Specifies how the device is exposed to the instance (e.g., * /dev/sdh). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachVolumeRequest withDevice(String device) { this.device = device; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AttachVolumeResult.java b/src/main/java/com/amazonaws/services/ec2/model/AttachVolumeResult.java index b1141767c7a0..23efd1efbdee 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AttachVolumeResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AttachVolumeResult.java @@ -51,9 +51,6 @@ public void setAttachment(VolumeAttachment attachment) { * Returns a reference to this object so that method calls can be chained together. * * @param attachment - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachVolumeResult withAttachment(VolumeAttachment attachment) { this.attachment = attachment; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AttachVpnGatewayRequest.java b/src/main/java/com/amazonaws/services/ec2/model/AttachVpnGatewayRequest.java index 3ab34f991913..819cbbe7c0bc 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AttachVpnGatewayRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AttachVpnGatewayRequest.java @@ -84,9 +84,6 @@ public void setVpnGatewayId(String vpnGatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpnGatewayId The ID of the VPN gateway to attach to the VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachVpnGatewayRequest withVpnGatewayId(String vpnGatewayId) { this.vpnGatewayId = vpnGatewayId; @@ -118,9 +115,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The ID of the VPC to attach to the VPN gateway. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachVpnGatewayRequest withVpcId(String vpcId) { this.vpcId = vpcId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AttachVpnGatewayResult.java b/src/main/java/com/amazonaws/services/ec2/model/AttachVpnGatewayResult.java index eddb30a8120b..3e78571e80e0 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AttachVpnGatewayResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AttachVpnGatewayResult.java @@ -51,9 +51,6 @@ public void setVpcAttachement(VpcAttachment vpcAttachement) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcAttachement - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachVpnGatewayResult withVpcAttachement(VpcAttachment vpcAttachement) { this.vpcAttachement = vpcAttachement; diff --git a/src/main/java/com/amazonaws/services/ec2/model/AuthorizeSecurityGroupEgressRequest.java b/src/main/java/com/amazonaws/services/ec2/model/AuthorizeSecurityGroupEgressRequest.java index 2a25a310a638..5f3e4996a996 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AuthorizeSecurityGroupEgressRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AuthorizeSecurityGroupEgressRequest.java @@ -108,9 +108,6 @@ public void setGroupId(String groupId) { * Returns a reference to this object so that method calls can be chained together. * * @param groupId ID of the VPC security group to modify. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupEgressRequest withGroupId(String groupId) { this.groupId = groupId; @@ -142,9 +139,6 @@ public void setSourceSecurityGroupName(String sourceSecurityGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceSecurityGroupName Deprecated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupEgressRequest withSourceSecurityGroupName(String sourceSecurityGroupName) { this.sourceSecurityGroupName = sourceSecurityGroupName; @@ -176,9 +170,6 @@ public void setSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceSecurityGroupOwnerId Deprecated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupEgressRequest withSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId) { this.sourceSecurityGroupOwnerId = sourceSecurityGroupOwnerId; @@ -210,9 +201,6 @@ public void setIpProtocol(String ipProtocol) { * Returns a reference to this object so that method calls can be chained together. * * @param ipProtocol Deprecated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupEgressRequest withIpProtocol(String ipProtocol) { this.ipProtocol = ipProtocol; @@ -244,9 +232,6 @@ public void setFromPort(Integer fromPort) { * Returns a reference to this object so that method calls can be chained together. * * @param fromPort Deprecated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupEgressRequest withFromPort(Integer fromPort) { this.fromPort = fromPort; @@ -278,9 +263,6 @@ public void setToPort(Integer toPort) { * Returns a reference to this object so that method calls can be chained together. * * @param toPort Deprecated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupEgressRequest withToPort(Integer toPort) { this.toPort = toPort; @@ -312,9 +294,6 @@ public void setCidrIp(String cidrIp) { * Returns a reference to this object so that method calls can be chained together. * * @param cidrIp Deprecated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupEgressRequest withCidrIp(String cidrIp) { this.cidrIp = cidrIp; @@ -369,9 +348,6 @@ public void setIpPermissions(java.util.Collection ipPermissions) { * @param ipPermissions List of IP permissions to authorize on the specified security group. * Specifying permissions through IP permissions is the preferred way of * authorizing permissions since it offers more flexibility and control. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupEgressRequest withIpPermissions(IpPermission... ipPermissions) { if (getIpPermissions() == null) setIpPermissions(new java.util.ArrayList(ipPermissions.length)); @@ -391,9 +367,6 @@ public AuthorizeSecurityGroupEgressRequest withIpPermissions(IpPermission... ipP * @param ipPermissions List of IP permissions to authorize on the specified security group. * Specifying permissions through IP permissions is the preferred way of * authorizing permissions since it offers more flexibility and control. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupEgressRequest withIpPermissions(java.util.Collection ipPermissions) { if (ipPermissions == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/AuthorizeSecurityGroupIngressRequest.java b/src/main/java/com/amazonaws/services/ec2/model/AuthorizeSecurityGroupIngressRequest.java index efa86c19a7e2..947e0a45d985 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AuthorizeSecurityGroupIngressRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AuthorizeSecurityGroupIngressRequest.java @@ -150,9 +150,6 @@ public void setGroupName(String groupName) { * @param groupName Name of the standard (EC2) security group to modify. The group must * belong to your account. Can be used instead of GroupID for standard * (EC2) security groups. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupIngressRequest withGroupName(String groupName) { this.groupName = groupName; @@ -196,9 +193,6 @@ public void setGroupId(String groupId) { * @param groupId ID of the standard (EC2) or VPC security group to modify. The group * must belong to your account. Required for VPC security groups; can be * used instead of GroupName for standard (EC2) security groups. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupIngressRequest withGroupId(String groupId) { this.groupId = groupId; @@ -230,9 +224,6 @@ public void setSourceSecurityGroupName(String sourceSecurityGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceSecurityGroupName Deprecated - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupIngressRequest withSourceSecurityGroupName(String sourceSecurityGroupName) { this.sourceSecurityGroupName = sourceSecurityGroupName; @@ -264,9 +255,6 @@ public void setSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceSecurityGroupOwnerId Deprecated - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupIngressRequest withSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId) { this.sourceSecurityGroupOwnerId = sourceSecurityGroupOwnerId; @@ -298,9 +286,6 @@ public void setIpProtocol(String ipProtocol) { * Returns a reference to this object so that method calls can be chained together. * * @param ipProtocol Deprecated - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupIngressRequest withIpProtocol(String ipProtocol) { this.ipProtocol = ipProtocol; @@ -332,9 +317,6 @@ public void setFromPort(Integer fromPort) { * Returns a reference to this object so that method calls can be chained together. * * @param fromPort Deprecated - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupIngressRequest withFromPort(Integer fromPort) { this.fromPort = fromPort; @@ -366,9 +348,6 @@ public void setToPort(Integer toPort) { * Returns a reference to this object so that method calls can be chained together. * * @param toPort Deprecated - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupIngressRequest withToPort(Integer toPort) { this.toPort = toPort; @@ -400,9 +379,6 @@ public void setCidrIp(String cidrIp) { * Returns a reference to this object so that method calls can be chained together. * * @param cidrIp Deprecated - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupIngressRequest withCidrIp(String cidrIp) { this.cidrIp = cidrIp; @@ -457,9 +433,6 @@ public void setIpPermissions(java.util.Collection ipPermissions) { * @param ipPermissions List of IP permissions to authorize on the specified security group. * Specifying permissions through IP permissions is the preferred way of * authorizing permissions since it offers more flexibility and control. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupIngressRequest withIpPermissions(IpPermission... ipPermissions) { if (getIpPermissions() == null) setIpPermissions(new java.util.ArrayList(ipPermissions.length)); @@ -479,9 +452,6 @@ public AuthorizeSecurityGroupIngressRequest withIpPermissions(IpPermission... ip * @param ipPermissions List of IP permissions to authorize on the specified security group. * Specifying permissions through IP permissions is the preferred way of * authorizing permissions since it offers more flexibility and control. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeSecurityGroupIngressRequest withIpPermissions(java.util.Collection ipPermissions) { if (ipPermissions == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/AvailabilityZone.java b/src/main/java/com/amazonaws/services/ec2/model/AvailabilityZone.java index e72d994eb241..29d8dfa8cbbe 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AvailabilityZone.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AvailabilityZone.java @@ -66,9 +66,6 @@ public void setZoneName(String zoneName) { * Returns a reference to this object so that method calls can be chained together. * * @param zoneName Name of the Availability Zone. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AvailabilityZone withZoneName(String zoneName) { this.zoneName = zoneName; @@ -100,9 +97,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state State of the Availability Zone. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AvailabilityZone withState(String state) { this.state = state; @@ -134,9 +128,6 @@ public void setRegionName(String regionName) { * Returns a reference to this object so that method calls can be chained together. * * @param regionName Name of the region in which this zone resides. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AvailabilityZone withRegionName(String regionName) { this.regionName = regionName; @@ -179,9 +170,6 @@ public void setMessages(java.util.Collection messages) * Returns a reference to this object so that method calls can be chained together. * * @param messages A list of messages about the Availability Zone. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AvailabilityZone withMessages(AvailabilityZoneMessage... messages) { if (getMessages() == null) setMessages(new java.util.ArrayList(messages.length)); @@ -197,9 +185,6 @@ public AvailabilityZone withMessages(AvailabilityZoneMessage... messages) { * Returns a reference to this object so that method calls can be chained together. * * @param messages A list of messages about the Availability Zone. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AvailabilityZone withMessages(java.util.Collection messages) { if (messages == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/AvailabilityZoneMessage.java b/src/main/java/com/amazonaws/services/ec2/model/AvailabilityZoneMessage.java index 23253a71eb89..f139ad90ab1e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/AvailabilityZoneMessage.java +++ b/src/main/java/com/amazonaws/services/ec2/model/AvailabilityZoneMessage.java @@ -46,9 +46,6 @@ public void setMessage(String message) { * Returns a reference to this object so that method calls can be chained together. * * @param message The new value for the Message property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AvailabilityZoneMessage withMessage(String message) { this.message = message; diff --git a/src/main/java/com/amazonaws/services/ec2/model/BlockDeviceMapping.java b/src/main/java/com/amazonaws/services/ec2/model/BlockDeviceMapping.java index eae7ab5439e9..fb6b67bf3745 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/BlockDeviceMapping.java +++ b/src/main/java/com/amazonaws/services/ec2/model/BlockDeviceMapping.java @@ -67,9 +67,6 @@ public void setVirtualName(String virtualName) { * Returns a reference to this object so that method calls can be chained together. * * @param virtualName Specifies the virtual device name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BlockDeviceMapping withVirtualName(String virtualName) { this.virtualName = virtualName; @@ -101,9 +98,6 @@ public void setDeviceName(String deviceName) { * Returns a reference to this object so that method calls can be chained together. * * @param deviceName Specifies the device name (e.g., /dev/sdh). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BlockDeviceMapping withDeviceName(String deviceName) { this.deviceName = deviceName; @@ -141,9 +135,6 @@ public void setEbs(EbsBlockDevice ebs) { * * @param ebs Specifies parameters used to automatically setup Amazon EBS volumes * when the instance is launched. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BlockDeviceMapping withEbs(EbsBlockDevice ebs) { this.ebs = ebs; @@ -175,9 +166,6 @@ public void setNoDevice(String noDevice) { * Returns a reference to this object so that method calls can be chained together. * * @param noDevice Specifies the device name to suppress during instance launch. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BlockDeviceMapping withNoDevice(String noDevice) { this.noDevice = noDevice; diff --git a/src/main/java/com/amazonaws/services/ec2/model/BundleInstanceRequest.java b/src/main/java/com/amazonaws/services/ec2/model/BundleInstanceRequest.java index 93965cec7455..6f449858e1d8 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/BundleInstanceRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/BundleInstanceRequest.java @@ -84,9 +84,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of the instance to bundle. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BundleInstanceRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -118,9 +115,6 @@ public void setStorage(Storage storage) { * Returns a reference to this object so that method calls can be chained together. * * @param storage - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BundleInstanceRequest withStorage(Storage storage) { this.storage = storage; diff --git a/src/main/java/com/amazonaws/services/ec2/model/BundleInstanceResult.java b/src/main/java/com/amazonaws/services/ec2/model/BundleInstanceResult.java index 63c3f58e303a..6e05dabf5450 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/BundleInstanceResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/BundleInstanceResult.java @@ -51,9 +51,6 @@ public void setBundleTask(BundleTask bundleTask) { * Returns a reference to this object so that method calls can be chained together. * * @param bundleTask - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BundleInstanceResult withBundleTask(BundleTask bundleTask) { this.bundleTask = bundleTask; diff --git a/src/main/java/com/amazonaws/services/ec2/model/BundleTask.java b/src/main/java/com/amazonaws/services/ec2/model/BundleTask.java index 0cfc2578857a..a261a08cea3b 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/BundleTask.java +++ b/src/main/java/com/amazonaws/services/ec2/model/BundleTask.java @@ -86,9 +86,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId Instance associated with this bundle task. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BundleTask withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -120,9 +117,6 @@ public void setBundleId(String bundleId) { * Returns a reference to this object so that method calls can be chained together. * * @param bundleId Unique identifier for this task. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BundleTask withBundleId(String bundleId) { this.bundleId = bundleId; @@ -154,9 +148,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state The state of this task. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BundleTask withState(String state) { this.state = state; @@ -188,9 +179,6 @@ public void setStartTime(java.util.Date startTime) { * Returns a reference to this object so that method calls can be chained together. * * @param startTime The time this task started. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BundleTask withStartTime(java.util.Date startTime) { this.startTime = startTime; @@ -222,9 +210,6 @@ public void setUpdateTime(java.util.Date updateTime) { * Returns a reference to this object so that method calls can be chained together. * * @param updateTime The time of the most recent update for the task. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BundleTask withUpdateTime(java.util.Date updateTime) { this.updateTime = updateTime; @@ -256,9 +241,6 @@ public void setStorage(Storage storage) { * Returns a reference to this object so that method calls can be chained together. * * @param storage Amazon S3 storage locations. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BundleTask withStorage(Storage storage) { this.storage = storage; @@ -290,9 +272,6 @@ public void setProgress(String progress) { * Returns a reference to this object so that method calls can be chained together. * * @param progress The level of task completion, in percent (e.g., 20%). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BundleTask withProgress(String progress) { this.progress = progress; @@ -324,9 +303,6 @@ public void setBundleTaskError(BundleTaskError bundleTaskError) { * Returns a reference to this object so that method calls can be chained together. * * @param bundleTaskError If the task fails, a description of the error. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BundleTask withBundleTaskError(BundleTaskError bundleTaskError) { this.bundleTaskError = bundleTaskError; diff --git a/src/main/java/com/amazonaws/services/ec2/model/BundleTaskError.java b/src/main/java/com/amazonaws/services/ec2/model/BundleTaskError.java index 6456968a05ab..a9bd1f48b36a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/BundleTaskError.java +++ b/src/main/java/com/amazonaws/services/ec2/model/BundleTaskError.java @@ -56,9 +56,6 @@ public void setCode(String code) { * Returns a reference to this object so that method calls can be chained together. * * @param code Error code. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BundleTaskError withCode(String code) { this.code = code; @@ -90,9 +87,6 @@ public void setMessage(String message) { * Returns a reference to this object so that method calls can be chained together. * * @param message Error message. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BundleTaskError withMessage(String message) { this.message = message; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CancelBundleTaskRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CancelBundleTaskRequest.java index 8288a5b6b512..f5fc72265523 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CancelBundleTaskRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CancelBundleTaskRequest.java @@ -78,9 +78,6 @@ public void setBundleId(String bundleId) { * Returns a reference to this object so that method calls can be chained together. * * @param bundleId The ID of the bundle task to cancel. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CancelBundleTaskRequest withBundleId(String bundleId) { this.bundleId = bundleId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CancelBundleTaskResult.java b/src/main/java/com/amazonaws/services/ec2/model/CancelBundleTaskResult.java index 4db04b0477c0..7bafbdf618ac 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CancelBundleTaskResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CancelBundleTaskResult.java @@ -51,9 +51,6 @@ public void setBundleTask(BundleTask bundleTask) { * Returns a reference to this object so that method calls can be chained together. * * @param bundleTask The canceled bundle task. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CancelBundleTaskResult withBundleTask(BundleTask bundleTask) { this.bundleTask = bundleTask; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CancelConversionTaskRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CancelConversionTaskRequest.java index 18a819e479f7..ecfaeb910456 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CancelConversionTaskRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CancelConversionTaskRequest.java @@ -52,9 +52,6 @@ public void setConversionTaskId(String conversionTaskId) { * Returns a reference to this object so that method calls can be chained together. * * @param conversionTaskId The new value for the ConversionTaskId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CancelConversionTaskRequest withConversionTaskId(String conversionTaskId) { this.conversionTaskId = conversionTaskId; @@ -86,9 +83,6 @@ public void setReasonMessage(String reasonMessage) { * Returns a reference to this object so that method calls can be chained together. * * @param reasonMessage The new value for the ReasonMessage property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CancelConversionTaskRequest withReasonMessage(String reasonMessage) { this.reasonMessage = reasonMessage; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CancelExportTaskRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CancelExportTaskRequest.java index 1079f7523b24..d3f507152092 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CancelExportTaskRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CancelExportTaskRequest.java @@ -50,9 +50,6 @@ public void setExportTaskId(String exportTaskId) { * Returns a reference to this object so that method calls can be chained together. * * @param exportTaskId The new value for the ExportTaskId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CancelExportTaskRequest withExportTaskId(String exportTaskId) { this.exportTaskId = exportTaskId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CancelReservedInstancesListingRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CancelReservedInstancesListingRequest.java index f164f9199649..207b237a3963 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CancelReservedInstancesListingRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CancelReservedInstancesListingRequest.java @@ -55,9 +55,6 @@ public void setReservedInstancesListingId(String reservedInstancesListingId) { * * @param reservedInstancesListingId The new value for the ReservedInstancesListingId property for this * object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CancelReservedInstancesListingRequest withReservedInstancesListingId(String reservedInstancesListingId) { this.reservedInstancesListingId = reservedInstancesListingId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CancelReservedInstancesListingResult.java b/src/main/java/com/amazonaws/services/ec2/model/CancelReservedInstancesListingResult.java index b76967b9e136..28857435a3ad 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CancelReservedInstancesListingResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CancelReservedInstancesListingResult.java @@ -62,9 +62,6 @@ public void setReservedInstancesListings(java.util.Collection(reservedInstancesListings.length)); @@ -82,9 +79,6 @@ public CancelReservedInstancesListingResult withReservedInstancesListings(Reserv * * @param reservedInstancesListings The new value for the ReservedInstancesListings property for this * object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CancelReservedInstancesListingResult withReservedInstancesListings(java.util.Collection reservedInstancesListings) { if (reservedInstancesListings == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/CancelSpotInstanceRequestsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CancelSpotInstanceRequestsRequest.java index ed54b916120f..6e0176658e89 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CancelSpotInstanceRequestsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CancelSpotInstanceRequestsRequest.java @@ -97,9 +97,6 @@ public void setSpotInstanceRequestIds(java.util.Collection spotInstanceR * Returns a reference to this object so that method calls can be chained together. * * @param spotInstanceRequestIds Specifies the ID of the Spot Instance request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CancelSpotInstanceRequestsRequest withSpotInstanceRequestIds(String... spotInstanceRequestIds) { if (getSpotInstanceRequestIds() == null) setSpotInstanceRequestIds(new java.util.ArrayList(spotInstanceRequestIds.length)); @@ -115,9 +112,6 @@ public CancelSpotInstanceRequestsRequest withSpotInstanceRequestIds(String... sp * Returns a reference to this object so that method calls can be chained together. * * @param spotInstanceRequestIds Specifies the ID of the Spot Instance request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CancelSpotInstanceRequestsRequest withSpotInstanceRequestIds(java.util.Collection spotInstanceRequestIds) { if (spotInstanceRequestIds == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/CancelSpotInstanceRequestsResult.java b/src/main/java/com/amazonaws/services/ec2/model/CancelSpotInstanceRequestsResult.java index 2e813c19ed2f..fc3cac7cce2e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CancelSpotInstanceRequestsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CancelSpotInstanceRequestsResult.java @@ -63,9 +63,6 @@ public void setCancelledSpotInstanceRequests(java.util.Collection(cancelledSpotInstanceRequests.length)); @@ -83,9 +80,6 @@ public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(Cancel * * @param cancelledSpotInstanceRequests The new value for the CancelledSpotInstanceRequests property for this * object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(java.util.Collection cancelledSpotInstanceRequests) { if (cancelledSpotInstanceRequests == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/CancelledSpotInstanceRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CancelledSpotInstanceRequest.java index ef58440d7660..951484697e43 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CancelledSpotInstanceRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CancelledSpotInstanceRequest.java @@ -49,9 +49,6 @@ public void setSpotInstanceRequestId(String spotInstanceRequestId) { * Returns a reference to this object so that method calls can be chained together. * * @param spotInstanceRequestId The new value for the SpotInstanceRequestId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CancelledSpotInstanceRequest withSpotInstanceRequestId(String spotInstanceRequestId) { this.spotInstanceRequestId = spotInstanceRequestId; @@ -83,9 +80,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state The new value for the State property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CancelledSpotInstanceRequest withState(String state) { this.state = state; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ConfirmProductInstanceRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ConfirmProductInstanceRequest.java index c32849aab344..ed9280f8c15a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ConfirmProductInstanceRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ConfirmProductInstanceRequest.java @@ -88,9 +88,6 @@ public void setProductCode(String productCode) { * Returns a reference to this object so that method calls can be chained together. * * @param productCode The product code to confirm. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConfirmProductInstanceRequest withProductCode(String productCode) { this.productCode = productCode; @@ -122,9 +119,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of the instance to confirm. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConfirmProductInstanceRequest withInstanceId(String instanceId) { this.instanceId = instanceId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ConfirmProductInstanceResult.java b/src/main/java/com/amazonaws/services/ec2/model/ConfirmProductInstanceResult.java index 66e4a07cdf84..42d03a2a1368 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ConfirmProductInstanceResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ConfirmProductInstanceResult.java @@ -58,9 +58,6 @@ public void setOwnerId(String ownerId) { * * @param ownerId The instance owner's account ID. Only present if the product code is * attached to the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConfirmProductInstanceResult withOwnerId(String ownerId) { this.ownerId = ownerId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ConversionTask.java b/src/main/java/com/amazonaws/services/ec2/model/ConversionTask.java index 42ef508052b4..892768e1974f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ConversionTask.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ConversionTask.java @@ -58,9 +58,6 @@ public void setConversionTaskId(String conversionTaskId) { * Returns a reference to this object so that method calls can be chained together. * * @param conversionTaskId The new value for the ConversionTaskId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConversionTask withConversionTaskId(String conversionTaskId) { this.conversionTaskId = conversionTaskId; @@ -92,9 +89,6 @@ public void setExpirationTime(String expirationTime) { * Returns a reference to this object so that method calls can be chained together. * * @param expirationTime The new value for the ExpirationTime property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConversionTask withExpirationTime(String expirationTime) { this.expirationTime = expirationTime; @@ -126,9 +120,6 @@ public void setImportInstance(ImportInstanceTaskDetails importInstance) { * Returns a reference to this object so that method calls can be chained together. * * @param importInstance The new value for the ImportInstance property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConversionTask withImportInstance(ImportInstanceTaskDetails importInstance) { this.importInstance = importInstance; @@ -160,9 +151,6 @@ public void setImportVolume(ImportVolumeTaskDetails importVolume) { * Returns a reference to this object so that method calls can be chained together. * * @param importVolume The new value for the ImportVolume property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConversionTask withImportVolume(ImportVolumeTaskDetails importVolume) { this.importVolume = importVolume; @@ -194,9 +182,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state The new value for the State property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConversionTask withState(String state) { this.state = state; @@ -228,9 +213,6 @@ public void setStatusMessage(String statusMessage) { * Returns a reference to this object so that method calls can be chained together. * * @param statusMessage The new value for the StatusMessage property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConversionTask withStatusMessage(String statusMessage) { this.statusMessage = statusMessage; @@ -273,9 +255,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags The new value for the Tags property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConversionTask withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -291,9 +270,6 @@ public ConversionTask withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags The new value for the Tags property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConversionTask withTags(java.util.Collection tags) { if (tags == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/CopyImageRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CopyImageRequest.java index 5d6f3af85900..3f8a75810c95 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CopyImageRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CopyImageRequest.java @@ -58,9 +58,6 @@ public void setSourceRegion(String sourceRegion) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceRegion The new value for the SourceRegion property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CopyImageRequest withSourceRegion(String sourceRegion) { this.sourceRegion = sourceRegion; @@ -92,9 +89,6 @@ public void setSourceImageId(String sourceImageId) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceImageId The new value for the SourceImageId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CopyImageRequest withSourceImageId(String sourceImageId) { this.sourceImageId = sourceImageId; @@ -126,9 +120,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The new value for the Name property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CopyImageRequest withName(String name) { this.name = name; @@ -160,9 +151,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CopyImageRequest withDescription(String description) { this.description = description; @@ -194,9 +182,6 @@ public void setClientToken(String clientToken) { * Returns a reference to this object so that method calls can be chained together. * * @param clientToken The new value for the ClientToken property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CopyImageRequest withClientToken(String clientToken) { this.clientToken = clientToken; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CopyImageResult.java b/src/main/java/com/amazonaws/services/ec2/model/CopyImageResult.java index 674baa23ba89..8b1fa9fb56e8 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CopyImageResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CopyImageResult.java @@ -46,9 +46,6 @@ public void setImageId(String imageId) { * Returns a reference to this object so that method calls can be chained together. * * @param imageId The new value for the ImageId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CopyImageResult withImageId(String imageId) { this.imageId = imageId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CopySnapshotRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CopySnapshotRequest.java index 906f32f19148..ad7d1a16428c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CopySnapshotRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CopySnapshotRequest.java @@ -54,9 +54,6 @@ public void setSourceRegion(String sourceRegion) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceRegion The new value for the SourceRegion property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CopySnapshotRequest withSourceRegion(String sourceRegion) { this.sourceRegion = sourceRegion; @@ -88,9 +85,6 @@ public void setSourceSnapshotId(String sourceSnapshotId) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceSnapshotId The new value for the SourceSnapshotId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CopySnapshotRequest withSourceSnapshotId(String sourceSnapshotId) { this.sourceSnapshotId = sourceSnapshotId; @@ -122,9 +116,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CopySnapshotRequest withDescription(String description) { this.description = description; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CopySnapshotResult.java b/src/main/java/com/amazonaws/services/ec2/model/CopySnapshotResult.java index c7dbf723eccd..8f24104a2150 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CopySnapshotResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CopySnapshotResult.java @@ -46,9 +46,6 @@ public void setSnapshotId(String snapshotId) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshotId The new value for the SnapshotId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CopySnapshotResult withSnapshotId(String snapshotId) { this.snapshotId = snapshotId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateCustomerGatewayRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateCustomerGatewayRequest.java index 0e72c87657d8..f2c8766ee5a4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateCustomerGatewayRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateCustomerGatewayRequest.java @@ -105,9 +105,6 @@ public void setType(String type) { * Returns a reference to this object so that method calls can be chained together. * * @param type The type of VPN connection this customer gateway supports. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateCustomerGatewayRequest withType(String type) { this.type = type; @@ -145,9 +142,6 @@ public void setPublicIp(String publicIp) { * * @param publicIp The Internet-routable IP address for the customer gateway's outside * interface. The address must be static - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateCustomerGatewayRequest withPublicIp(String publicIp) { this.publicIp = publicIp; @@ -185,9 +179,6 @@ public void setBgpAsn(Integer bgpAsn) { * * @param bgpAsn The customer gateway's Border Gateway Protocol (BGP) Autonomous System * Number (ASN). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateCustomerGatewayRequest withBgpAsn(Integer bgpAsn) { this.bgpAsn = bgpAsn; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateCustomerGatewayResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateCustomerGatewayResult.java index 28e5e31b9ba2..cbad16bc8a48 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateCustomerGatewayResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateCustomerGatewayResult.java @@ -51,9 +51,6 @@ public void setCustomerGateway(CustomerGateway customerGateway) { * Returns a reference to this object so that method calls can be chained together. * * @param customerGateway Information about the customer gateway. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateCustomerGatewayResult withCustomerGateway(CustomerGateway customerGateway) { this.customerGateway = customerGateway; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateDhcpOptionsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateDhcpOptionsRequest.java index 14427c41093f..a467b48c52db 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateDhcpOptionsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateDhcpOptionsRequest.java @@ -89,9 +89,6 @@ public void setDhcpConfigurations(java.util.Collection dhcpCo * Returns a reference to this object so that method calls can be chained together. * * @param dhcpConfigurations A set of one or more DHCP configurations. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateDhcpOptionsRequest withDhcpConfigurations(DhcpConfiguration... dhcpConfigurations) { if (getDhcpConfigurations() == null) setDhcpConfigurations(new java.util.ArrayList(dhcpConfigurations.length)); @@ -107,9 +104,6 @@ public CreateDhcpOptionsRequest withDhcpConfigurations(DhcpConfiguration... dhcp * Returns a reference to this object so that method calls can be chained together. * * @param dhcpConfigurations A set of one or more DHCP configurations. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateDhcpOptionsRequest withDhcpConfigurations(java.util.Collection dhcpConfigurations) { if (dhcpConfigurations == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateDhcpOptionsResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateDhcpOptionsResult.java index a02f96af5109..7ad56bcbe28c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateDhcpOptionsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateDhcpOptionsResult.java @@ -51,9 +51,6 @@ public void setDhcpOptions(DhcpOptions dhcpOptions) { * Returns a reference to this object so that method calls can be chained together. * * @param dhcpOptions A set of one or more DHCP options. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateDhcpOptionsResult withDhcpOptions(DhcpOptions dhcpOptions) { this.dhcpOptions = dhcpOptions; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateImageRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateImageRequest.java index 988087ac1802..627e036b8e9b 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateImageRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateImageRequest.java @@ -102,9 +102,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of the instance from which to create the new image. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateImageRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -136,9 +133,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The name for the new AMI being created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateImageRequest withName(String name) { this.name = name; @@ -170,9 +164,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The description for the new AMI being created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateImageRequest withDescription(String description) { this.description = description; @@ -234,9 +225,6 @@ public void setNoReboot(Boolean noReboot) { * EC2 will not shut down the instance before creating the image. When * this option is used, file system integrity on the created image cannot * be guaranteed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateImageRequest withNoReboot(Boolean noReboot) { this.noReboot = noReboot; @@ -298,9 +286,6 @@ public void setBlockDeviceMappings(java.util.Collection bloc * Returns a reference to this object so that method calls can be chained together. * * @param blockDeviceMappings The new value for the BlockDeviceMappings property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateImageRequest withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings) { if (getBlockDeviceMappings() == null) setBlockDeviceMappings(new java.util.ArrayList(blockDeviceMappings.length)); @@ -316,9 +301,6 @@ public CreateImageRequest withBlockDeviceMappings(BlockDeviceMapping... blockDev * Returns a reference to this object so that method calls can be chained together. * * @param blockDeviceMappings The new value for the BlockDeviceMappings property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateImageRequest withBlockDeviceMappings(java.util.Collection blockDeviceMappings) { if (blockDeviceMappings == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateImageResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateImageResult.java index 2715355e9d33..d0076eedea81 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateImageResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateImageResult.java @@ -51,9 +51,6 @@ public void setImageId(String imageId) { * Returns a reference to this object so that method calls can be chained together. * * @param imageId The ID of the new AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateImageResult withImageId(String imageId) { this.imageId = imageId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateInstanceExportTaskRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateInstanceExportTaskRequest.java index eab11ebec39e..3d7c42e25496 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateInstanceExportTaskRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateInstanceExportTaskRequest.java @@ -56,9 +56,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInstanceExportTaskRequest withDescription(String description) { this.description = description; @@ -90,9 +87,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The new value for the InstanceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInstanceExportTaskRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -138,9 +132,6 @@ public void setTargetEnvironment(String targetEnvironment) { * * @param targetEnvironment The new value for the TargetEnvironment property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see ExportEnvironment */ public CreateInstanceExportTaskRequest withTargetEnvironment(String targetEnvironment) { @@ -173,9 +164,6 @@ public void setTargetEnvironment(ExportEnvironment targetEnvironment) { * * @param targetEnvironment The new value for the TargetEnvironment property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see ExportEnvironment */ public CreateInstanceExportTaskRequest withTargetEnvironment(ExportEnvironment targetEnvironment) { @@ -207,9 +195,6 @@ public void setExportToS3Task(ExportToS3TaskSpecification exportToS3Task) { * Returns a reference to this object so that method calls can be chained together. * * @param exportToS3Task The new value for the ExportToS3Task property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInstanceExportTaskRequest withExportToS3Task(ExportToS3TaskSpecification exportToS3Task) { this.exportToS3Task = exportToS3Task; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateInstanceExportTaskResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateInstanceExportTaskResult.java index 7232d4f9e7c6..9ed39e49d51e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateInstanceExportTaskResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateInstanceExportTaskResult.java @@ -46,9 +46,6 @@ public void setExportTask(ExportTask exportTask) { * Returns a reference to this object so that method calls can be chained together. * * @param exportTask The new value for the ExportTask property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInstanceExportTaskResult withExportTask(ExportTask exportTask) { this.exportTask = exportTask; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateInternetGatewayResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateInternetGatewayResult.java index a491c4ffa989..0f726ac9a4a4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateInternetGatewayResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateInternetGatewayResult.java @@ -46,9 +46,6 @@ public void setInternetGateway(InternetGateway internetGateway) { * Returns a reference to this object so that method calls can be chained together. * * @param internetGateway The new value for the InternetGateway property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInternetGatewayResult withInternetGateway(InternetGateway internetGateway) { this.internetGateway = internetGateway; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateKeyPairRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateKeyPairRequest.java index 64f96845123e..ce414fa09c69 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateKeyPairRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateKeyPairRequest.java @@ -77,9 +77,6 @@ public void setKeyName(String keyName) { * Returns a reference to this object so that method calls can be chained together. * * @param keyName The unique name for the new key pair. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateKeyPairRequest withKeyName(String keyName) { this.keyName = keyName; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateKeyPairResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateKeyPairResult.java index 0b29adf7ba6d..1c495ca9d5eb 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateKeyPairResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateKeyPairResult.java @@ -51,9 +51,6 @@ public void setKeyPair(KeyPair keyPair) { * Returns a reference to this object so that method calls can be chained together. * * @param keyPair The newly created EC2 key pair. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateKeyPairResult withKeyPair(KeyPair keyPair) { this.keyPair = keyPair; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkAclEntryRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkAclEntryRequest.java index 0c0f5736a71d..9256cc28046b 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkAclEntryRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkAclEntryRequest.java @@ -110,9 +110,6 @@ public void setNetworkAclId(String networkAclId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkAclId ID of the ACL where the entry will be created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkAclEntryRequest withNetworkAclId(String networkAclId) { this.networkAclId = networkAclId; @@ -150,9 +147,6 @@ public void setRuleNumber(Integer ruleNumber) { * * @param ruleNumber Rule number to assign to the entry (e.g., 100). ACL entries are * processed in ascending order by rule number. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkAclEntryRequest withRuleNumber(Integer ruleNumber) { this.ruleNumber = ruleNumber; @@ -190,9 +184,6 @@ public void setProtocol(String protocol) { * * @param protocol IP protocol the rule applies to. Valid Values: tcp, * udp, icmp or an IP protocol number. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkAclEntryRequest withProtocol(String protocol) { this.protocol = protocol; @@ -238,9 +229,6 @@ public void setRuleAction(String ruleAction) { * * @param ruleAction Whether to allow or deny traffic that matches the rule. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RuleAction */ public CreateNetworkAclEntryRequest withRuleAction(String ruleAction) { @@ -273,9 +261,6 @@ public void setRuleAction(RuleAction ruleAction) { * * @param ruleAction Whether to allow or deny traffic that matches the rule. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RuleAction */ public CreateNetworkAclEntryRequest withRuleAction(RuleAction ruleAction) { @@ -319,9 +304,6 @@ public void setEgress(Boolean egress) { * @param egress Whether this rule applies to egress traffic from the subnet * (true) or ingress traffic to the subnet * (false). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkAclEntryRequest withEgress(Boolean egress) { this.egress = egress; @@ -372,9 +354,6 @@ public void setCidrBlock(String cidrBlock) { * * @param cidrBlock The CIDR range to allow or deny, in CIDR notation (e.g., * 172.16.0.0/24). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkAclEntryRequest withCidrBlock(String cidrBlock) { this.cidrBlock = cidrBlock; @@ -406,9 +385,6 @@ public void setIcmpTypeCode(IcmpTypeCode icmpTypeCode) { * Returns a reference to this object so that method calls can be chained together. * * @param icmpTypeCode ICMP values. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkAclEntryRequest withIcmpTypeCode(IcmpTypeCode icmpTypeCode) { this.icmpTypeCode = icmpTypeCode; @@ -440,9 +416,6 @@ public void setPortRange(PortRange portRange) { * Returns a reference to this object so that method calls can be chained together. * * @param portRange Port ranges. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkAclEntryRequest withPortRange(PortRange portRange) { this.portRange = portRange; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkAclRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkAclRequest.java index 64e0aaa02457..49e571415480 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkAclRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkAclRequest.java @@ -56,9 +56,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The ID of the VPC where the network ACL will be created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkAclRequest withVpcId(String vpcId) { this.vpcId = vpcId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkAclResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkAclResult.java index 1ceca7957395..4eec12bdadbd 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkAclResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkAclResult.java @@ -46,9 +46,6 @@ public void setNetworkAcl(NetworkAcl networkAcl) { * Returns a reference to this object so that method calls can be chained together. * * @param networkAcl The new value for the NetworkAcl property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkAclResult withNetworkAcl(NetworkAcl networkAcl) { this.networkAcl = networkAcl; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkInterfaceRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkInterfaceRequest.java index 62a82d94fde4..20dcb58e0040 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkInterfaceRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkInterfaceRequest.java @@ -60,9 +60,6 @@ public void setSubnetId(String subnetId) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetId The new value for the SubnetId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkInterfaceRequest withSubnetId(String subnetId) { this.subnetId = subnetId; @@ -94,9 +91,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkInterfaceRequest withDescription(String description) { this.description = description; @@ -128,9 +122,6 @@ public void setPrivateIpAddress(String privateIpAddress) { * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddress The new value for the PrivateIpAddress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkInterfaceRequest withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; @@ -173,9 +164,6 @@ public void setGroups(java.util.Collection groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkInterfaceRequest withGroups(String... groups) { if (getGroups() == null) setGroups(new java.util.ArrayList(groups.length)); @@ -191,9 +179,6 @@ public CreateNetworkInterfaceRequest withGroups(String... groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkInterfaceRequest withGroups(java.util.Collection groups) { if (groups == null) { @@ -242,9 +227,6 @@ public void setPrivateIpAddresses(java.util.Collection(privateIpAddresses.length)); @@ -260,9 +242,6 @@ public CreateNetworkInterfaceRequest withPrivateIpAddresses(PrivateIpAddressSpec * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddresses The new value for the PrivateIpAddresses property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkInterfaceRequest withPrivateIpAddresses(java.util.Collection privateIpAddresses) { if (privateIpAddresses == null) { @@ -306,9 +285,6 @@ public void setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressC * * @param secondaryPrivateIpAddressCount The new value for the SecondaryPrivateIpAddressCount property for this * object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkInterfaceRequest withSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount) { this.secondaryPrivateIpAddressCount = secondaryPrivateIpAddressCount; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkInterfaceResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkInterfaceResult.java index c580c52b9e1b..5b11dbefcf20 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkInterfaceResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkInterfaceResult.java @@ -46,9 +46,6 @@ public void setNetworkInterface(NetworkInterface networkInterface) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterface The new value for the NetworkInterface property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateNetworkInterfaceResult withNetworkInterface(NetworkInterface networkInterface) { this.networkInterface = networkInterface; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreatePlacementGroupRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreatePlacementGroupRequest.java index 258a216be32f..7d9e43e40d76 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreatePlacementGroupRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreatePlacementGroupRequest.java @@ -100,9 +100,6 @@ public void setGroupName(String groupName) { * Returns a reference to this object so that method calls can be chained together. * * @param groupName The name of the PlacementGroup. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreatePlacementGroupRequest withGroupName(String groupName) { this.groupName = groupName; @@ -148,9 +145,6 @@ public void setStrategy(String strategy) { * * @param strategy The PlacementGroup strategy. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see PlacementStrategy */ public CreatePlacementGroupRequest withStrategy(String strategy) { @@ -183,9 +177,6 @@ public void setStrategy(PlacementStrategy strategy) { * * @param strategy The PlacementGroup strategy. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see PlacementStrategy */ public CreatePlacementGroupRequest withStrategy(PlacementStrategy strategy) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateReservedInstancesListingRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateReservedInstancesListingRequest.java index b7f9257a7f6c..8fea3677da9f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateReservedInstancesListingRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateReservedInstancesListingRequest.java @@ -56,9 +56,6 @@ public void setReservedInstancesId(String reservedInstancesId) { * Returns a reference to this object so that method calls can be chained together. * * @param reservedInstancesId The new value for the ReservedInstancesId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateReservedInstancesListingRequest withReservedInstancesId(String reservedInstancesId) { this.reservedInstancesId = reservedInstancesId; @@ -90,9 +87,6 @@ public void setInstanceCount(Integer instanceCount) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceCount The new value for the InstanceCount property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateReservedInstancesListingRequest withInstanceCount(Integer instanceCount) { this.instanceCount = instanceCount; @@ -135,9 +129,6 @@ public void setPriceSchedules(java.util.Collection p * Returns a reference to this object so that method calls can be chained together. * * @param priceSchedules The new value for the PriceSchedules property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateReservedInstancesListingRequest withPriceSchedules(PriceScheduleSpecification... priceSchedules) { if (getPriceSchedules() == null) setPriceSchedules(new java.util.ArrayList(priceSchedules.length)); @@ -153,9 +144,6 @@ public CreateReservedInstancesListingRequest withPriceSchedules(PriceScheduleSpe * Returns a reference to this object so that method calls can be chained together. * * @param priceSchedules The new value for the PriceSchedules property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateReservedInstancesListingRequest withPriceSchedules(java.util.Collection priceSchedules) { if (priceSchedules == null) { @@ -193,9 +181,6 @@ public void setClientToken(String clientToken) { * Returns a reference to this object so that method calls can be chained together. * * @param clientToken The new value for the ClientToken property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateReservedInstancesListingRequest withClientToken(String clientToken) { this.clientToken = clientToken; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateReservedInstancesListingResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateReservedInstancesListingResult.java index e95839cee2f0..d8b21c58371d 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateReservedInstancesListingResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateReservedInstancesListingResult.java @@ -62,9 +62,6 @@ public void setReservedInstancesListings(java.util.Collection(reservedInstancesListings.length)); @@ -82,9 +79,6 @@ public CreateReservedInstancesListingResult withReservedInstancesListings(Reserv * * @param reservedInstancesListings The new value for the ReservedInstancesListings property for this * object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateReservedInstancesListingResult withReservedInstancesListings(java.util.Collection reservedInstancesListings) { if (reservedInstancesListings == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateRouteRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateRouteRequest.java index f07cf78a3cce..ecdc55a0a00b 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateRouteRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateRouteRequest.java @@ -95,9 +95,6 @@ public void setRouteTableId(String routeTableId) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTableId The ID of the route table where the route will be added. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateRouteRequest withRouteTableId(String routeTableId) { this.routeTableId = routeTableId; @@ -141,9 +138,6 @@ public void setDestinationCidrBlock(String destinationCidrBlock) { * @param destinationCidrBlock The CIDR address block used for the destination match. For example: * 0.0.0.0/0. Routing decisions are based on the most * specific match. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateRouteRequest withDestinationCidrBlock(String destinationCidrBlock) { this.destinationCidrBlock = destinationCidrBlock; @@ -187,9 +181,6 @@ public void setGatewayId(String gatewayId) { * @param gatewayId The ID of a VPN or Internet gateway attached to your VPC. You must * provide either GatewayId or InstanceId, but * not both. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateRouteRequest withGatewayId(String gatewayId) { this.gatewayId = gatewayId; @@ -227,9 +218,6 @@ public void setInstanceId(String instanceId) { * * @param instanceId The ID of a NAT instance in your VPC. You must provide either * GatewayId or InstanceId, but not both. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateRouteRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -261,9 +249,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateRouteRequest withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateRouteTableRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateRouteTableRequest.java index 13c7dc3511b8..360f9b918ec7 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateRouteTableRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateRouteTableRequest.java @@ -57,9 +57,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The ID of the VPC where the route table will be created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateRouteTableRequest withVpcId(String vpcId) { this.vpcId = vpcId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateRouteTableResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateRouteTableResult.java index 647ff5d0bb9b..a4fecd1418f6 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateRouteTableResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateRouteTableResult.java @@ -46,9 +46,6 @@ public void setRouteTable(RouteTable routeTable) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTable The new value for the RouteTable property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateRouteTableResult withRouteTable(RouteTable routeTable) { this.routeTable = routeTable; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateSecurityGroupRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateSecurityGroupRequest.java index 24b0b3882790..3067d748283f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateSecurityGroupRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateSecurityGroupRequest.java @@ -95,9 +95,6 @@ public void setGroupName(String groupName) { * Returns a reference to this object so that method calls can be chained together. * * @param groupName Name of the security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSecurityGroupRequest withGroupName(String groupName) { this.groupName = groupName; @@ -129,9 +126,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description Description of the group. This is informational only. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSecurityGroupRequest withDescription(String description) { this.description = description; @@ -163,9 +157,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId ID of the VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSecurityGroupRequest withVpcId(String vpcId) { this.vpcId = vpcId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateSecurityGroupResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateSecurityGroupResult.java index 5a9b20bbd019..533fbd4a074b 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateSecurityGroupResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateSecurityGroupResult.java @@ -46,9 +46,6 @@ public void setGroupId(String groupId) { * Returns a reference to this object so that method calls can be chained together. * * @param groupId The new value for the GroupId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSecurityGroupResult withGroupId(String groupId) { this.groupId = groupId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateSnapshotRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateSnapshotRequest.java index 34f8d059fbfb..6bd60cd5a1a9 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateSnapshotRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateSnapshotRequest.java @@ -89,9 +89,6 @@ public void setVolumeId(String volumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeId The ID of the volume from which to create the snapshot. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSnapshotRequest withVolumeId(String volumeId) { this.volumeId = volumeId; @@ -123,9 +120,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The description for the new snapshot. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSnapshotRequest withDescription(String description) { this.description = description; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateSnapshotResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateSnapshotResult.java index e036d9e59f4c..4c6ed6b42941 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateSnapshotResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateSnapshotResult.java @@ -51,9 +51,6 @@ public void setSnapshot(Snapshot snapshot) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshot The new snapshot. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSnapshotResult withSnapshot(Snapshot snapshot) { this.snapshot = snapshot; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateSpotDatafeedSubscriptionRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateSpotDatafeedSubscriptionRequest.java index ae33c613397c..9d52de5510de 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateSpotDatafeedSubscriptionRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateSpotDatafeedSubscriptionRequest.java @@ -87,9 +87,6 @@ public void setBucket(String bucket) { * Returns a reference to this object so that method calls can be chained together. * * @param bucket The Amazon S3 bucket in which to store the Spot Instance datafeed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSpotDatafeedSubscriptionRequest withBucket(String bucket) { this.bucket = bucket; @@ -121,9 +118,6 @@ public void setPrefix(String prefix) { * Returns a reference to this object so that method calls can be chained together. * * @param prefix The prefix that is prepended to datafeed files. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSpotDatafeedSubscriptionRequest withPrefix(String prefix) { this.prefix = prefix; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateSpotDatafeedSubscriptionResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateSpotDatafeedSubscriptionResult.java index adb0e258e6e7..1f0e89332e2d 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateSpotDatafeedSubscriptionResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateSpotDatafeedSubscriptionResult.java @@ -49,9 +49,6 @@ public void setSpotDatafeedSubscription(SpotDatafeedSubscription spotDatafeedSub * Returns a reference to this object so that method calls can be chained together. * * @param spotDatafeedSubscription The SpotDatafeedSubscriptionType data type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSpotDatafeedSubscriptionResult withSpotDatafeedSubscription(SpotDatafeedSubscription spotDatafeedSubscription) { this.spotDatafeedSubscription = spotDatafeedSubscription; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateSubnetRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateSubnetRequest.java index f02e489b072a..68fd545fb012 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateSubnetRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateSubnetRequest.java @@ -96,9 +96,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The ID of the VPC to create the subnet in. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSubnetRequest withVpcId(String vpcId) { this.vpcId = vpcId; @@ -130,9 +127,6 @@ public void setCidrBlock(String cidrBlock) { * Returns a reference to this object so that method calls can be chained together. * * @param cidrBlock The CIDR block the subnet is to cover. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSubnetRequest withCidrBlock(String cidrBlock) { this.cidrBlock = cidrBlock; @@ -164,9 +158,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The Availability Zone to create the subnet in. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSubnetRequest withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateSubnetResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateSubnetResult.java index 507a34e1ab98..c6c8e1de384e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateSubnetResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateSubnetResult.java @@ -51,9 +51,6 @@ public void setSubnet(Subnet subnet) { * Returns a reference to this object so that method calls can be chained together. * * @param subnet - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateSubnetResult withSubnet(Subnet subnet) { this.subnet = subnet; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateTagsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateTagsRequest.java index d85db9f9eea6..91eabfb03b17 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateTagsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateTagsRequest.java @@ -105,9 +105,6 @@ public void setResources(java.util.Collection resources) { * * @param resources One or more IDs of resources to tag. This could be the ID of an AMI, * an instance, an EBS volume, or snapshot, etc. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateTagsRequest withResources(String... resources) { if (getResources() == null) setResources(new java.util.ArrayList(resources.length)); @@ -125,9 +122,6 @@ public CreateTagsRequest withResources(String... resources) { * * @param resources One or more IDs of resources to tag. This could be the ID of an AMI, * an instance, an EBS volume, or snapshot, etc. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateTagsRequest withResources(java.util.Collection resources) { if (resources == null) { @@ -182,9 +176,6 @@ public void setTags(java.util.Collection tags) { * * @param tags The tags to add or overwrite for the specified resources. Each tag * item consists of a key-value pair. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateTagsRequest withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -202,9 +193,6 @@ public CreateTagsRequest withTags(Tag... tags) { * * @param tags The tags to add or overwrite for the specified resources. Each tag * item consists of a key-value pair. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateTagsRequest withTags(java.util.Collection tags) { if (tags == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateVolumePermission.java b/src/main/java/com/amazonaws/services/ec2/model/CreateVolumePermission.java index 235e67b4ba80..429f8ef9438e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateVolumePermission.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateVolumePermission.java @@ -57,9 +57,6 @@ public void setUserId(String userId) { * Returns a reference to this object so that method calls can be chained together. * * @param userId The user ID of the user that can create volumes from the snapshot. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVolumePermission withUserId(String userId) { this.userId = userId; @@ -97,9 +94,6 @@ public void setGroup(String group) { * * @param group The group that is allowed to create volumes from the snapshot * (currently supports "all"). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVolumePermission withGroup(String group) { this.group = group; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateVolumePermissionModifications.java b/src/main/java/com/amazonaws/services/ec2/model/CreateVolumePermissionModifications.java index 7d43991c5797..ab2c86c09dad 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateVolumePermissionModifications.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateVolumePermissionModifications.java @@ -59,9 +59,6 @@ public void setAdd(java.util.Collection add) { * Returns a reference to this object so that method calls can be chained together. * * @param add The new value for the Add property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVolumePermissionModifications withAdd(CreateVolumePermission... add) { if (getAdd() == null) setAdd(new java.util.ArrayList(add.length)); @@ -77,9 +74,6 @@ public CreateVolumePermissionModifications withAdd(CreateVolumePermission... add * Returns a reference to this object so that method calls can be chained together. * * @param add The new value for the Add property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVolumePermissionModifications withAdd(java.util.Collection add) { if (add == null) { @@ -128,9 +122,6 @@ public void setRemove(java.util.Collection remove) { * Returns a reference to this object so that method calls can be chained together. * * @param remove The new value for the Remove property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVolumePermissionModifications withRemove(CreateVolumePermission... remove) { if (getRemove() == null) setRemove(new java.util.ArrayList(remove.length)); @@ -146,9 +137,6 @@ public CreateVolumePermissionModifications withRemove(CreateVolumePermission... * Returns a reference to this object so that method calls can be chained together. * * @param remove The new value for the Remove property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVolumePermissionModifications withRemove(java.util.Collection remove) { if (remove == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateVolumeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateVolumeRequest.java index b73795f1acd5..194cfb74e068 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateVolumeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateVolumeRequest.java @@ -120,9 +120,6 @@ public void setSize(Integer size) { * * @param size The size of the volume, in gigabytes. Required if you are not creating * a volume from a snapshot. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVolumeRequest withSize(Integer size) { this.size = size; @@ -154,9 +151,6 @@ public void setSnapshotId(String snapshotId) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshotId The ID of the snapshot from which to create the new volume. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVolumeRequest withSnapshotId(String snapshotId) { this.snapshotId = snapshotId; @@ -188,9 +182,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The Availability Zone in which to create the new volume. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVolumeRequest withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -236,9 +227,6 @@ public void setVolumeType(String volumeType) { * * @param volumeType The new value for the VolumeType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VolumeType */ public CreateVolumeRequest withVolumeType(String volumeType) { @@ -271,9 +259,6 @@ public void setVolumeType(VolumeType volumeType) { * * @param volumeType The new value for the VolumeType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VolumeType */ public CreateVolumeRequest withVolumeType(VolumeType volumeType) { @@ -305,9 +290,6 @@ public void setIops(Integer iops) { * Returns a reference to this object so that method calls can be chained together. * * @param iops The new value for the Iops property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVolumeRequest withIops(Integer iops) { this.iops = iops; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateVolumeResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateVolumeResult.java index caa2736fe994..0d4fd49cafe0 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateVolumeResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateVolumeResult.java @@ -51,9 +51,6 @@ public void setVolume(Volume volume) { * Returns a reference to this object so that method calls can be chained together. * * @param volume The newly created EBS volume. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVolumeResult withVolume(Volume volume) { this.volume = volume; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateVpcRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateVpcRequest.java index 5a5c24a46238..cbeabcd9af57 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateVpcRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateVpcRequest.java @@ -89,9 +89,6 @@ public void setCidrBlock(String cidrBlock) { * Returns a reference to this object so that method calls can be chained together. * * @param cidrBlock A valid CIDR block. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVpcRequest withCidrBlock(String cidrBlock) { this.cidrBlock = cidrBlock; @@ -135,9 +132,6 @@ public void setInstanceTenancy(String instanceTenancy) { * @param instanceTenancy The allowed tenancy of instances launched into the VPC. A value of * default means instances can be launched with any tenancy; a value of * dedicated means instances must be launched with tenancy as dedicated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVpcRequest withInstanceTenancy(String instanceTenancy) { this.instanceTenancy = instanceTenancy; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateVpcResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateVpcResult.java index 132ca858a254..527c30b59559 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateVpcResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateVpcResult.java @@ -51,9 +51,6 @@ public void setVpc(Vpc vpc) { * Returns a reference to this object so that method calls can be chained together. * * @param vpc Information about the VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVpcResult withVpc(Vpc vpc) { this.vpc = vpc; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateVpnConnectionRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateVpnConnectionRequest.java index af8396a960d7..e35f9ea24865 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateVpnConnectionRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateVpnConnectionRequest.java @@ -103,9 +103,6 @@ public void setType(String type) { * Returns a reference to this object so that method calls can be chained together. * * @param type The type of VPN connection. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVpnConnectionRequest withType(String type) { this.type = type; @@ -137,9 +134,6 @@ public void setCustomerGatewayId(String customerGatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param customerGatewayId The ID of the customer gateway. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVpnConnectionRequest withCustomerGatewayId(String customerGatewayId) { this.customerGatewayId = customerGatewayId; @@ -171,9 +165,6 @@ public void setVpnGatewayId(String vpnGatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpnGatewayId The ID of the VPN gateway. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVpnConnectionRequest withVpnGatewayId(String vpnGatewayId) { this.vpnGatewayId = vpnGatewayId; @@ -205,9 +196,6 @@ public void setOptions(VpnConnectionOptionsSpecification options) { * Returns a reference to this object so that method calls can be chained together. * * @param options The new value for the Options property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVpnConnectionRequest withOptions(VpnConnectionOptionsSpecification options) { this.options = options; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateVpnConnectionResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateVpnConnectionResult.java index 13edf614513e..a374f8de490d 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateVpnConnectionResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateVpnConnectionResult.java @@ -51,9 +51,6 @@ public void setVpnConnection(VpnConnection vpnConnection) { * Returns a reference to this object so that method calls can be chained together. * * @param vpnConnection - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVpnConnectionResult withVpnConnection(VpnConnection vpnConnection) { this.vpnConnection = vpnConnection; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateVpnConnectionRouteRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateVpnConnectionRouteRequest.java index f3b5ea16ffa0..b2aa746c15f6 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateVpnConnectionRouteRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateVpnConnectionRouteRequest.java @@ -52,9 +52,6 @@ public void setVpnConnectionId(String vpnConnectionId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpnConnectionId The new value for the VpnConnectionId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVpnConnectionRouteRequest withVpnConnectionId(String vpnConnectionId) { this.vpnConnectionId = vpnConnectionId; @@ -87,9 +84,6 @@ public void setDestinationCidrBlock(String destinationCidrBlock) { * Returns a reference to this object so that method calls can be chained together. * * @param destinationCidrBlock The new value for the DestinationCidrBlock property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVpnConnectionRouteRequest withDestinationCidrBlock(String destinationCidrBlock) { this.destinationCidrBlock = destinationCidrBlock; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateVpnGatewayRequest.java b/src/main/java/com/amazonaws/services/ec2/model/CreateVpnGatewayRequest.java index 5d3cbd4f646b..0a80f051612a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateVpnGatewayRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateVpnGatewayRequest.java @@ -82,9 +82,6 @@ public void setType(String type) { * Returns a reference to this object so that method calls can be chained together. * * @param type The type of VPN connection this VPN gateway supports. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVpnGatewayRequest withType(String type) { this.type = type; @@ -116,9 +113,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The Availability Zone in which to create the VPN gateway. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVpnGatewayRequest withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CreateVpnGatewayResult.java b/src/main/java/com/amazonaws/services/ec2/model/CreateVpnGatewayResult.java index b72d556b5374..bce83d7882bc 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CreateVpnGatewayResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CreateVpnGatewayResult.java @@ -51,9 +51,6 @@ public void setVpnGateway(VpnGateway vpnGateway) { * Returns a reference to this object so that method calls can be chained together. * * @param vpnGateway - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateVpnGatewayResult withVpnGateway(VpnGateway vpnGateway) { this.vpnGateway = vpnGateway; diff --git a/src/main/java/com/amazonaws/services/ec2/model/CustomerGateway.java b/src/main/java/com/amazonaws/services/ec2/model/CustomerGateway.java index 5f9670d65bfd..df305de50cdc 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/CustomerGateway.java +++ b/src/main/java/com/amazonaws/services/ec2/model/CustomerGateway.java @@ -80,9 +80,6 @@ public void setCustomerGatewayId(String customerGatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param customerGatewayId Specifies the ID of the customer gateway. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CustomerGateway withCustomerGatewayId(String customerGatewayId) { this.customerGatewayId = customerGatewayId; @@ -126,9 +123,6 @@ public void setState(String state) { * @param state Describes the current state of the customer gateway. Valid values are * pending, available, deleting, * and deleted. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CustomerGateway withState(String state) { this.state = state; @@ -160,9 +154,6 @@ public void setType(String type) { * Returns a reference to this object so that method calls can be chained together. * * @param type Specifies the type of VPN connection the customer gateway supports. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CustomerGateway withType(String type) { this.type = type; @@ -200,9 +191,6 @@ public void setIpAddress(String ipAddress) { * * @param ipAddress Contains the Internet-routable IP address of the customer gateway's * outside interface. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CustomerGateway withIpAddress(String ipAddress) { this.ipAddress = ipAddress; @@ -240,9 +228,6 @@ public void setBgpAsn(String bgpAsn) { * * @param bgpAsn Specifies the customer gateway's Border Gateway Protocol (BGP) * Autonomous System Number (ASN). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CustomerGateway withBgpAsn(String bgpAsn) { this.bgpAsn = bgpAsn; @@ -285,9 +270,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the CustomerGateway. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CustomerGateway withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -303,9 +285,6 @@ public CustomerGateway withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the CustomerGateway. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CustomerGateway withTags(java.util.Collection tags) { if (tags == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeactivateLicenseRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeactivateLicenseRequest.java index e4ece9173c39..a7436d131f07 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeactivateLicenseRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeactivateLicenseRequest.java @@ -86,9 +86,6 @@ public void setLicenseId(String licenseId) { * Returns a reference to this object so that method calls can be chained together. * * @param licenseId Specifies the ID for the specific license to deactivate against. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeactivateLicenseRequest withLicenseId(String licenseId) { this.licenseId = licenseId; @@ -120,9 +117,6 @@ public void setCapacity(Integer capacity) { * Returns a reference to this object so that method calls can be chained together. * * @param capacity Specifies the amount of capacity to deactivate against the license. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeactivateLicenseRequest withCapacity(Integer capacity) { this.capacity = capacity; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteCustomerGatewayRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteCustomerGatewayRequest.java index f180c85ffe6c..871ebebab0ee 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteCustomerGatewayRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteCustomerGatewayRequest.java @@ -80,9 +80,6 @@ public void setCustomerGatewayId(String customerGatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param customerGatewayId The ID of the customer gateway to delete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteCustomerGatewayRequest withCustomerGatewayId(String customerGatewayId) { this.customerGatewayId = customerGatewayId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteDhcpOptionsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteDhcpOptionsRequest.java index 2f2404341e15..e9f0e47a6c96 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteDhcpOptionsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteDhcpOptionsRequest.java @@ -77,9 +77,6 @@ public void setDhcpOptionsId(String dhcpOptionsId) { * Returns a reference to this object so that method calls can be chained together. * * @param dhcpOptionsId The ID of the DHCP options set to delete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteDhcpOptionsRequest withDhcpOptionsId(String dhcpOptionsId) { this.dhcpOptionsId = dhcpOptionsId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteInternetGatewayRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteInternetGatewayRequest.java index 3cf96a7230d9..652cec15d415 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteInternetGatewayRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteInternetGatewayRequest.java @@ -56,9 +56,6 @@ public void setInternetGatewayId(String internetGatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param internetGatewayId The ID of the Internet gateway to be deleted. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteInternetGatewayRequest withInternetGatewayId(String internetGatewayId) { this.internetGatewayId = internetGatewayId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteKeyPairRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteKeyPairRequest.java index 453c2d0d25b8..96294fba49e4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteKeyPairRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteKeyPairRequest.java @@ -76,9 +76,6 @@ public void setKeyName(String keyName) { * Returns a reference to this object so that method calls can be chained together. * * @param keyName The name of the Amazon EC2 key pair to delete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteKeyPairRequest withKeyName(String keyName) { this.keyName = keyName; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteNetworkAclEntryRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteNetworkAclEntryRequest.java index 7cc8036cb5d7..e751c0078d81 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteNetworkAclEntryRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteNetworkAclEntryRequest.java @@ -67,9 +67,6 @@ public void setNetworkAclId(String networkAclId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkAclId ID of the network ACL. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteNetworkAclEntryRequest withNetworkAclId(String networkAclId) { this.networkAclId = networkAclId; @@ -101,9 +98,6 @@ public void setRuleNumber(Integer ruleNumber) { * Returns a reference to this object so that method calls can be chained together. * * @param ruleNumber Rule number for the entry to delete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteNetworkAclEntryRequest withRuleNumber(Integer ruleNumber) { this.ruleNumber = ruleNumber; @@ -141,9 +135,6 @@ public void setEgress(Boolean egress) { * * @param egress Whether the rule to delete is an egress rule (true) or * ingress rule (false). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteNetworkAclEntryRequest withEgress(Boolean egress) { this.egress = egress; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteNetworkAclRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteNetworkAclRequest.java index 8f722c48cf51..a6dce0152f5d 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteNetworkAclRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteNetworkAclRequest.java @@ -56,9 +56,6 @@ public void setNetworkAclId(String networkAclId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkAclId The ID of the network ACL to be deleted. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteNetworkAclRequest withNetworkAclId(String networkAclId) { this.networkAclId = networkAclId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteNetworkInterfaceRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteNetworkInterfaceRequest.java index aa7a48264f1e..2b22e7b08091 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteNetworkInterfaceRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteNetworkInterfaceRequest.java @@ -50,9 +50,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteNetworkInterfaceRequest withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeletePlacementGroupRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeletePlacementGroupRequest.java index a40c9940dffa..d55767e0253c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeletePlacementGroupRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeletePlacementGroupRequest.java @@ -77,9 +77,6 @@ public void setGroupName(String groupName) { * Returns a reference to this object so that method calls can be chained together. * * @param groupName The name of the PlacementGroup to delete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeletePlacementGroupRequest withGroupName(String groupName) { this.groupName = groupName; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteRouteRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteRouteRequest.java index 78f9ccba9c27..ef8800d052b9 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteRouteRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteRouteRequest.java @@ -63,9 +63,6 @@ public void setRouteTableId(String routeTableId) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTableId The ID of the route table where the route will be deleted. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteRouteRequest withRouteTableId(String routeTableId) { this.routeTableId = routeTableId; @@ -103,9 +100,6 @@ public void setDestinationCidrBlock(String destinationCidrBlock) { * * @param destinationCidrBlock The CIDR range for the route you want to delete. The value you specify * must exactly match the CIDR for the route you want to delete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteRouteRequest withDestinationCidrBlock(String destinationCidrBlock) { this.destinationCidrBlock = destinationCidrBlock; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteRouteTableRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteRouteTableRequest.java index b1c7957fb19a..9358e10a07b1 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteRouteTableRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteRouteTableRequest.java @@ -57,9 +57,6 @@ public void setRouteTableId(String routeTableId) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTableId The ID of the route table to be deleted. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteRouteTableRequest withRouteTableId(String routeTableId) { this.routeTableId = routeTableId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteSecurityGroupRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteSecurityGroupRequest.java index b1f6af709866..22ccd15bb0e1 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteSecurityGroupRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteSecurityGroupRequest.java @@ -86,9 +86,6 @@ public void setGroupName(String groupName) { * Returns a reference to this object so that method calls can be chained together. * * @param groupName The name of the Amazon EC2 security group to delete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteSecurityGroupRequest withGroupName(String groupName) { this.groupName = groupName; @@ -120,9 +117,6 @@ public void setGroupId(String groupId) { * Returns a reference to this object so that method calls can be chained together. * * @param groupId The ID of the Amazon EC2 security group to delete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteSecurityGroupRequest withGroupId(String groupId) { this.groupId = groupId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteSnapshotRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteSnapshotRequest.java index 1da024bd3c05..3027ac527d98 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteSnapshotRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteSnapshotRequest.java @@ -77,9 +77,6 @@ public void setSnapshotId(String snapshotId) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshotId The ID of the snapshot to delete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteSnapshotRequest withSnapshotId(String snapshotId) { this.snapshotId = snapshotId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteSubnetRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteSubnetRequest.java index 108b62d618ae..af3dad628606 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteSubnetRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteSubnetRequest.java @@ -76,9 +76,6 @@ public void setSubnetId(String subnetId) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetId The ID of the subnet you want to delete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteSubnetRequest withSubnetId(String subnetId) { this.subnetId = subnetId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteTagsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteTagsRequest.java index cc03075f8a5c..7942c34e834a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteTagsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteTagsRequest.java @@ -102,9 +102,6 @@ public void setResources(java.util.Collection resources) { * * @param resources A list of one or more resource IDs. This could be the ID of an AMI, an * instance, an EBS volume, or snapshot, etc. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteTagsRequest withResources(String... resources) { if (getResources() == null) setResources(new java.util.ArrayList(resources.length)); @@ -122,9 +119,6 @@ public DeleteTagsRequest withResources(String... resources) { * * @param resources A list of one or more resource IDs. This could be the ID of an AMI, an * instance, an EBS volume, or snapshot, etc. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteTagsRequest withResources(java.util.Collection resources) { if (resources == null) { @@ -185,9 +179,6 @@ public void setTags(java.util.Collection tags) { * @param tags The tags to delete from the specified resources. Each tag item * consists of a key-value pair.

If a tag is specified without a * value, the tag and all of its values are deleted. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteTagsRequest withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -207,9 +198,6 @@ public DeleteTagsRequest withTags(Tag... tags) { * @param tags The tags to delete from the specified resources. Each tag item * consists of a key-value pair.

If a tag is specified without a * value, the tag and all of its values are deleted. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteTagsRequest withTags(java.util.Collection tags) { if (tags == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteVolumeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteVolumeRequest.java index f9305b250d60..4eda51c6c092 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteVolumeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteVolumeRequest.java @@ -76,9 +76,6 @@ public void setVolumeId(String volumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeId The ID of the EBS volume to delete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteVolumeRequest withVolumeId(String volumeId) { this.volumeId = volumeId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteVpcRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteVpcRequest.java index 879ec3f322b9..8ac470473b70 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteVpcRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteVpcRequest.java @@ -77,9 +77,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The ID of the VPC you want to delete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteVpcRequest withVpcId(String vpcId) { this.vpcId = vpcId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteVpnConnectionRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteVpnConnectionRequest.java index 49824d9f13e0..a1fce213f2c1 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteVpnConnectionRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteVpnConnectionRequest.java @@ -83,9 +83,6 @@ public void setVpnConnectionId(String vpnConnectionId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpnConnectionId The ID of the VPN connection to delete - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteVpnConnectionRequest withVpnConnectionId(String vpnConnectionId) { this.vpnConnectionId = vpnConnectionId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteVpnConnectionRouteRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteVpnConnectionRouteRequest.java index 7094f1aff41a..9c8a1c0f23d5 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteVpnConnectionRouteRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteVpnConnectionRouteRequest.java @@ -52,9 +52,6 @@ public void setVpnConnectionId(String vpnConnectionId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpnConnectionId The new value for the VpnConnectionId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteVpnConnectionRouteRequest withVpnConnectionId(String vpnConnectionId) { this.vpnConnectionId = vpnConnectionId; @@ -87,9 +84,6 @@ public void setDestinationCidrBlock(String destinationCidrBlock) { * Returns a reference to this object so that method calls can be chained together. * * @param destinationCidrBlock The new value for the DestinationCidrBlock property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteVpnConnectionRouteRequest withDestinationCidrBlock(String destinationCidrBlock) { this.destinationCidrBlock = destinationCidrBlock; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeleteVpnGatewayRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeleteVpnGatewayRequest.java index 64d07fa60915..7ccc498828c5 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeleteVpnGatewayRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeleteVpnGatewayRequest.java @@ -78,9 +78,6 @@ public void setVpnGatewayId(String vpnGatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpnGatewayId The ID of the VPN gateway to delete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteVpnGatewayRequest withVpnGatewayId(String vpnGatewayId) { this.vpnGatewayId = vpnGatewayId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DeregisterImageRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DeregisterImageRequest.java index b5e64805cda8..6686f603860b 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DeregisterImageRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DeregisterImageRequest.java @@ -76,9 +76,6 @@ public void setImageId(String imageId) { * Returns a reference to this object so that method calls can be chained together. * * @param imageId The ID of the AMI to deregister. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeregisterImageRequest withImageId(String imageId) { this.imageId = imageId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeAccountAttributesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeAccountAttributesRequest.java index 0ed59485bb16..c48ba56ba304 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeAccountAttributesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeAccountAttributesRequest.java @@ -61,9 +61,6 @@ public void setAttributeNames(java.util.Collection attributeNames) { * Returns a reference to this object so that method calls can be chained together. * * @param attributeNames The new value for the AttributeNames property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAccountAttributesRequest withAttributeNames(String... attributeNames) { if (getAttributeNames() == null) setAttributeNames(new java.util.ArrayList(attributeNames.length)); @@ -79,9 +76,6 @@ public DescribeAccountAttributesRequest withAttributeNames(String... attributeNa * Returns a reference to this object so that method calls can be chained together. * * @param attributeNames The new value for the AttributeNames property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAccountAttributesRequest withAttributeNames(java.util.Collection attributeNames) { if (attributeNames == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeAccountAttributesResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeAccountAttributesResult.java index 3fb398612eca..dad1de993d5c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeAccountAttributesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeAccountAttributesResult.java @@ -57,9 +57,6 @@ public void setAccountAttributes(java.util.Collection accountA * Returns a reference to this object so that method calls can be chained together. * * @param accountAttributes The new value for the AccountAttributes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAccountAttributesResult withAccountAttributes(AccountAttribute... accountAttributes) { if (getAccountAttributes() == null) setAccountAttributes(new java.util.ArrayList(accountAttributes.length)); @@ -75,9 +72,6 @@ public DescribeAccountAttributesResult withAccountAttributes(AccountAttribute... * Returns a reference to this object so that method calls can be chained together. * * @param accountAttributes The new value for the AccountAttributes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAccountAttributesResult withAccountAttributes(java.util.Collection accountAttributes) { if (accountAttributes == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeAddressesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeAddressesRequest.java index 9fbbfb947804..5e46446279cc 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeAddressesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeAddressesRequest.java @@ -77,9 +77,6 @@ public void setPublicIps(java.util.Collection publicIps) { * Returns a reference to this object so that method calls can be chained together. * * @param publicIps The optional list of Elastic IP addresses to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAddressesRequest withPublicIps(String... publicIps) { if (getPublicIps() == null) setPublicIps(new java.util.ArrayList(publicIps.length)); @@ -95,9 +92,6 @@ public DescribeAddressesRequest withPublicIps(String... publicIps) { * Returns a reference to this object so that method calls can be chained together. * * @param publicIps The optional list of Elastic IP addresses to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAddressesRequest withPublicIps(java.util.Collection publicIps) { if (publicIps == null) { @@ -170,9 +164,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAddressesRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -196,9 +187,6 @@ public DescribeAddressesRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAddressesRequest withFilters(java.util.Collection filters) { if (filters == null) { @@ -247,9 +235,6 @@ public void setAllocationIds(java.util.Collection allocationIds) { * Returns a reference to this object so that method calls can be chained together. * * @param allocationIds The new value for the AllocationIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAddressesRequest withAllocationIds(String... allocationIds) { if (getAllocationIds() == null) setAllocationIds(new java.util.ArrayList(allocationIds.length)); @@ -265,9 +250,6 @@ public DescribeAddressesRequest withAllocationIds(String... allocationIds) { * Returns a reference to this object so that method calls can be chained together. * * @param allocationIds The new value for the AllocationIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAddressesRequest withAllocationIds(java.util.Collection allocationIds) { if (allocationIds == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeAddressesResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeAddressesResult.java index ab55b1a09754..485c8d298e7a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeAddressesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeAddressesResult.java @@ -62,9 +62,6 @@ public void setAddresses(java.util.Collection

addresses) { * Returns a reference to this object so that method calls can be chained together. * * @param addresses The list of Elastic IPs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAddressesResult withAddresses(Address... addresses) { if (getAddresses() == null) setAddresses(new java.util.ArrayList
(addresses.length)); @@ -80,9 +77,6 @@ public DescribeAddressesResult withAddresses(Address... addresses) { * Returns a reference to this object so that method calls can be chained together. * * @param addresses The list of Elastic IPs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAddressesResult withAddresses(java.util.Collection
addresses) { if (addresses == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeAvailabilityZonesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeAvailabilityZonesRequest.java index a30fe766765f..8c6e5496fe63 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeAvailabilityZonesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeAvailabilityZonesRequest.java @@ -79,9 +79,6 @@ public void setZoneNames(java.util.Collection zoneNames) { * Returns a reference to this object so that method calls can be chained together. * * @param zoneNames A list of the availability zone names to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAvailabilityZonesRequest withZoneNames(String... zoneNames) { if (getZoneNames() == null) setZoneNames(new java.util.ArrayList(zoneNames.length)); @@ -97,9 +94,6 @@ public DescribeAvailabilityZonesRequest withZoneNames(String... zoneNames) { * Returns a reference to this object so that method calls can be chained together. * * @param zoneNames A list of the availability zone names to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAvailabilityZonesRequest withZoneNames(java.util.Collection zoneNames) { if (zoneNames == null) { @@ -172,9 +166,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAvailabilityZonesRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -198,9 +189,6 @@ public DescribeAvailabilityZonesRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAvailabilityZonesRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeAvailabilityZonesResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeAvailabilityZonesResult.java index 83f587169c3a..7398422937f7 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeAvailabilityZonesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeAvailabilityZonesResult.java @@ -62,9 +62,6 @@ public void setAvailabilityZones(java.util.Collection availabi * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZones The list of described Amazon EC2 availability zones. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAvailabilityZonesResult withAvailabilityZones(AvailabilityZone... availabilityZones) { if (getAvailabilityZones() == null) setAvailabilityZones(new java.util.ArrayList(availabilityZones.length)); @@ -80,9 +77,6 @@ public DescribeAvailabilityZonesResult withAvailabilityZones(AvailabilityZone... * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZones The list of described Amazon EC2 availability zones. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAvailabilityZonesResult withAvailabilityZones(java.util.Collection availabilityZones) { if (availabilityZones == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeBundleTasksRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeBundleTasksRequest.java index c685da6dda19..60cfebd17f12 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeBundleTasksRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeBundleTasksRequest.java @@ -76,9 +76,6 @@ public void setBundleIds(java.util.Collection bundleIds) { * Returns a reference to this object so that method calls can be chained together. * * @param bundleIds The list of bundle task IDs to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeBundleTasksRequest withBundleIds(String... bundleIds) { if (getBundleIds() == null) setBundleIds(new java.util.ArrayList(bundleIds.length)); @@ -94,9 +91,6 @@ public DescribeBundleTasksRequest withBundleIds(String... bundleIds) { * Returns a reference to this object so that method calls can be chained together. * * @param bundleIds The list of bundle task IDs to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeBundleTasksRequest withBundleIds(java.util.Collection bundleIds) { if (bundleIds == null) { @@ -169,9 +163,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeBundleTasksRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -195,9 +186,6 @@ public DescribeBundleTasksRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeBundleTasksRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeBundleTasksResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeBundleTasksResult.java index 68ec81933432..e39d2b16d5a1 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeBundleTasksResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeBundleTasksResult.java @@ -62,9 +62,6 @@ public void setBundleTasks(java.util.Collection bundleTasks) { * Returns a reference to this object so that method calls can be chained together. * * @param bundleTasks The list of described bundle tasks. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeBundleTasksResult withBundleTasks(BundleTask... bundleTasks) { if (getBundleTasks() == null) setBundleTasks(new java.util.ArrayList(bundleTasks.length)); @@ -80,9 +77,6 @@ public DescribeBundleTasksResult withBundleTasks(BundleTask... bundleTasks) { * Returns a reference to this object so that method calls can be chained together. * * @param bundleTasks The list of described bundle tasks. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeBundleTasksResult withBundleTasks(java.util.Collection bundleTasks) { if (bundleTasks == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeConversionTasksRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeConversionTasksRequest.java index 2bf4f0aa3dd0..2e9ee5beb70a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeConversionTasksRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeConversionTasksRequest.java @@ -63,9 +63,6 @@ public void setFilters(java.util.Collection filters) { * Returns a reference to this object so that method calls can be chained together. * * @param filters The new value for the Filters property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeConversionTasksRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -81,9 +78,6 @@ public DescribeConversionTasksRequest withFilters(Filter... filters) { * Returns a reference to this object so that method calls can be chained together. * * @param filters The new value for the Filters property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeConversionTasksRequest withFilters(java.util.Collection filters) { if (filters == null) { @@ -132,9 +126,6 @@ public void setConversionTaskIds(java.util.Collection conversionTaskIds) * Returns a reference to this object so that method calls can be chained together. * * @param conversionTaskIds The new value for the ConversionTaskIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeConversionTasksRequest withConversionTaskIds(String... conversionTaskIds) { if (getConversionTaskIds() == null) setConversionTaskIds(new java.util.ArrayList(conversionTaskIds.length)); @@ -150,9 +141,6 @@ public DescribeConversionTasksRequest withConversionTaskIds(String... conversion * Returns a reference to this object so that method calls can be chained together. * * @param conversionTaskIds The new value for the ConversionTaskIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeConversionTasksRequest withConversionTaskIds(java.util.Collection conversionTaskIds) { if (conversionTaskIds == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeConversionTasksResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeConversionTasksResult.java index d972c7ac8632..16ea00717dca 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeConversionTasksResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeConversionTasksResult.java @@ -57,9 +57,6 @@ public void setConversionTasks(java.util.Collection conversionTa * Returns a reference to this object so that method calls can be chained together. * * @param conversionTasks The new value for the ConversionTasks property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeConversionTasksResult withConversionTasks(ConversionTask... conversionTasks) { if (getConversionTasks() == null) setConversionTasks(new java.util.ArrayList(conversionTasks.length)); @@ -75,9 +72,6 @@ public DescribeConversionTasksResult withConversionTasks(ConversionTask... conve * Returns a reference to this object so that method calls can be chained together. * * @param conversionTasks The new value for the ConversionTasks property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeConversionTasksResult withConversionTasks(java.util.Collection conversionTasks) { if (conversionTasks == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeCustomerGatewaysRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeCustomerGatewaysRequest.java index 210302790632..beb00c297176 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeCustomerGatewaysRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeCustomerGatewaysRequest.java @@ -79,9 +79,6 @@ public void setCustomerGatewayIds(java.util.Collection customerGatewayId * Returns a reference to this object so that method calls can be chained together. * * @param customerGatewayIds A set of one or more customer gateway IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeCustomerGatewaysRequest withCustomerGatewayIds(String... customerGatewayIds) { if (getCustomerGatewayIds() == null) setCustomerGatewayIds(new java.util.ArrayList(customerGatewayIds.length)); @@ -97,9 +94,6 @@ public DescribeCustomerGatewaysRequest withCustomerGatewayIds(String... customer * Returns a reference to this object so that method calls can be chained together. * * @param customerGatewayIds A set of one or more customer gateway IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeCustomerGatewaysRequest withCustomerGatewayIds(java.util.Collection customerGatewayIds) { if (customerGatewayIds == null) { @@ -172,9 +166,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeCustomerGatewaysRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -198,9 +189,6 @@ public DescribeCustomerGatewaysRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeCustomerGatewaysRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeCustomerGatewaysResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeCustomerGatewaysResult.java index d28cd66f46d5..4d4c83cc16e8 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeCustomerGatewaysResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeCustomerGatewaysResult.java @@ -62,9 +62,6 @@ public void setCustomerGateways(java.util.Collection customerGa * Returns a reference to this object so that method calls can be chained together. * * @param customerGateways - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeCustomerGatewaysResult withCustomerGateways(CustomerGateway... customerGateways) { if (getCustomerGateways() == null) setCustomerGateways(new java.util.ArrayList(customerGateways.length)); @@ -80,9 +77,6 @@ public DescribeCustomerGatewaysResult withCustomerGateways(CustomerGateway... cu * Returns a reference to this object so that method calls can be chained together. * * @param customerGateways - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeCustomerGatewaysResult withCustomerGateways(java.util.Collection customerGateways) { if (customerGateways == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeDhcpOptionsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeDhcpOptionsRequest.java index bb7b98eb20c6..acbb3e25ff28 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeDhcpOptionsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeDhcpOptionsRequest.java @@ -79,9 +79,6 @@ public void setDhcpOptionsIds(java.util.Collection dhcpOptionsIds) { * Returns a reference to this object so that method calls can be chained together. * * @param dhcpOptionsIds The new value for the DhcpOptionsIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDhcpOptionsRequest withDhcpOptionsIds(String... dhcpOptionsIds) { if (getDhcpOptionsIds() == null) setDhcpOptionsIds(new java.util.ArrayList(dhcpOptionsIds.length)); @@ -97,9 +94,6 @@ public DescribeDhcpOptionsRequest withDhcpOptionsIds(String... dhcpOptionsIds) { * Returns a reference to this object so that method calls can be chained together. * * @param dhcpOptionsIds The new value for the DhcpOptionsIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDhcpOptionsRequest withDhcpOptionsIds(java.util.Collection dhcpOptionsIds) { if (dhcpOptionsIds == null) { @@ -172,9 +166,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDhcpOptionsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -198,9 +189,6 @@ public DescribeDhcpOptionsRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDhcpOptionsRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeDhcpOptionsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeDhcpOptionsResult.java index 6d586c1a32b5..5501c37fb998 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeDhcpOptionsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeDhcpOptionsResult.java @@ -57,9 +57,6 @@ public void setDhcpOptions(java.util.Collection dhcpOptions) { * Returns a reference to this object so that method calls can be chained together. * * @param dhcpOptions The new value for the DhcpOptions property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDhcpOptionsResult withDhcpOptions(DhcpOptions... dhcpOptions) { if (getDhcpOptions() == null) setDhcpOptions(new java.util.ArrayList(dhcpOptions.length)); @@ -75,9 +72,6 @@ public DescribeDhcpOptionsResult withDhcpOptions(DhcpOptions... dhcpOptions) { * Returns a reference to this object so that method calls can be chained together. * * @param dhcpOptions The new value for the DhcpOptions property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDhcpOptionsResult withDhcpOptions(java.util.Collection dhcpOptions) { if (dhcpOptions == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeExportTasksRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeExportTasksRequest.java index 69a861d6060d..c1226ea70387 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeExportTasksRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeExportTasksRequest.java @@ -61,9 +61,6 @@ public void setExportTaskIds(java.util.Collection exportTaskIds) { * Returns a reference to this object so that method calls can be chained together. * * @param exportTaskIds The new value for the ExportTaskIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeExportTasksRequest withExportTaskIds(String... exportTaskIds) { if (getExportTaskIds() == null) setExportTaskIds(new java.util.ArrayList(exportTaskIds.length)); @@ -79,9 +76,6 @@ public DescribeExportTasksRequest withExportTaskIds(String... exportTaskIds) { * Returns a reference to this object so that method calls can be chained together. * * @param exportTaskIds The new value for the ExportTaskIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeExportTasksRequest withExportTaskIds(java.util.Collection exportTaskIds) { if (exportTaskIds == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeExportTasksResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeExportTasksResult.java index 4997806bc26c..420afd651821 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeExportTasksResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeExportTasksResult.java @@ -57,9 +57,6 @@ public void setExportTasks(java.util.Collection exportTasks) { * Returns a reference to this object so that method calls can be chained together. * * @param exportTasks The new value for the ExportTasks property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeExportTasksResult withExportTasks(ExportTask... exportTasks) { if (getExportTasks() == null) setExportTasks(new java.util.ArrayList(exportTasks.length)); @@ -75,9 +72,6 @@ public DescribeExportTasksResult withExportTasks(ExportTask... exportTasks) { * Returns a reference to this object so that method calls can be chained together. * * @param exportTasks The new value for the ExportTasks property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeExportTasksResult withExportTasks(java.util.Collection exportTasks) { if (exportTasks == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeImageAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeImageAttributeRequest.java index c1880c266107..995522c5666f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeImageAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeImageAttributeRequest.java @@ -88,9 +88,6 @@ public void setImageId(String imageId) { * Returns a reference to this object so that method calls can be chained together. * * @param imageId The ID of the AMI whose attribute is to be described. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeImageAttributeRequest withImageId(String imageId) { this.imageId = imageId; @@ -134,9 +131,6 @@ public void setAttribute(String attribute) { * @param attribute The name of the attribute to describe.

Available attribute names: * productCodes, kernel, ramdisk, * launchPermisson, blockDeviceMapping - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeImageAttributeRequest withAttribute(String attribute) { this.attribute = attribute; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeImageAttributeResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeImageAttributeResult.java index a7f249b56feb..d53a0e23cdf5 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeImageAttributeResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeImageAttributeResult.java @@ -51,9 +51,6 @@ public void setImageAttribute(ImageAttribute imageAttribute) { * Returns a reference to this object so that method calls can be chained together. * * @param imageAttribute The described image attribute of the associated AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeImageAttributeResult withImageAttribute(ImageAttribute imageAttribute) { this.imageAttribute = imageAttribute; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeImagesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeImagesRequest.java index b7108ba18928..d5f2922eaa52 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeImagesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeImagesRequest.java @@ -65,18 +65,23 @@ public class DescribeImagesRequest extends AmazonWebServiceRequest implements S private com.amazonaws.internal.ListWithAutoConstructFlag imageIds; /** - * The optional list of owners for the described AMIs. The IDs amazon, - * self, and explicit can be used to include AMIs owned by Amazon, AMIs - * owned by the user, and AMIs for which the user has explicit launch - * permissions, respectively. + * An optional list of owners by which to scope the described AMIs. Valid + * values are:

    self : AMIs owned by you AWS account + * ID : AMIs owned by this account ID aws-marketplace : + * AMIs owned by the AWS Marketplace amazon : AMIs owned by + * Amazon all : Do not scope the AMIs returned by owner + *

The values self, aws-marketplace, + * amazon, and all are literals. */ private com.amazonaws.internal.ListWithAutoConstructFlag owners; /** - * The optional list of users with explicit launch permissions for the - * described AMIs. The user ID can be a user's account ID, 'self' to - * return AMIs for which the sender of the request has explicit launch - * permissions, or 'all' to return AMIs with public launch permissions. + * An optional list of users whose launch permissions will be used to + * scope the described AMIs. Valid values are:

    self : + * AMIs for which you have explicit launch permissions AWS account + * ID : AMIs for which this account ID has launch permissions + * all : AMIs that have public launch permissions

+ * The values self and all are literals. */ private com.amazonaws.internal.ListWithAutoConstructFlag executableUsers; @@ -129,9 +134,6 @@ public void setImageIds(java.util.Collection imageIds) { * * @param imageIds An optional list of the AMI IDs to describe. If not specified, all * AMIs will be described. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeImagesRequest withImageIds(String... imageIds) { if (getImageIds() == null) setImageIds(new java.util.ArrayList(imageIds.length)); @@ -149,9 +151,6 @@ public DescribeImagesRequest withImageIds(String... imageIds) { * * @param imageIds An optional list of the AMI IDs to describe. If not specified, all * AMIs will be described. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeImagesRequest withImageIds(java.util.Collection imageIds) { if (imageIds == null) { @@ -166,15 +165,21 @@ public DescribeImagesRequest withImageIds(java.util.Collection imageIds) } /** - * The optional list of owners for the described AMIs. The IDs amazon, - * self, and explicit can be used to include AMIs owned by Amazon, AMIs - * owned by the user, and AMIs for which the user has explicit launch - * permissions, respectively. + * An optional list of owners by which to scope the described AMIs. Valid + * values are:

    self : AMIs owned by you AWS account + * ID : AMIs owned by this account ID aws-marketplace : + * AMIs owned by the AWS Marketplace amazon : AMIs owned by + * Amazon all : Do not scope the AMIs returned by owner + *

The values self, aws-marketplace, + * amazon, and all are literals. * - * @return The optional list of owners for the described AMIs. The IDs amazon, - * self, and explicit can be used to include AMIs owned by Amazon, AMIs - * owned by the user, and AMIs for which the user has explicit launch - * permissions, respectively. + * @return An optional list of owners by which to scope the described AMIs. Valid + * values are:

    self : AMIs owned by you AWS account + * ID : AMIs owned by this account ID aws-marketplace : + * AMIs owned by the AWS Marketplace amazon : AMIs owned by + * Amazon all : Do not scope the AMIs returned by owner + *

The values self, aws-marketplace, + * amazon, and all are literals. */ public java.util.List getOwners() { @@ -186,15 +191,21 @@ public java.util.List getOwners() { } /** - * The optional list of owners for the described AMIs. The IDs amazon, - * self, and explicit can be used to include AMIs owned by Amazon, AMIs - * owned by the user, and AMIs for which the user has explicit launch - * permissions, respectively. + * An optional list of owners by which to scope the described AMIs. Valid + * values are:

    self : AMIs owned by you AWS account + * ID : AMIs owned by this account ID aws-marketplace : + * AMIs owned by the AWS Marketplace amazon : AMIs owned by + * Amazon all : Do not scope the AMIs returned by owner + *

The values self, aws-marketplace, + * amazon, and all are literals. * - * @param owners The optional list of owners for the described AMIs. The IDs amazon, - * self, and explicit can be used to include AMIs owned by Amazon, AMIs - * owned by the user, and AMIs for which the user has explicit launch - * permissions, respectively. + * @param owners An optional list of owners by which to scope the described AMIs. Valid + * values are:

    self : AMIs owned by you AWS account + * ID : AMIs owned by this account ID aws-marketplace : + * AMIs owned by the AWS Marketplace amazon : AMIs owned by + * Amazon all : Do not scope the AMIs returned by owner + *

The values self, aws-marketplace, + * amazon, and all are literals. */ public void setOwners(java.util.Collection owners) { if (owners == null) { @@ -207,20 +218,23 @@ public void setOwners(java.util.Collection owners) { } /** - * The optional list of owners for the described AMIs. The IDs amazon, - * self, and explicit can be used to include AMIs owned by Amazon, AMIs - * owned by the user, and AMIs for which the user has explicit launch - * permissions, respectively. + * An optional list of owners by which to scope the described AMIs. Valid + * values are:

    self : AMIs owned by you AWS account + * ID : AMIs owned by this account ID aws-marketplace : + * AMIs owned by the AWS Marketplace amazon : AMIs owned by + * Amazon all : Do not scope the AMIs returned by owner + *

The values self, aws-marketplace, + * amazon, and all are literals. *

* Returns a reference to this object so that method calls can be chained together. * - * @param owners The optional list of owners for the described AMIs. The IDs amazon, - * self, and explicit can be used to include AMIs owned by Amazon, AMIs - * owned by the user, and AMIs for which the user has explicit launch - * permissions, respectively. - * - * @return A reference to this updated object so that method calls can be chained - * together. + * @param owners An optional list of owners by which to scope the described AMIs. Valid + * values are:

    self : AMIs owned by you AWS account + * ID : AMIs owned by this account ID aws-marketplace : + * AMIs owned by the AWS Marketplace amazon : AMIs owned by + * Amazon all : Do not scope the AMIs returned by owner + *

The values self, aws-marketplace, + * amazon, and all are literals. */ public DescribeImagesRequest withOwners(String... owners) { if (getOwners() == null) setOwners(new java.util.ArrayList(owners.length)); @@ -231,20 +245,23 @@ public DescribeImagesRequest withOwners(String... owners) { } /** - * The optional list of owners for the described AMIs. The IDs amazon, - * self, and explicit can be used to include AMIs owned by Amazon, AMIs - * owned by the user, and AMIs for which the user has explicit launch - * permissions, respectively. + * An optional list of owners by which to scope the described AMIs. Valid + * values are:

    self : AMIs owned by you AWS account + * ID : AMIs owned by this account ID aws-marketplace : + * AMIs owned by the AWS Marketplace amazon : AMIs owned by + * Amazon all : Do not scope the AMIs returned by owner + *

The values self, aws-marketplace, + * amazon, and all are literals. *

* Returns a reference to this object so that method calls can be chained together. * - * @param owners The optional list of owners for the described AMIs. The IDs amazon, - * self, and explicit can be used to include AMIs owned by Amazon, AMIs - * owned by the user, and AMIs for which the user has explicit launch - * permissions, respectively. - * - * @return A reference to this updated object so that method calls can be chained - * together. + * @param owners An optional list of owners by which to scope the described AMIs. Valid + * values are:

    self : AMIs owned by you AWS account + * ID : AMIs owned by this account ID aws-marketplace : + * AMIs owned by the AWS Marketplace amazon : AMIs owned by + * Amazon all : Do not scope the AMIs returned by owner + *

The values self, aws-marketplace, + * amazon, and all are literals. */ public DescribeImagesRequest withOwners(java.util.Collection owners) { if (owners == null) { @@ -259,15 +276,19 @@ public DescribeImagesRequest withOwners(java.util.Collection owners) { } /** - * The optional list of users with explicit launch permissions for the - * described AMIs. The user ID can be a user's account ID, 'self' to - * return AMIs for which the sender of the request has explicit launch - * permissions, or 'all' to return AMIs with public launch permissions. + * An optional list of users whose launch permissions will be used to + * scope the described AMIs. Valid values are:

    self : + * AMIs for which you have explicit launch permissions AWS account + * ID : AMIs for which this account ID has launch permissions + * all : AMIs that have public launch permissions

+ * The values self and all are literals. * - * @return The optional list of users with explicit launch permissions for the - * described AMIs. The user ID can be a user's account ID, 'self' to - * return AMIs for which the sender of the request has explicit launch - * permissions, or 'all' to return AMIs with public launch permissions. + * @return An optional list of users whose launch permissions will be used to + * scope the described AMIs. Valid values are:

    self : + * AMIs for which you have explicit launch permissions AWS account + * ID : AMIs for which this account ID has launch permissions + * all : AMIs that have public launch permissions

+ * The values self and all are literals. */ public java.util.List getExecutableUsers() { @@ -279,15 +300,19 @@ public java.util.List getExecutableUsers() { } /** - * The optional list of users with explicit launch permissions for the - * described AMIs. The user ID can be a user's account ID, 'self' to - * return AMIs for which the sender of the request has explicit launch - * permissions, or 'all' to return AMIs with public launch permissions. + * An optional list of users whose launch permissions will be used to + * scope the described AMIs. Valid values are:

    self : + * AMIs for which you have explicit launch permissions AWS account + * ID : AMIs for which this account ID has launch permissions + * all : AMIs that have public launch permissions

+ * The values self and all are literals. * - * @param executableUsers The optional list of users with explicit launch permissions for the - * described AMIs. The user ID can be a user's account ID, 'self' to - * return AMIs for which the sender of the request has explicit launch - * permissions, or 'all' to return AMIs with public launch permissions. + * @param executableUsers An optional list of users whose launch permissions will be used to + * scope the described AMIs. Valid values are:

    self : + * AMIs for which you have explicit launch permissions AWS account + * ID : AMIs for which this account ID has launch permissions + * all : AMIs that have public launch permissions

+ * The values self and all are literals. */ public void setExecutableUsers(java.util.Collection executableUsers) { if (executableUsers == null) { @@ -300,20 +325,21 @@ public void setExecutableUsers(java.util.Collection executableUsers) { } /** - * The optional list of users with explicit launch permissions for the - * described AMIs. The user ID can be a user's account ID, 'self' to - * return AMIs for which the sender of the request has explicit launch - * permissions, or 'all' to return AMIs with public launch permissions. + * An optional list of users whose launch permissions will be used to + * scope the described AMIs. Valid values are:

    self : + * AMIs for which you have explicit launch permissions AWS account + * ID : AMIs for which this account ID has launch permissions + * all : AMIs that have public launch permissions

+ * The values self and all are literals. *

* Returns a reference to this object so that method calls can be chained together. * - * @param executableUsers The optional list of users with explicit launch permissions for the - * described AMIs. The user ID can be a user's account ID, 'self' to - * return AMIs for which the sender of the request has explicit launch - * permissions, or 'all' to return AMIs with public launch permissions. - * - * @return A reference to this updated object so that method calls can be chained - * together. + * @param executableUsers An optional list of users whose launch permissions will be used to + * scope the described AMIs. Valid values are:

    self : + * AMIs for which you have explicit launch permissions AWS account + * ID : AMIs for which this account ID has launch permissions + * all : AMIs that have public launch permissions

+ * The values self and all are literals. */ public DescribeImagesRequest withExecutableUsers(String... executableUsers) { if (getExecutableUsers() == null) setExecutableUsers(new java.util.ArrayList(executableUsers.length)); @@ -324,20 +350,21 @@ public DescribeImagesRequest withExecutableUsers(String... executableUsers) { } /** - * The optional list of users with explicit launch permissions for the - * described AMIs. The user ID can be a user's account ID, 'self' to - * return AMIs for which the sender of the request has explicit launch - * permissions, or 'all' to return AMIs with public launch permissions. + * An optional list of users whose launch permissions will be used to + * scope the described AMIs. Valid values are:

    self : + * AMIs for which you have explicit launch permissions AWS account + * ID : AMIs for which this account ID has launch permissions + * all : AMIs that have public launch permissions

+ * The values self and all are literals. *

* Returns a reference to this object so that method calls can be chained together. * - * @param executableUsers The optional list of users with explicit launch permissions for the - * described AMIs. The user ID can be a user's account ID, 'self' to - * return AMIs for which the sender of the request has explicit launch - * permissions, or 'all' to return AMIs with public launch permissions. - * - * @return A reference to this updated object so that method calls can be chained - * together. + * @param executableUsers An optional list of users whose launch permissions will be used to + * scope the described AMIs. Valid values are:

    self : + * AMIs for which you have explicit launch permissions AWS account + * ID : AMIs for which this account ID has launch permissions + * all : AMIs that have public launch permissions

+ * The values self and all are literals. */ public DescribeImagesRequest withExecutableUsers(java.util.Collection executableUsers) { if (executableUsers == null) { @@ -404,9 +431,6 @@ public void setFilters(java.util.Collection filters) { * reference to the available filter keys for this operation, see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeImagesRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -428,9 +452,6 @@ public DescribeImagesRequest withFilters(Filter... filters) { * reference to the available filter keys for this operation, see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeImagesRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeImagesResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeImagesResult.java index de474c33b0c2..2aa1675ef55f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeImagesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeImagesResult.java @@ -62,9 +62,6 @@ public void setImages(java.util.Collection images) { * Returns a reference to this object so that method calls can be chained together. * * @param images The list of the described AMIs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeImagesResult withImages(Image... images) { if (getImages() == null) setImages(new java.util.ArrayList(images.length)); @@ -80,9 +77,6 @@ public DescribeImagesResult withImages(Image... images) { * Returns a reference to this object so that method calls can be chained together. * * @param images The list of the described AMIs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeImagesResult withImages(java.util.Collection images) { if (images == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceAttributeRequest.java index 9d8e904d423e..c3cb1dc5d11d 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceAttributeRequest.java @@ -115,9 +115,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of the instance whose instance attribute is being described. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceAttributeRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -187,9 +184,6 @@ public void setAttribute(String attribute) { * instanceInitiatedShutdownBehavior, * rootDeviceName, blockDeviceMapping * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceAttributeName */ public DescribeInstanceAttributeRequest withAttribute(String attribute) { @@ -238,9 +232,6 @@ public void setAttribute(InstanceAttributeName attribute) { * instanceInitiatedShutdownBehavior, * rootDeviceName, blockDeviceMapping * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceAttributeName */ public DescribeInstanceAttributeRequest withAttribute(InstanceAttributeName attribute) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceAttributeResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceAttributeResult.java index dbfe7b2cc62b..654a42d4feb3 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceAttributeResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceAttributeResult.java @@ -51,9 +51,6 @@ public void setInstanceAttribute(InstanceAttribute instanceAttribute) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceAttribute The described instance attribute. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceAttributeResult withInstanceAttribute(InstanceAttribute instanceAttribute) { this.instanceAttribute = instanceAttribute; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceStatusRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceStatusRequest.java index 67107274cecc..170eae4c0864 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceStatusRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceStatusRequest.java @@ -135,9 +135,6 @@ public void setInstanceIds(java.util.Collection instanceIds) { * * @param instanceIds The list of instance IDs. If not specified, all instances are * described. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceStatusRequest withInstanceIds(String... instanceIds) { if (getInstanceIds() == null) setInstanceIds(new java.util.ArrayList(instanceIds.length)); @@ -155,9 +152,6 @@ public DescribeInstanceStatusRequest withInstanceIds(String... instanceIds) { * * @param instanceIds The list of instance IDs. If not specified, all instances are * described. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceStatusRequest withInstanceIds(java.util.Collection instanceIds) { if (instanceIds == null) { @@ -206,9 +200,6 @@ public void setFilters(java.util.Collection filters) { * Returns a reference to this object so that method calls can be chained together. * * @param filters The list of filters to limit returned results. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceStatusRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -224,9 +215,6 @@ public DescribeInstanceStatusRequest withFilters(Filter... filters) { * Returns a reference to this object so that method calls can be chained together. * * @param filters The list of filters to limit returned results. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceStatusRequest withFilters(java.util.Collection filters) { if (filters == null) { @@ -264,9 +252,6 @@ public void setNextToken(String nextToken) { * Returns a reference to this object so that method calls can be chained together. * * @param nextToken A string specifying the next paginated set of results to return. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceStatusRequest withNextToken(String nextToken) { this.nextToken = nextToken; @@ -298,9 +283,6 @@ public void setMaxResults(Integer maxResults) { * Returns a reference to this object so that method calls can be chained together. * * @param maxResults The maximum number of paginated instance items per response. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceStatusRequest withMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -332,9 +314,6 @@ public void setIncludeAllInstances(Boolean includeAllInstances) { * Returns a reference to this object so that method calls can be chained together. * * @param includeAllInstances The new value for the IncludeAllInstances property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceStatusRequest withIncludeAllInstances(Boolean includeAllInstances) { this.includeAllInstances = includeAllInstances; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceStatusResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceStatusResult.java index 7b3f2373b4fb..8379bbaa340f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceStatusResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceStatusResult.java @@ -72,9 +72,6 @@ public void setInstanceStatuses(java.util.Collection instanceSta * * @param instanceStatuses Collection of instance statuses describing the state of the requested * instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceStatusResult withInstanceStatuses(InstanceStatus... instanceStatuses) { if (getInstanceStatuses() == null) setInstanceStatuses(new java.util.ArrayList(instanceStatuses.length)); @@ -92,9 +89,6 @@ public DescribeInstanceStatusResult withInstanceStatuses(InstanceStatus... insta * * @param instanceStatuses Collection of instance statuses describing the state of the requested * instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceStatusResult withInstanceStatuses(java.util.Collection instanceStatuses) { if (instanceStatuses == null) { @@ -132,9 +126,6 @@ public void setNextToken(String nextToken) { * Returns a reference to this object so that method calls can be chained together. * * @param nextToken A string specifying the next paginated set of results to return. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceStatusResult withNextToken(String nextToken) { this.nextToken = nextToken; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeInstancesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeInstancesRequest.java index a6f7ea208c68..9f773e5d4d39 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeInstancesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeInstancesRequest.java @@ -83,9 +83,6 @@ public void setInstanceIds(java.util.Collection instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds An optional list of the instances to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstancesRequest withInstanceIds(String... instanceIds) { if (getInstanceIds() == null) setInstanceIds(new java.util.ArrayList(instanceIds.length)); @@ -101,9 +98,6 @@ public DescribeInstancesRequest withInstanceIds(String... instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds An optional list of the instances to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstancesRequest withInstanceIds(java.util.Collection instanceIds) { if (instanceIds == null) { @@ -176,9 +170,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstancesRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -202,9 +193,6 @@ public DescribeInstancesRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstancesRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeInstancesResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeInstancesResult.java index e76c06880d25..68e3592094ba 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeInstancesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeInstancesResult.java @@ -62,9 +62,6 @@ public void setReservations(java.util.Collection reservations) { * Returns a reference to this object so that method calls can be chained together. * * @param reservations The list of reservations containing the describes instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstancesResult withReservations(Reservation... reservations) { if (getReservations() == null) setReservations(new java.util.ArrayList(reservations.length)); @@ -80,9 +77,6 @@ public DescribeInstancesResult withReservations(Reservation... reservations) { * Returns a reference to this object so that method calls can be chained together. * * @param reservations The list of reservations containing the describes instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstancesResult withReservations(java.util.Collection reservations) { if (reservations == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeInternetGatewaysRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeInternetGatewaysRequest.java index 8332bdcdcb55..8c397ad03823 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeInternetGatewaysRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeInternetGatewaysRequest.java @@ -88,9 +88,6 @@ public void setInternetGatewayIds(java.util.Collection internetGatewayId * Returns a reference to this object so that method calls can be chained together. * * @param internetGatewayIds One or more Internet gateway IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInternetGatewaysRequest withInternetGatewayIds(String... internetGatewayIds) { if (getInternetGatewayIds() == null) setInternetGatewayIds(new java.util.ArrayList(internetGatewayIds.length)); @@ -106,9 +103,6 @@ public DescribeInternetGatewaysRequest withInternetGatewayIds(String... internet * Returns a reference to this object so that method calls can be chained together. * * @param internetGatewayIds One or more Internet gateway IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInternetGatewaysRequest withInternetGatewayIds(java.util.Collection internetGatewayIds) { if (internetGatewayIds == null) { @@ -181,9 +175,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInternetGatewaysRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -207,9 +198,6 @@ public DescribeInternetGatewaysRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInternetGatewaysRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeInternetGatewaysResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeInternetGatewaysResult.java index 7a1b2f718b29..772ae7412161 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeInternetGatewaysResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeInternetGatewaysResult.java @@ -57,9 +57,6 @@ public void setInternetGateways(java.util.Collection internetGa * Returns a reference to this object so that method calls can be chained together. * * @param internetGateways The new value for the InternetGateways property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways) { if (getInternetGateways() == null) setInternetGateways(new java.util.ArrayList(internetGateways.length)); @@ -75,9 +72,6 @@ public DescribeInternetGatewaysResult withInternetGateways(InternetGateway... in * Returns a reference to this object so that method calls can be chained together. * * @param internetGateways The new value for the InternetGateways property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInternetGatewaysResult withInternetGateways(java.util.Collection internetGateways) { if (internetGateways == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeKeyPairsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeKeyPairsRequest.java index ef7bbf51cff2..471f2ae20220 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeKeyPairsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeKeyPairsRequest.java @@ -76,9 +76,6 @@ public void setKeyNames(java.util.Collection keyNames) { * Returns a reference to this object so that method calls can be chained together. * * @param keyNames The optional list of key pair names to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeKeyPairsRequest withKeyNames(String... keyNames) { if (getKeyNames() == null) setKeyNames(new java.util.ArrayList(keyNames.length)); @@ -94,9 +91,6 @@ public DescribeKeyPairsRequest withKeyNames(String... keyNames) { * Returns a reference to this object so that method calls can be chained together. * * @param keyNames The optional list of key pair names to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeKeyPairsRequest withKeyNames(java.util.Collection keyNames) { if (keyNames == null) { @@ -169,9 +163,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeKeyPairsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -195,9 +186,6 @@ public DescribeKeyPairsRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeKeyPairsRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeKeyPairsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeKeyPairsResult.java index 2209643d77f1..4f1921401aa6 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeKeyPairsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeKeyPairsResult.java @@ -62,9 +62,6 @@ public void setKeyPairs(java.util.Collection keyPairs) { * Returns a reference to this object so that method calls can be chained together. * * @param keyPairs The list of described key pairs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeKeyPairsResult withKeyPairs(KeyPairInfo... keyPairs) { if (getKeyPairs() == null) setKeyPairs(new java.util.ArrayList(keyPairs.length)); @@ -80,9 +77,6 @@ public DescribeKeyPairsResult withKeyPairs(KeyPairInfo... keyPairs) { * Returns a reference to this object so that method calls can be chained together. * * @param keyPairs The list of described key pairs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeKeyPairsResult withKeyPairs(java.util.Collection keyPairs) { if (keyPairs == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeLicensesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeLicensesRequest.java index b7c1e4cc809d..47d515d4f1c7 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeLicensesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeLicensesRequest.java @@ -83,9 +83,6 @@ public void setLicenseIds(java.util.Collection licenseIds) { * * @param licenseIds Specifies the license registration for which details are to be * returned. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLicensesRequest withLicenseIds(String... licenseIds) { if (getLicenseIds() == null) setLicenseIds(new java.util.ArrayList(licenseIds.length)); @@ -103,9 +100,6 @@ public DescribeLicensesRequest withLicenseIds(String... licenseIds) { * * @param licenseIds Specifies the license registration for which details are to be * returned. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLicensesRequest withLicenseIds(java.util.Collection licenseIds) { if (licenseIds == null) { @@ -178,9 +172,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLicensesRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -204,9 +195,6 @@ public DescribeLicensesRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLicensesRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeLicensesResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeLicensesResult.java index 748f09c93e61..1f72633e0c2c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeLicensesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeLicensesResult.java @@ -68,9 +68,6 @@ public void setLicenses(java.util.Collection licenses) { * * @param licenses Specifies active licenses in use and attached to an Amazon EC2 * instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLicensesResult withLicenses(License... licenses) { if (getLicenses() == null) setLicenses(new java.util.ArrayList(licenses.length)); @@ -88,9 +85,6 @@ public DescribeLicensesResult withLicenses(License... licenses) { * * @param licenses Specifies active licenses in use and attached to an Amazon EC2 * instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLicensesResult withLicenses(java.util.Collection licenses) { if (licenses == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkAclsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkAclsRequest.java index 3361e69469c9..1609ef07197f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkAclsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkAclsRequest.java @@ -88,9 +88,6 @@ public void setNetworkAclIds(java.util.Collection networkAclIds) { * Returns a reference to this object so that method calls can be chained together. * * @param networkAclIds One or more network ACL IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkAclsRequest withNetworkAclIds(String... networkAclIds) { if (getNetworkAclIds() == null) setNetworkAclIds(new java.util.ArrayList(networkAclIds.length)); @@ -106,9 +103,6 @@ public DescribeNetworkAclsRequest withNetworkAclIds(String... networkAclIds) { * Returns a reference to this object so that method calls can be chained together. * * @param networkAclIds One or more network ACL IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkAclsRequest withNetworkAclIds(java.util.Collection networkAclIds) { if (networkAclIds == null) { @@ -181,9 +175,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkAclsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -207,9 +198,6 @@ public DescribeNetworkAclsRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkAclsRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkAclsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkAclsResult.java index 481bc45b3580..159b8e19cf72 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkAclsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkAclsResult.java @@ -57,9 +57,6 @@ public void setNetworkAcls(java.util.Collection networkAcls) { * Returns a reference to this object so that method calls can be chained together. * * @param networkAcls The new value for the NetworkAcls property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkAclsResult withNetworkAcls(NetworkAcl... networkAcls) { if (getNetworkAcls() == null) setNetworkAcls(new java.util.ArrayList(networkAcls.length)); @@ -75,9 +72,6 @@ public DescribeNetworkAclsResult withNetworkAcls(NetworkAcl... networkAcls) { * Returns a reference to this object so that method calls can be chained together. * * @param networkAcls The new value for the NetworkAcls property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkAclsResult withNetworkAcls(java.util.Collection networkAcls) { if (networkAcls == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfaceAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfaceAttributeRequest.java index 2ba927cd6c2a..4b23fade1783 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfaceAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfaceAttributeRequest.java @@ -58,9 +58,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfaceAttributeRequest withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; @@ -92,9 +89,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfaceAttributeRequest withDescription(String description) { this.description = description; @@ -126,9 +120,6 @@ public void setSourceDestCheck(String sourceDestCheck) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceDestCheck The new value for the SourceDestCheck property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfaceAttributeRequest withSourceDestCheck(String sourceDestCheck) { this.sourceDestCheck = sourceDestCheck; @@ -160,9 +151,6 @@ public void setGroups(String groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfaceAttributeRequest withGroups(String groups) { this.groups = groups; @@ -194,9 +182,6 @@ public void setAttachment(String attachment) { * Returns a reference to this object so that method calls can be chained together. * * @param attachment The new value for the Attachment property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfaceAttributeRequest withAttachment(String attachment) { this.attachment = attachment; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfaceAttributeResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfaceAttributeResult.java index 861f9d0c1076..948aee5f0b18 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfaceAttributeResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfaceAttributeResult.java @@ -60,9 +60,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfaceAttributeResult withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; @@ -94,9 +91,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description String value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfaceAttributeResult withDescription(String description) { this.description = description; @@ -128,9 +122,6 @@ public void setSourceDestCheck(Boolean sourceDestCheck) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceDestCheck Boolean value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfaceAttributeResult withSourceDestCheck(Boolean sourceDestCheck) { this.sourceDestCheck = sourceDestCheck; @@ -182,9 +173,6 @@ public void setGroups(java.util.Collection groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfaceAttributeResult withGroups(GroupIdentifier... groups) { if (getGroups() == null) setGroups(new java.util.ArrayList(groups.length)); @@ -200,9 +188,6 @@ public DescribeNetworkInterfaceAttributeResult withGroups(GroupIdentifier... gro * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfaceAttributeResult withGroups(java.util.Collection groups) { if (groups == null) { @@ -240,9 +225,6 @@ public void setAttachment(NetworkInterfaceAttachment attachment) { * Returns a reference to this object so that method calls can be chained together. * * @param attachment The new value for the Attachment property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfaceAttributeResult withAttachment(NetworkInterfaceAttachment attachment) { this.attachment = attachment; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfacesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfacesRequest.java index 21112407cbe3..668b08304c25 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfacesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfacesRequest.java @@ -63,9 +63,6 @@ public void setNetworkInterfaceIds(java.util.Collection networkInterface * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceIds The new value for the NetworkInterfaceIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfacesRequest withNetworkInterfaceIds(String... networkInterfaceIds) { if (getNetworkInterfaceIds() == null) setNetworkInterfaceIds(new java.util.ArrayList(networkInterfaceIds.length)); @@ -81,9 +78,6 @@ public DescribeNetworkInterfacesRequest withNetworkInterfaceIds(String... networ * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceIds The new value for the NetworkInterfaceIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfacesRequest withNetworkInterfaceIds(java.util.Collection networkInterfaceIds) { if (networkInterfaceIds == null) { @@ -132,9 +126,6 @@ public void setFilters(java.util.Collection filters) { * Returns a reference to this object so that method calls can be chained together. * * @param filters The new value for the Filters property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfacesRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -150,9 +141,6 @@ public DescribeNetworkInterfacesRequest withFilters(Filter... filters) { * Returns a reference to this object so that method calls can be chained together. * * @param filters The new value for the Filters property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfacesRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfacesResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfacesResult.java index dc542b288472..6c89ca9765c3 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfacesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfacesResult.java @@ -57,9 +57,6 @@ public void setNetworkInterfaces(java.util.Collection networkI * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaces The new value for the NetworkInterfaces property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfacesResult withNetworkInterfaces(NetworkInterface... networkInterfaces) { if (getNetworkInterfaces() == null) setNetworkInterfaces(new java.util.ArrayList(networkInterfaces.length)); @@ -75,9 +72,6 @@ public DescribeNetworkInterfacesResult withNetworkInterfaces(NetworkInterface... * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaces The new value for the NetworkInterfaces property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeNetworkInterfacesResult withNetworkInterfaces(java.util.Collection networkInterfaces) { if (networkInterfaces == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribePlacementGroupsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribePlacementGroupsRequest.java index e390ad89f70e..b6ee27afacb5 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribePlacementGroupsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribePlacementGroupsRequest.java @@ -75,9 +75,6 @@ public void setGroupNames(java.util.Collection groupNames) { * Returns a reference to this object so that method calls can be chained together. * * @param groupNames The name of the PlacementGroup. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribePlacementGroupsRequest withGroupNames(String... groupNames) { if (getGroupNames() == null) setGroupNames(new java.util.ArrayList(groupNames.length)); @@ -93,9 +90,6 @@ public DescribePlacementGroupsRequest withGroupNames(String... groupNames) { * Returns a reference to this object so that method calls can be chained together. * * @param groupNames The name of the PlacementGroup. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribePlacementGroupsRequest withGroupNames(java.util.Collection groupNames) { if (groupNames == null) { @@ -168,9 +162,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribePlacementGroupsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -194,9 +185,6 @@ public DescribePlacementGroupsRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribePlacementGroupsRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribePlacementGroupsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribePlacementGroupsResult.java index 92649facf7a6..0f174f008901 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribePlacementGroupsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribePlacementGroupsResult.java @@ -61,9 +61,6 @@ public void setPlacementGroups(java.util.Collection placementGro * Returns a reference to this object so that method calls can be chained together. * * @param placementGroups Contains information about the specified PlacementGroups. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribePlacementGroupsResult withPlacementGroups(PlacementGroup... placementGroups) { if (getPlacementGroups() == null) setPlacementGroups(new java.util.ArrayList(placementGroups.length)); @@ -79,9 +76,6 @@ public DescribePlacementGroupsResult withPlacementGroups(PlacementGroup... place * Returns a reference to this object so that method calls can be chained together. * * @param placementGroups Contains information about the specified PlacementGroups. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribePlacementGroupsResult withPlacementGroups(java.util.Collection placementGroups) { if (placementGroups == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeRegionsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeRegionsRequest.java index 79d49c107efc..591e6c53cdea 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeRegionsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeRegionsRequest.java @@ -74,9 +74,6 @@ public void setRegionNames(java.util.Collection regionNames) { * Returns a reference to this object so that method calls can be chained together. * * @param regionNames The optional list of regions to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRegionsRequest withRegionNames(String... regionNames) { if (getRegionNames() == null) setRegionNames(new java.util.ArrayList(regionNames.length)); @@ -92,9 +89,6 @@ public DescribeRegionsRequest withRegionNames(String... regionNames) { * Returns a reference to this object so that method calls can be chained together. * * @param regionNames The optional list of regions to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRegionsRequest withRegionNames(java.util.Collection regionNames) { if (regionNames == null) { @@ -161,9 +155,6 @@ public void setFilters(java.util.Collection filters) { * reference to the available filter keys for this operation, see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRegionsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -185,9 +176,6 @@ public DescribeRegionsRequest withFilters(Filter... filters) { * reference to the available filter keys for this operation, see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRegionsRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeRegionsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeRegionsResult.java index 63f9c0d77cdb..38590f55c1b9 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeRegionsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeRegionsResult.java @@ -62,9 +62,6 @@ public void setRegions(java.util.Collection regions) { * Returns a reference to this object so that method calls can be chained together. * * @param regions The list of described Amazon EC2 regions. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRegionsResult withRegions(Region... regions) { if (getRegions() == null) setRegions(new java.util.ArrayList(regions.length)); @@ -80,9 +77,6 @@ public DescribeRegionsResult withRegions(Region... regions) { * Returns a reference to this object so that method calls can be chained together. * * @param regions The list of described Amazon EC2 regions. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRegionsResult withRegions(java.util.Collection regions) { if (regions == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesListingsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesListingsRequest.java index 5ae18e55bef8..64bda139a0cb 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesListingsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesListingsRequest.java @@ -54,9 +54,6 @@ public void setReservedInstancesId(String reservedInstancesId) { * Returns a reference to this object so that method calls can be chained together. * * @param reservedInstancesId The new value for the ReservedInstancesId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesListingsRequest withReservedInstancesId(String reservedInstancesId) { this.reservedInstancesId = reservedInstancesId; @@ -93,9 +90,6 @@ public void setReservedInstancesListingId(String reservedInstancesListingId) { * * @param reservedInstancesListingId The new value for the ReservedInstancesListingId property for this * object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesListingsRequest withReservedInstancesListingId(String reservedInstancesListingId) { this.reservedInstancesListingId = reservedInstancesListingId; @@ -138,9 +132,6 @@ public void setFilters(java.util.Collection filters) { * Returns a reference to this object so that method calls can be chained together. * * @param filters The new value for the Filters property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesListingsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -156,9 +147,6 @@ public DescribeReservedInstancesListingsRequest withFilters(Filter... filters) { * Returns a reference to this object so that method calls can be chained together. * * @param filters The new value for the Filters property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesListingsRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesListingsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesListingsResult.java index fe7df8b64a29..dfece44910eb 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesListingsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesListingsResult.java @@ -62,9 +62,6 @@ public void setReservedInstancesListings(java.util.Collection(reservedInstancesListings.length)); @@ -82,9 +79,6 @@ public DescribeReservedInstancesListingsResult withReservedInstancesListings(Res * * @param reservedInstancesListings The new value for the ReservedInstancesListings property for this * object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesListingsResult withReservedInstancesListings(java.util.Collection reservedInstancesListings) { if (reservedInstancesListings == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesOfferingsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesOfferingsRequest.java index 4da701186e71..a60a4166bed8 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesOfferingsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesOfferingsRequest.java @@ -77,6 +77,26 @@ public class DescribeReservedInstancesOfferingsRequest extends AmazonWebServiceR private Integer maxResults; + /** + * Include Marketplace offerings in the response. + */ + private Boolean includeMarketplace; + + /** + * Minimum duration (in seconds) to filter when searching for offerings. + */ + private Long minDuration; + + /** + * Maximum duration (in seconds) to filter when searching for offerings. + */ + private Long maxDuration; + + /** + * Maximum number of instances to filter when searching for offerings. + */ + private Integer maxInstanceCount; + /** * An optional list of the unique IDs of the Reserved Instance offerings * to describe. @@ -118,9 +138,6 @@ public void setReservedInstancesOfferingIds(java.util.Collection reserve * * @param reservedInstancesOfferingIds An optional list of the unique IDs of the Reserved Instance offerings * to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(String... reservedInstancesOfferingIds) { if (getReservedInstancesOfferingIds() == null) setReservedInstancesOfferingIds(new java.util.ArrayList(reservedInstancesOfferingIds.length)); @@ -138,9 +155,6 @@ public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingId * * @param reservedInstancesOfferingIds An optional list of the unique IDs of the Reserved Instance offerings * to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(java.util.Collection reservedInstancesOfferingIds) { if (reservedInstancesOfferingIds == null) { @@ -192,9 +206,6 @@ public void setInstanceType(String instanceType) { * * @param instanceType The instance type on which the Reserved Instance can be used. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public DescribeReservedInstancesOfferingsRequest withInstanceType(String instanceType) { @@ -227,9 +238,6 @@ public void setInstanceType(InstanceType instanceType) { * * @param instanceType The instance type on which the Reserved Instance can be used. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public DescribeReservedInstancesOfferingsRequest withInstanceType(InstanceType instanceType) { @@ -261,9 +269,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The Availability Zone in which the Reserved Instance can be used. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesOfferingsRequest withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -295,9 +300,6 @@ public void setProductDescription(String productDescription) { * Returns a reference to this object so that method calls can be chained together. * * @param productDescription The Reserved Instance product description. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesOfferingsRequest withProductDescription(String productDescription) { this.productDescription = productDescription; @@ -364,9 +366,6 @@ public void setFilters(java.util.Collection filters) { * filter keys for this operation, see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesOfferingsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -390,9 +389,6 @@ public DescribeReservedInstancesOfferingsRequest withFilters(Filter... filters) * filter keys for this operation, see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesOfferingsRequest withFilters(java.util.Collection filters) { if (filters == null) { @@ -442,9 +438,6 @@ public void setInstanceTenancy(String instanceTenancy) { * @param instanceTenancy The tenancy of the Reserved Instance offering. A Reserved Instance * with tenancy of dedicated will run on single-tenant hardware and can * only be launched within a VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(String instanceTenancy) { this.instanceTenancy = instanceTenancy; @@ -476,9 +469,6 @@ public void setOfferingType(String offeringType) { * Returns a reference to this object so that method calls can be chained together. * * @param offeringType The Reserved Instance offering type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesOfferingsRequest withOfferingType(String offeringType) { this.offeringType = offeringType; @@ -510,9 +500,6 @@ public void setNextToken(String nextToken) { * Returns a reference to this object so that method calls can be chained together. * * @param nextToken The new value for the NextToken property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesOfferingsRequest withNextToken(String nextToken) { this.nextToken = nextToken; @@ -544,9 +531,6 @@ public void setMaxResults(Integer maxResults) { * Returns a reference to this object so that method calls can be chained together. * * @param maxResults The new value for the MaxResults property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesOfferingsRequest withMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -554,6 +538,139 @@ public DescribeReservedInstancesOfferingsRequest withMaxResults(Integer maxResul } + /** + * Include Marketplace offerings in the response. + * + * @return Include Marketplace offerings in the response. + */ + public Boolean isIncludeMarketplace() { + return includeMarketplace; + } + + /** + * Include Marketplace offerings in the response. + * + * @param includeMarketplace Include Marketplace offerings in the response. + */ + public void setIncludeMarketplace(Boolean includeMarketplace) { + this.includeMarketplace = includeMarketplace; + } + + /** + * Include Marketplace offerings in the response. + *

+ * Returns a reference to this object so that method calls can be chained together. + * + * @param includeMarketplace Include Marketplace offerings in the response. + */ + public DescribeReservedInstancesOfferingsRequest withIncludeMarketplace(Boolean includeMarketplace) { + this.includeMarketplace = includeMarketplace; + return this; + } + + + /** + * Include Marketplace offerings in the response. + * + * @return Include Marketplace offerings in the response. + */ + public Boolean getIncludeMarketplace() { + return includeMarketplace; + } + + /** + * Minimum duration (in seconds) to filter when searching for offerings. + * + * @return Minimum duration (in seconds) to filter when searching for offerings. + */ + public Long getMinDuration() { + return minDuration; + } + + /** + * Minimum duration (in seconds) to filter when searching for offerings. + * + * @param minDuration Minimum duration (in seconds) to filter when searching for offerings. + */ + public void setMinDuration(Long minDuration) { + this.minDuration = minDuration; + } + + /** + * Minimum duration (in seconds) to filter when searching for offerings. + *

+ * Returns a reference to this object so that method calls can be chained together. + * + * @param minDuration Minimum duration (in seconds) to filter when searching for offerings. + */ + public DescribeReservedInstancesOfferingsRequest withMinDuration(Long minDuration) { + this.minDuration = minDuration; + return this; + } + + + /** + * Maximum duration (in seconds) to filter when searching for offerings. + * + * @return Maximum duration (in seconds) to filter when searching for offerings. + */ + public Long getMaxDuration() { + return maxDuration; + } + + /** + * Maximum duration (in seconds) to filter when searching for offerings. + * + * @param maxDuration Maximum duration (in seconds) to filter when searching for offerings. + */ + public void setMaxDuration(Long maxDuration) { + this.maxDuration = maxDuration; + } + + /** + * Maximum duration (in seconds) to filter when searching for offerings. + *

+ * Returns a reference to this object so that method calls can be chained together. + * + * @param maxDuration Maximum duration (in seconds) to filter when searching for offerings. + */ + public DescribeReservedInstancesOfferingsRequest withMaxDuration(Long maxDuration) { + this.maxDuration = maxDuration; + return this; + } + + + /** + * Maximum number of instances to filter when searching for offerings. + * + * @return Maximum number of instances to filter when searching for offerings. + */ + public Integer getMaxInstanceCount() { + return maxInstanceCount; + } + + /** + * Maximum number of instances to filter when searching for offerings. + * + * @param maxInstanceCount Maximum number of instances to filter when searching for offerings. + */ + public void setMaxInstanceCount(Integer maxInstanceCount) { + this.maxInstanceCount = maxInstanceCount; + } + + /** + * Maximum number of instances to filter when searching for offerings. + *

+ * Returns a reference to this object so that method calls can be chained together. + * + * @param maxInstanceCount Maximum number of instances to filter when searching for offerings. + */ + public DescribeReservedInstancesOfferingsRequest withMaxInstanceCount(Integer maxInstanceCount) { + this.maxInstanceCount = maxInstanceCount; + return this; + } + + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -574,7 +691,11 @@ public String toString() { if (getInstanceTenancy() != null) sb.append("InstanceTenancy: " + getInstanceTenancy() + ","); if (getOfferingType() != null) sb.append("OfferingType: " + getOfferingType() + ","); if (getNextToken() != null) sb.append("NextToken: " + getNextToken() + ","); - if (getMaxResults() != null) sb.append("MaxResults: " + getMaxResults() ); + if (getMaxResults() != null) sb.append("MaxResults: " + getMaxResults() + ","); + if (isIncludeMarketplace() != null) sb.append("IncludeMarketplace: " + isIncludeMarketplace() + ","); + if (getMinDuration() != null) sb.append("MinDuration: " + getMinDuration() + ","); + if (getMaxDuration() != null) sb.append("MaxDuration: " + getMaxDuration() + ","); + if (getMaxInstanceCount() != null) sb.append("MaxInstanceCount: " + getMaxInstanceCount() ); sb.append("}"); return sb.toString(); } @@ -593,6 +714,10 @@ public int hashCode() { hashCode = prime * hashCode + ((getOfferingType() == null) ? 0 : getOfferingType().hashCode()); hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode()); hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode()); + hashCode = prime * hashCode + ((isIncludeMarketplace() == null) ? 0 : isIncludeMarketplace().hashCode()); + hashCode = prime * hashCode + ((getMinDuration() == null) ? 0 : getMinDuration().hashCode()); + hashCode = prime * hashCode + ((getMaxDuration() == null) ? 0 : getMaxDuration().hashCode()); + hashCode = prime * hashCode + ((getMaxInstanceCount() == null) ? 0 : getMaxInstanceCount().hashCode()); return hashCode; } @@ -622,6 +747,14 @@ public boolean equals(Object obj) { if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false) return false; if (other.getMaxResults() == null ^ this.getMaxResults() == null) return false; if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false) return false; + if (other.isIncludeMarketplace() == null ^ this.isIncludeMarketplace() == null) return false; + if (other.isIncludeMarketplace() != null && other.isIncludeMarketplace().equals(this.isIncludeMarketplace()) == false) return false; + if (other.getMinDuration() == null ^ this.getMinDuration() == null) return false; + if (other.getMinDuration() != null && other.getMinDuration().equals(this.getMinDuration()) == false) return false; + if (other.getMaxDuration() == null ^ this.getMaxDuration() == null) return false; + if (other.getMaxDuration() != null && other.getMaxDuration().equals(this.getMaxDuration()) == false) return false; + if (other.getMaxInstanceCount() == null ^ this.getMaxInstanceCount() == null) return false; + if (other.getMaxInstanceCount() != null && other.getMaxInstanceCount().equals(this.getMaxInstanceCount()) == false) return false; return true; } diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesOfferingsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesOfferingsResult.java index ac1bf28b7793..7d7db830e7a4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesOfferingsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesOfferingsResult.java @@ -64,9 +64,6 @@ public void setReservedInstancesOfferings(java.util.Collection(reservedInstancesOfferings.length)); @@ -82,9 +79,6 @@ public DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(R * Returns a reference to this object so that method calls can be chained together. * * @param reservedInstancesOfferings The list of described Reserved Instance offerings. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesOfferingsResult withReservedInstancesOfferings(java.util.Collection reservedInstancesOfferings) { if (reservedInstancesOfferings == null) { @@ -122,9 +116,6 @@ public void setNextToken(String nextToken) { * Returns a reference to this object so that method calls can be chained together. * * @param nextToken The new value for the NextToken property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesOfferingsResult withNextToken(String nextToken) { this.nextToken = nextToken; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesRequest.java index 487eb000612b..189c682d96d8 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesRequest.java @@ -80,9 +80,6 @@ public void setReservedInstancesIds(java.util.Collection reservedInstanc * Returns a reference to this object so that method calls can be chained together. * * @param reservedInstancesIds The optional list of Reserved Instance IDs to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesRequest withReservedInstancesIds(String... reservedInstancesIds) { if (getReservedInstancesIds() == null) setReservedInstancesIds(new java.util.ArrayList(reservedInstancesIds.length)); @@ -98,9 +95,6 @@ public DescribeReservedInstancesRequest withReservedInstancesIds(String... reser * Returns a reference to this object so that method calls can be chained together. * * @param reservedInstancesIds The optional list of Reserved Instance IDs to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesRequest withReservedInstancesIds(java.util.Collection reservedInstancesIds) { if (reservedInstancesIds == null) { @@ -173,9 +167,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -199,9 +190,6 @@ public DescribeReservedInstancesRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesRequest withFilters(java.util.Collection filters) { if (filters == null) { @@ -239,9 +227,6 @@ public void setOfferingType(String offeringType) { * Returns a reference to this object so that method calls can be chained together. * * @param offeringType The Reserved Instance offering type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesRequest withOfferingType(String offeringType) { this.offeringType = offeringType; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesResult.java index 9223cb6f97c0..3d3e11901376 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesResult.java @@ -62,9 +62,6 @@ public void setReservedInstances(java.util.Collection reserve * Returns a reference to this object so that method calls can be chained together. * * @param reservedInstances The list of described Reserved Instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesResult withReservedInstances(ReservedInstances... reservedInstances) { if (getReservedInstances() == null) setReservedInstances(new java.util.ArrayList(reservedInstances.length)); @@ -80,9 +77,6 @@ public DescribeReservedInstancesResult withReservedInstances(ReservedInstances.. * Returns a reference to this object so that method calls can be chained together. * * @param reservedInstances The list of described Reserved Instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedInstancesResult withReservedInstances(java.util.Collection reservedInstances) { if (reservedInstances == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeRouteTablesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeRouteTablesRequest.java index f142ee98e260..34bc346923ae 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeRouteTablesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeRouteTablesRequest.java @@ -88,9 +88,6 @@ public void setRouteTableIds(java.util.Collection routeTableIds) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTableIds One or more route table IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRouteTablesRequest withRouteTableIds(String... routeTableIds) { if (getRouteTableIds() == null) setRouteTableIds(new java.util.ArrayList(routeTableIds.length)); @@ -106,9 +103,6 @@ public DescribeRouteTablesRequest withRouteTableIds(String... routeTableIds) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTableIds One or more route table IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRouteTablesRequest withRouteTableIds(java.util.Collection routeTableIds) { if (routeTableIds == null) { @@ -181,9 +175,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRouteTablesRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -207,9 +198,6 @@ public DescribeRouteTablesRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRouteTablesRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeRouteTablesResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeRouteTablesResult.java index 1484a29be1e4..12d5a5b0fead 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeRouteTablesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeRouteTablesResult.java @@ -57,9 +57,6 @@ public void setRouteTables(java.util.Collection routeTables) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTables The new value for the RouteTables property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRouteTablesResult withRouteTables(RouteTable... routeTables) { if (getRouteTables() == null) setRouteTables(new java.util.ArrayList(routeTables.length)); @@ -75,9 +72,6 @@ public DescribeRouteTablesResult withRouteTables(RouteTable... routeTables) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTables The new value for the RouteTables property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRouteTablesResult withRouteTables(java.util.Collection routeTables) { if (routeTables == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeSecurityGroupsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeSecurityGroupsRequest.java index 2b8441df939d..4e212af19382 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeSecurityGroupsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeSecurityGroupsRequest.java @@ -88,9 +88,6 @@ public void setGroupNames(java.util.Collection groupNames) { * * @param groupNames An optional list of group names that specify the Amazon EC2 security * groups to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSecurityGroupsRequest withGroupNames(String... groupNames) { if (getGroupNames() == null) setGroupNames(new java.util.ArrayList(groupNames.length)); @@ -108,9 +105,6 @@ public DescribeSecurityGroupsRequest withGroupNames(String... groupNames) { * * @param groupNames An optional list of group names that specify the Amazon EC2 security * groups to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSecurityGroupsRequest withGroupNames(java.util.Collection groupNames) { if (groupNames == null) { @@ -159,9 +153,6 @@ public void setGroupIds(java.util.Collection groupIds) { * Returns a reference to this object so that method calls can be chained together. * * @param groupIds The new value for the GroupIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSecurityGroupsRequest withGroupIds(String... groupIds) { if (getGroupIds() == null) setGroupIds(new java.util.ArrayList(groupIds.length)); @@ -177,9 +168,6 @@ public DescribeSecurityGroupsRequest withGroupIds(String... groupIds) { * Returns a reference to this object so that method calls can be chained together. * * @param groupIds The new value for the GroupIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSecurityGroupsRequest withGroupIds(java.util.Collection groupIds) { if (groupIds == null) { @@ -252,9 +240,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSecurityGroupsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -278,9 +263,6 @@ public DescribeSecurityGroupsRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSecurityGroupsRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeSecurityGroupsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeSecurityGroupsResult.java index 4ef97234a6c7..d406d25a483e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeSecurityGroupsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeSecurityGroupsResult.java @@ -62,9 +62,6 @@ public void setSecurityGroups(java.util.Collection securityGroups * Returns a reference to this object so that method calls can be chained together. * * @param securityGroups The list of described Amazon EC2 security groups. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSecurityGroupsResult withSecurityGroups(SecurityGroup... securityGroups) { if (getSecurityGroups() == null) setSecurityGroups(new java.util.ArrayList(securityGroups.length)); @@ -80,9 +77,6 @@ public DescribeSecurityGroupsResult withSecurityGroups(SecurityGroup... security * Returns a reference to this object so that method calls can be chained together. * * @param securityGroups The list of described Amazon EC2 security groups. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSecurityGroupsResult withSecurityGroups(java.util.Collection securityGroups) { if (securityGroups == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotAttributeRequest.java index 790672a9bafc..fd48180023af 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotAttributeRequest.java @@ -104,9 +104,6 @@ public void setSnapshotId(String snapshotId) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshotId The ID of the EBS snapshot whose attribute is being described. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSnapshotAttributeRequest withSnapshotId(String snapshotId) { this.snapshotId = snapshotId; @@ -158,9 +155,6 @@ public void setAttribute(String attribute) { * @param attribute The name of the EBS attribute to describe.

Available attribute * names: createVolumePermission * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SnapshotAttributeName */ public DescribeSnapshotAttributeRequest withAttribute(String attribute) { @@ -197,9 +191,6 @@ public void setAttribute(SnapshotAttributeName attribute) { * @param attribute The name of the EBS attribute to describe.

Available attribute * names: createVolumePermission * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SnapshotAttributeName */ public DescribeSnapshotAttributeRequest withAttribute(SnapshotAttributeName attribute) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotAttributeResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotAttributeResult.java index 69f83839e00d..4ce2024172f1 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotAttributeResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotAttributeResult.java @@ -60,9 +60,6 @@ public void setSnapshotId(String snapshotId) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshotId The ID of the snapshot whose attribute is being described. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSnapshotAttributeResult withSnapshotId(String snapshotId) { this.snapshotId = snapshotId; @@ -117,9 +114,6 @@ public void setCreateVolumePermissions(java.util.Collection Only available if the * createVolumePermission attribute is requested. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSnapshotAttributeResult withCreateVolumePermissions(CreateVolumePermission... createVolumePermissions) { if (getCreateVolumePermissions() == null) setCreateVolumePermissions(new java.util.ArrayList(createVolumePermissions.length)); @@ -139,9 +133,6 @@ public DescribeSnapshotAttributeResult withCreateVolumePermissions(CreateVolumeP * @param createVolumePermissions The list of permissions describing who can create a volume from the * associated EBS snapshot.

Only available if the * createVolumePermission attribute is requested. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSnapshotAttributeResult withCreateVolumePermissions(java.util.Collection createVolumePermissions) { if (createVolumePermissions == null) { @@ -190,9 +181,6 @@ public void setProductCodes(java.util.Collection productCodes) { * Returns a reference to this object so that method calls can be chained together. * * @param productCodes The new value for the ProductCodes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSnapshotAttributeResult withProductCodes(ProductCode... productCodes) { if (getProductCodes() == null) setProductCodes(new java.util.ArrayList(productCodes.length)); @@ -208,9 +196,6 @@ public DescribeSnapshotAttributeResult withProductCodes(ProductCode... productCo * Returns a reference to this object so that method calls can be chained together. * * @param productCodes The new value for the ProductCodes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSnapshotAttributeResult withProductCodes(java.util.Collection productCodes) { if (productCodes == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotsRequest.java index 2ed762b3ffcf..ddfd15320bd2 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotsRequest.java @@ -34,13 +34,17 @@ public class DescribeSnapshotsRequest extends AmazonWebServiceRequest implement private com.amazonaws.internal.ListWithAutoConstructFlag snapshotIds; /** - * The optional list of EBS snapshot owners. + * An optional list of owners by which to scope the described EBS + * snapshots. Valid values are:

    self : Snapshots owned + * by you AWS account ID : Snapshots owned by this account ID + * amazon : Snapshots owned by Amazon

The values + * self and amazon are literals. */ private com.amazonaws.internal.ListWithAutoConstructFlag ownerIds; /** - * The optional list of users who have permission to create volumes from - * the described EBS snapshots. + * An optional list of users. The described snapshots are scoped to only + * those snapshots from which these users can create volumes. */ private com.amazonaws.internal.ListWithAutoConstructFlag restorableByUserIds; @@ -88,9 +92,6 @@ public void setSnapshotIds(java.util.Collection snapshotIds) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshotIds The optional list of EBS snapshot IDs to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSnapshotsRequest withSnapshotIds(String... snapshotIds) { if (getSnapshotIds() == null) setSnapshotIds(new java.util.ArrayList(snapshotIds.length)); @@ -106,9 +107,6 @@ public DescribeSnapshotsRequest withSnapshotIds(String... snapshotIds) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshotIds The optional list of EBS snapshot IDs to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSnapshotsRequest withSnapshotIds(java.util.Collection snapshotIds) { if (snapshotIds == null) { @@ -123,9 +121,17 @@ public DescribeSnapshotsRequest withSnapshotIds(java.util.Collection sna } /** - * The optional list of EBS snapshot owners. + * An optional list of owners by which to scope the described EBS + * snapshots. Valid values are:

    self : Snapshots owned + * by you AWS account ID : Snapshots owned by this account ID + * amazon : Snapshots owned by Amazon

The values + * self and amazon are literals. * - * @return The optional list of EBS snapshot owners. + * @return An optional list of owners by which to scope the described EBS + * snapshots. Valid values are:

    self : Snapshots owned + * by you AWS account ID : Snapshots owned by this account ID + * amazon : Snapshots owned by Amazon

The values + * self and amazon are literals. */ public java.util.List getOwnerIds() { @@ -137,9 +143,17 @@ public java.util.List getOwnerIds() { } /** - * The optional list of EBS snapshot owners. + * An optional list of owners by which to scope the described EBS + * snapshots. Valid values are:

    self : Snapshots owned + * by you AWS account ID : Snapshots owned by this account ID + * amazon : Snapshots owned by Amazon

The values + * self and amazon are literals. * - * @param ownerIds The optional list of EBS snapshot owners. + * @param ownerIds An optional list of owners by which to scope the described EBS + * snapshots. Valid values are:

    self : Snapshots owned + * by you AWS account ID : Snapshots owned by this account ID + * amazon : Snapshots owned by Amazon

The values + * self and amazon are literals. */ public void setOwnerIds(java.util.Collection ownerIds) { if (ownerIds == null) { @@ -152,14 +166,19 @@ public void setOwnerIds(java.util.Collection ownerIds) { } /** - * The optional list of EBS snapshot owners. + * An optional list of owners by which to scope the described EBS + * snapshots. Valid values are:

    self : Snapshots owned + * by you AWS account ID : Snapshots owned by this account ID + * amazon : Snapshots owned by Amazon

The values + * self and amazon are literals. *

* Returns a reference to this object so that method calls can be chained together. * - * @param ownerIds The optional list of EBS snapshot owners. - * - * @return A reference to this updated object so that method calls can be chained - * together. + * @param ownerIds An optional list of owners by which to scope the described EBS + * snapshots. Valid values are:

    self : Snapshots owned + * by you AWS account ID : Snapshots owned by this account ID + * amazon : Snapshots owned by Amazon

The values + * self and amazon are literals. */ public DescribeSnapshotsRequest withOwnerIds(String... ownerIds) { if (getOwnerIds() == null) setOwnerIds(new java.util.ArrayList(ownerIds.length)); @@ -170,14 +189,19 @@ public DescribeSnapshotsRequest withOwnerIds(String... ownerIds) { } /** - * The optional list of EBS snapshot owners. + * An optional list of owners by which to scope the described EBS + * snapshots. Valid values are:

    self : Snapshots owned + * by you AWS account ID : Snapshots owned by this account ID + * amazon : Snapshots owned by Amazon

The values + * self and amazon are literals. *

* Returns a reference to this object so that method calls can be chained together. * - * @param ownerIds The optional list of EBS snapshot owners. - * - * @return A reference to this updated object so that method calls can be chained - * together. + * @param ownerIds An optional list of owners by which to scope the described EBS + * snapshots. Valid values are:

    self : Snapshots owned + * by you AWS account ID : Snapshots owned by this account ID + * amazon : Snapshots owned by Amazon

The values + * self and amazon are literals. */ public DescribeSnapshotsRequest withOwnerIds(java.util.Collection ownerIds) { if (ownerIds == null) { @@ -192,11 +216,11 @@ public DescribeSnapshotsRequest withOwnerIds(java.util.Collection ownerI } /** - * The optional list of users who have permission to create volumes from - * the described EBS snapshots. + * An optional list of users. The described snapshots are scoped to only + * those snapshots from which these users can create volumes. * - * @return The optional list of users who have permission to create volumes from - * the described EBS snapshots. + * @return An optional list of users. The described snapshots are scoped to only + * those snapshots from which these users can create volumes. */ public java.util.List getRestorableByUserIds() { @@ -208,11 +232,11 @@ public java.util.List getRestorableByUserIds() { } /** - * The optional list of users who have permission to create volumes from - * the described EBS snapshots. + * An optional list of users. The described snapshots are scoped to only + * those snapshots from which these users can create volumes. * - * @param restorableByUserIds The optional list of users who have permission to create volumes from - * the described EBS snapshots. + * @param restorableByUserIds An optional list of users. The described snapshots are scoped to only + * those snapshots from which these users can create volumes. */ public void setRestorableByUserIds(java.util.Collection restorableByUserIds) { if (restorableByUserIds == null) { @@ -225,16 +249,13 @@ public void setRestorableByUserIds(java.util.Collection restorableByUser } /** - * The optional list of users who have permission to create volumes from - * the described EBS snapshots. + * An optional list of users. The described snapshots are scoped to only + * those snapshots from which these users can create volumes. *

* Returns a reference to this object so that method calls can be chained together. * - * @param restorableByUserIds The optional list of users who have permission to create volumes from - * the described EBS snapshots. - * - * @return A reference to this updated object so that method calls can be chained - * together. + * @param restorableByUserIds An optional list of users. The described snapshots are scoped to only + * those snapshots from which these users can create volumes. */ public DescribeSnapshotsRequest withRestorableByUserIds(String... restorableByUserIds) { if (getRestorableByUserIds() == null) setRestorableByUserIds(new java.util.ArrayList(restorableByUserIds.length)); @@ -245,16 +266,13 @@ public DescribeSnapshotsRequest withRestorableByUserIds(String... restorableByUs } /** - * The optional list of users who have permission to create volumes from - * the described EBS snapshots. + * An optional list of users. The described snapshots are scoped to only + * those snapshots from which these users can create volumes. *

* Returns a reference to this object so that method calls can be chained together. * - * @param restorableByUserIds The optional list of users who have permission to create volumes from - * the described EBS snapshots. - * - * @return A reference to this updated object so that method calls can be chained - * together. + * @param restorableByUserIds An optional list of users. The described snapshots are scoped to only + * those snapshots from which these users can create volumes. */ public DescribeSnapshotsRequest withRestorableByUserIds(java.util.Collection restorableByUserIds) { if (restorableByUserIds == null) { @@ -327,9 +345,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSnapshotsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -353,9 +368,6 @@ public DescribeSnapshotsRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSnapshotsRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotsResult.java index f743384c2483..6e33f9488f0f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeSnapshotsResult.java @@ -62,9 +62,6 @@ public void setSnapshots(java.util.Collection snapshots) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshots The list of described EBS snapshots. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSnapshotsResult withSnapshots(Snapshot... snapshots) { if (getSnapshots() == null) setSnapshots(new java.util.ArrayList(snapshots.length)); @@ -80,9 +77,6 @@ public DescribeSnapshotsResult withSnapshots(Snapshot... snapshots) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshots The list of described EBS snapshots. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSnapshotsResult withSnapshots(java.util.Collection snapshots) { if (snapshots == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotDatafeedSubscriptionResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotDatafeedSubscriptionResult.java index 61435c4c4986..ac8ac916b018 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotDatafeedSubscriptionResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotDatafeedSubscriptionResult.java @@ -49,9 +49,6 @@ public void setSpotDatafeedSubscription(SpotDatafeedSubscription spotDatafeedSub * Returns a reference to this object so that method calls can be chained together. * * @param spotDatafeedSubscription The Spot Instance datafeed subscription. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotDatafeedSubscriptionResult withSpotDatafeedSubscription(SpotDatafeedSubscription spotDatafeedSubscription) { this.spotDatafeedSubscription = spotDatafeedSubscription; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotInstanceRequestsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotInstanceRequestsRequest.java index 2c292fc01a43..f90572c21a5c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotInstanceRequestsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotInstanceRequestsRequest.java @@ -96,9 +96,6 @@ public void setSpotInstanceRequestIds(java.util.Collection spotInstanceR * Returns a reference to this object so that method calls can be chained together. * * @param spotInstanceRequestIds The ID of the request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotInstanceRequestsRequest withSpotInstanceRequestIds(String... spotInstanceRequestIds) { if (getSpotInstanceRequestIds() == null) setSpotInstanceRequestIds(new java.util.ArrayList(spotInstanceRequestIds.length)); @@ -114,9 +111,6 @@ public DescribeSpotInstanceRequestsRequest withSpotInstanceRequestIds(String... * Returns a reference to this object so that method calls can be chained together. * * @param spotInstanceRequestIds The ID of the request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotInstanceRequestsRequest withSpotInstanceRequestIds(java.util.Collection spotInstanceRequestIds) { if (spotInstanceRequestIds == null) { @@ -189,9 +183,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotInstanceRequestsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -215,9 +206,6 @@ public DescribeSpotInstanceRequestsRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotInstanceRequestsRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotInstanceRequestsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotInstanceRequestsResult.java index a2c6c76a7959..783fdcb5fa64 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotInstanceRequestsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotInstanceRequestsResult.java @@ -58,9 +58,6 @@ public void setSpotInstanceRequests(java.util.Collection sp * Returns a reference to this object so that method calls can be chained together. * * @param spotInstanceRequests The new value for the SpotInstanceRequests property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotInstanceRequestsResult withSpotInstanceRequests(SpotInstanceRequest... spotInstanceRequests) { if (getSpotInstanceRequests() == null) setSpotInstanceRequests(new java.util.ArrayList(spotInstanceRequests.length)); @@ -76,9 +73,6 @@ public DescribeSpotInstanceRequestsResult withSpotInstanceRequests(SpotInstanceR * Returns a reference to this object so that method calls can be chained together. * * @param spotInstanceRequests The new value for the SpotInstanceRequests property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotInstanceRequestsResult withSpotInstanceRequests(java.util.Collection spotInstanceRequests) { if (spotInstanceRequests == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotPriceHistoryRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotPriceHistoryRequest.java index 71a33f071dad..04fe3914d666 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotPriceHistoryRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotPriceHistoryRequest.java @@ -103,9 +103,6 @@ public void setStartTime(java.util.Date startTime) { * Returns a reference to this object so that method calls can be chained together. * * @param startTime The start date and time of the Spot Instance price history data. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryRequest withStartTime(java.util.Date startTime) { this.startTime = startTime; @@ -137,9 +134,6 @@ public void setEndTime(java.util.Date endTime) { * Returns a reference to this object so that method calls can be chained together. * * @param endTime The end date and time of the Spot Instance price history data. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryRequest withEndTime(java.util.Date endTime) { this.endTime = endTime; @@ -182,9 +176,6 @@ public void setInstanceTypes(java.util.Collection instanceTypes) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceTypes Specifies the instance type to return. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryRequest withInstanceTypes(String... instanceTypes) { if (getInstanceTypes() == null) setInstanceTypes(new java.util.ArrayList(instanceTypes.length)); @@ -200,9 +191,6 @@ public DescribeSpotPriceHistoryRequest withInstanceTypes(String... instanceTypes * Returns a reference to this object so that method calls can be chained together. * * @param instanceTypes Specifies the instance type to return. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryRequest withInstanceTypes(java.util.Collection instanceTypes) { if (instanceTypes == null) { @@ -251,9 +239,6 @@ public void setProductDescriptions(java.util.Collection productDescripti * Returns a reference to this object so that method calls can be chained together. * * @param productDescriptions The description of the AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryRequest withProductDescriptions(String... productDescriptions) { if (getProductDescriptions() == null) setProductDescriptions(new java.util.ArrayList(productDescriptions.length)); @@ -269,9 +254,6 @@ public DescribeSpotPriceHistoryRequest withProductDescriptions(String... product * Returns a reference to this object so that method calls can be chained together. * * @param productDescriptions The description of the AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryRequest withProductDescriptions(java.util.Collection productDescriptions) { if (productDescriptions == null) { @@ -344,9 +326,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -370,9 +349,6 @@ public DescribeSpotPriceHistoryRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryRequest withFilters(java.util.Collection filters) { if (filters == null) { @@ -410,9 +386,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone Filters the results by availability zone (ex: 'us-east-1a'). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryRequest withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -444,9 +417,6 @@ public void setMaxResults(Integer maxResults) { * Returns a reference to this object so that method calls can be chained together. * * @param maxResults Specifies the number of rows to return. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryRequest withMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -478,9 +448,6 @@ public void setNextToken(String nextToken) { * Returns a reference to this object so that method calls can be chained together. * * @param nextToken Specifies the next set of rows to return. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryRequest withNextToken(String nextToken) { this.nextToken = nextToken; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotPriceHistoryResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotPriceHistoryResult.java index b0c4fe02f51f..693600624b35 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotPriceHistoryResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeSpotPriceHistoryResult.java @@ -63,9 +63,6 @@ public void setSpotPriceHistory(java.util.Collection spotPriceHistory * Returns a reference to this object so that method calls can be chained together. * * @param spotPriceHistory The new value for the SpotPriceHistory property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryResult withSpotPriceHistory(SpotPrice... spotPriceHistory) { if (getSpotPriceHistory() == null) setSpotPriceHistory(new java.util.ArrayList(spotPriceHistory.length)); @@ -81,9 +78,6 @@ public DescribeSpotPriceHistoryResult withSpotPriceHistory(SpotPrice... spotPric * Returns a reference to this object so that method calls can be chained together. * * @param spotPriceHistory The new value for the SpotPriceHistory property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryResult withSpotPriceHistory(java.util.Collection spotPriceHistory) { if (spotPriceHistory == null) { @@ -127,9 +121,6 @@ public void setNextToken(String nextToken) { * * @param nextToken The string marking the next set of results returned. Displays empty if * there are no more results to be returned. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSpotPriceHistoryResult withNextToken(String nextToken) { this.nextToken = nextToken; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeSubnetsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeSubnetsRequest.java index ec64e92f0f75..87e68b0bc7f8 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeSubnetsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeSubnetsRequest.java @@ -82,9 +82,6 @@ public void setSubnetIds(java.util.Collection subnetIds) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetIds A set of one or more subnet IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSubnetsRequest withSubnetIds(String... subnetIds) { if (getSubnetIds() == null) setSubnetIds(new java.util.ArrayList(subnetIds.length)); @@ -100,9 +97,6 @@ public DescribeSubnetsRequest withSubnetIds(String... subnetIds) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetIds A set of one or more subnet IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSubnetsRequest withSubnetIds(java.util.Collection subnetIds) { if (subnetIds == null) { @@ -169,9 +163,6 @@ public void setFilters(java.util.Collection filters) { * reference to the available filter keys for this operation, see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSubnetsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -193,9 +184,6 @@ public DescribeSubnetsRequest withFilters(Filter... filters) { * reference to the available filter keys for this operation, see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSubnetsRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeSubnetsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeSubnetsResult.java index 8710b1eb031d..61ed850b297b 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeSubnetsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeSubnetsResult.java @@ -62,9 +62,6 @@ public void setSubnets(java.util.Collection subnets) { * Returns a reference to this object so that method calls can be chained together. * * @param subnets Contains a set of one or more Subnet instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSubnetsResult withSubnets(Subnet... subnets) { if (getSubnets() == null) setSubnets(new java.util.ArrayList(subnets.length)); @@ -80,9 +77,6 @@ public DescribeSubnetsResult withSubnets(Subnet... subnets) { * Returns a reference to this object so that method calls can be chained together. * * @param subnets Contains a set of one or more Subnet instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeSubnetsResult withSubnets(java.util.Collection subnets) { if (subnets == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeTagsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeTagsRequest.java index 5d524015d387..a10a6c9cfe0e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeTagsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeTagsRequest.java @@ -87,9 +87,6 @@ public void setFilters(java.util.Collection filters) { * Returns a reference to this object so that method calls can be chained together. * * @param filters A list of filters used to match properties for tags. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeTagsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -105,9 +102,6 @@ public DescribeTagsRequest withFilters(Filter... filters) { * Returns a reference to this object so that method calls can be chained together. * * @param filters A list of filters used to match properties for tags. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeTagsRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeTagsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeTagsResult.java index 26c461b2a415..d02a9938b8ed 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeTagsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeTagsResult.java @@ -61,9 +61,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of the tags for the specified resources. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeTagsResult withTags(TagDescription... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -79,9 +76,6 @@ public DescribeTagsResult withTags(TagDescription... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of the tags for the specified resources. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeTagsResult withTags(java.util.Collection tags) { if (tags == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeAttributeRequest.java index 31f59ebdcdd1..1a76646b18c8 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeAttributeRequest.java @@ -52,9 +52,6 @@ public void setVolumeId(String volumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeId The new value for the VolumeId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeAttributeRequest withVolumeId(String volumeId) { this.volumeId = volumeId; @@ -100,9 +97,6 @@ public void setAttribute(String attribute) { * * @param attribute The new value for the Attribute property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VolumeAttributeName */ public DescribeVolumeAttributeRequest withAttribute(String attribute) { @@ -135,9 +129,6 @@ public void setAttribute(VolumeAttributeName attribute) { * * @param attribute The new value for the Attribute property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VolumeAttributeName */ public DescribeVolumeAttributeRequest withAttribute(VolumeAttributeName attribute) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeAttributeResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeAttributeResult.java index 12d0c48c8822..cc9a34c4c8be 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeAttributeResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeAttributeResult.java @@ -53,9 +53,6 @@ public void setVolumeId(String volumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeId The new value for the VolumeId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeAttributeResult withVolumeId(String volumeId) { this.volumeId = volumeId; @@ -87,9 +84,6 @@ public void setAutoEnableIO(Boolean autoEnableIO) { * Returns a reference to this object so that method calls can be chained together. * * @param autoEnableIO Boolean value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeAttributeResult withAutoEnableIO(Boolean autoEnableIO) { this.autoEnableIO = autoEnableIO; @@ -141,9 +135,6 @@ public void setProductCodes(java.util.Collection productCodes) { * Returns a reference to this object so that method calls can be chained together. * * @param productCodes The new value for the ProductCodes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeAttributeResult withProductCodes(ProductCode... productCodes) { if (getProductCodes() == null) setProductCodes(new java.util.ArrayList(productCodes.length)); @@ -159,9 +150,6 @@ public DescribeVolumeAttributeResult withProductCodes(ProductCode... productCode * Returns a reference to this object so that method calls can be chained together. * * @param productCodes The new value for the ProductCodes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeAttributeResult withProductCodes(java.util.Collection productCodes) { if (productCodes == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeStatusRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeStatusRequest.java index c776b7fa9621..0ae4999d966c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeStatusRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeStatusRequest.java @@ -69,9 +69,6 @@ public void setVolumeIds(java.util.Collection volumeIds) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeIds The new value for the VolumeIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeStatusRequest withVolumeIds(String... volumeIds) { if (getVolumeIds() == null) setVolumeIds(new java.util.ArrayList(volumeIds.length)); @@ -87,9 +84,6 @@ public DescribeVolumeStatusRequest withVolumeIds(String... volumeIds) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeIds The new value for the VolumeIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeStatusRequest withVolumeIds(java.util.Collection volumeIds) { if (volumeIds == null) { @@ -138,9 +132,6 @@ public void setFilters(java.util.Collection filters) { * Returns a reference to this object so that method calls can be chained together. * * @param filters The new value for the Filters property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeStatusRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -156,9 +147,6 @@ public DescribeVolumeStatusRequest withFilters(Filter... filters) { * Returns a reference to this object so that method calls can be chained together. * * @param filters The new value for the Filters property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeStatusRequest withFilters(java.util.Collection filters) { if (filters == null) { @@ -196,9 +184,6 @@ public void setNextToken(String nextToken) { * Returns a reference to this object so that method calls can be chained together. * * @param nextToken The new value for the NextToken property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeStatusRequest withNextToken(String nextToken) { this.nextToken = nextToken; @@ -230,9 +215,6 @@ public void setMaxResults(Integer maxResults) { * Returns a reference to this object so that method calls can be chained together. * * @param maxResults The new value for the MaxResults property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeStatusRequest withMaxResults(Integer maxResults) { this.maxResults = maxResults; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeStatusResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeStatusResult.java index 12104a0117bf..e9dadcff5b39 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeStatusResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumeStatusResult.java @@ -59,9 +59,6 @@ public void setVolumeStatuses(java.util.Collection volumeStatu * Returns a reference to this object so that method calls can be chained together. * * @param volumeStatuses The new value for the VolumeStatuses property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeStatusResult withVolumeStatuses(VolumeStatusItem... volumeStatuses) { if (getVolumeStatuses() == null) setVolumeStatuses(new java.util.ArrayList(volumeStatuses.length)); @@ -77,9 +74,6 @@ public DescribeVolumeStatusResult withVolumeStatuses(VolumeStatusItem... volumeS * Returns a reference to this object so that method calls can be chained together. * * @param volumeStatuses The new value for the VolumeStatuses property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeStatusResult withVolumeStatuses(java.util.Collection volumeStatuses) { if (volumeStatuses == null) { @@ -117,9 +111,6 @@ public void setNextToken(String nextToken) { * Returns a reference to this object so that method calls can be chained together. * * @param nextToken The new value for the NextToken property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumeStatusResult withNextToken(String nextToken) { this.nextToken = nextToken; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumesRequest.java index 3faef626d8a4..3a0046ab147c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumesRequest.java @@ -96,9 +96,6 @@ public void setVolumeIds(java.util.Collection volumeIds) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeIds The optional list of EBS volumes to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumesRequest withVolumeIds(String... volumeIds) { if (getVolumeIds() == null) setVolumeIds(new java.util.ArrayList(volumeIds.length)); @@ -114,9 +111,6 @@ public DescribeVolumesRequest withVolumeIds(String... volumeIds) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeIds The optional list of EBS volumes to describe. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumesRequest withVolumeIds(java.util.Collection volumeIds) { if (volumeIds == null) { @@ -183,9 +177,6 @@ public void setFilters(java.util.Collection filters) { * reference to the available filter keys for this operation, see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumesRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -207,9 +198,6 @@ public DescribeVolumesRequest withFilters(Filter... filters) { * reference to the available filter keys for this operation, see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumesRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumesResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumesResult.java index 241359b8eb3d..cf9f4d94a0e2 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVolumesResult.java @@ -62,9 +62,6 @@ public void setVolumes(java.util.Collection volumes) { * Returns a reference to this object so that method calls can be chained together. * * @param volumes The list of described EBS volumes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumesResult withVolumes(Volume... volumes) { if (getVolumes() == null) setVolumes(new java.util.ArrayList(volumes.length)); @@ -80,9 +77,6 @@ public DescribeVolumesResult withVolumes(Volume... volumes) { * Returns a reference to this object so that method calls can be chained together. * * @param volumes The list of described EBS volumes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumesResult withVolumes(java.util.Collection volumes) { if (volumes == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcAttributeRequest.java index c8dc2e325153..07cf95e9564c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcAttributeRequest.java @@ -52,9 +52,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The new value for the VpcId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpcAttributeRequest withVpcId(String vpcId) { this.vpcId = vpcId; @@ -100,9 +97,6 @@ public void setAttribute(String attribute) { * * @param attribute The new value for the Attribute property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VpcAttributeName */ public DescribeVpcAttributeRequest withAttribute(String attribute) { @@ -135,9 +129,6 @@ public void setAttribute(VpcAttributeName attribute) { * * @param attribute The new value for the Attribute property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VpcAttributeName */ public DescribeVpcAttributeRequest withAttribute(VpcAttributeName attribute) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcAttributeResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcAttributeResult.java index a4ab530c66e9..7f31002d1ec7 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcAttributeResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcAttributeResult.java @@ -56,9 +56,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The new value for the VpcId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpcAttributeResult withVpcId(String vpcId) { this.vpcId = vpcId; @@ -90,9 +87,6 @@ public void setEnableDnsSupport(Boolean enableDnsSupport) { * Returns a reference to this object so that method calls can be chained together. * * @param enableDnsSupport Boolean value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpcAttributeResult withEnableDnsSupport(Boolean enableDnsSupport) { this.enableDnsSupport = enableDnsSupport; @@ -133,9 +127,6 @@ public void setEnableDnsHostnames(Boolean enableDnsHostnames) { * Returns a reference to this object so that method calls can be chained together. * * @param enableDnsHostnames Boolean value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpcAttributeResult withEnableDnsHostnames(Boolean enableDnsHostnames) { this.enableDnsHostnames = enableDnsHostnames; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcsRequest.java index c77b00cffd2c..1c806dd90f1e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcsRequest.java @@ -82,9 +82,6 @@ public void setVpcIds(java.util.Collection vpcIds) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcIds The ID of a VPC you want information about. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpcsRequest withVpcIds(String... vpcIds) { if (getVpcIds() == null) setVpcIds(new java.util.ArrayList(vpcIds.length)); @@ -100,9 +97,6 @@ public DescribeVpcsRequest withVpcIds(String... vpcIds) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcIds The ID of a VPC you want information about. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpcsRequest withVpcIds(java.util.Collection vpcIds) { if (vpcIds == null) { @@ -169,9 +163,6 @@ public void setFilters(java.util.Collection filters) { * reference to the available filter keys for this operation, see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpcsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -193,9 +184,6 @@ public DescribeVpcsRequest withFilters(Filter... filters) { * reference to the available filter keys for this operation, see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpcsRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcsResult.java index da26eb790abe..11f91d778c81 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcsResult.java @@ -62,9 +62,6 @@ public void setVpcs(java.util.Collection vpcs) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcs - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpcsResult withVpcs(Vpc... vpcs) { if (getVpcs() == null) setVpcs(new java.util.ArrayList(vpcs.length)); @@ -80,9 +77,6 @@ public DescribeVpcsResult withVpcs(Vpc... vpcs) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcs - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpcsResult withVpcs(java.util.Collection vpcs) { if (vpcs == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnConnectionsRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnConnectionsRequest.java index df30dc4ad316..52fd7c7b8049 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnConnectionsRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnConnectionsRequest.java @@ -83,9 +83,6 @@ public void setVpnConnectionIds(java.util.Collection vpnConnectionIds) { * Returns a reference to this object so that method calls can be chained together. * * @param vpnConnectionIds A VPN connection ID. More than one may be specified per request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpnConnectionsRequest withVpnConnectionIds(String... vpnConnectionIds) { if (getVpnConnectionIds() == null) setVpnConnectionIds(new java.util.ArrayList(vpnConnectionIds.length)); @@ -101,9 +98,6 @@ public DescribeVpnConnectionsRequest withVpnConnectionIds(String... vpnConnectio * Returns a reference to this object so that method calls can be chained together. * * @param vpnConnectionIds A VPN connection ID. More than one may be specified per request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpnConnectionsRequest withVpnConnectionIds(java.util.Collection vpnConnectionIds) { if (vpnConnectionIds == null) { @@ -176,9 +170,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpnConnectionsRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -202,9 +193,6 @@ public DescribeVpnConnectionsRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpnConnectionsRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnConnectionsResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnConnectionsResult.java index 9633d5f0f77a..3a37ba5776fa 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnConnectionsResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnConnectionsResult.java @@ -62,9 +62,6 @@ public void setVpnConnections(java.util.Collection vpnConnections * Returns a reference to this object so that method calls can be chained together. * * @param vpnConnections - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpnConnectionsResult withVpnConnections(VpnConnection... vpnConnections) { if (getVpnConnections() == null) setVpnConnections(new java.util.ArrayList(vpnConnections.length)); @@ -80,9 +77,6 @@ public DescribeVpnConnectionsResult withVpnConnections(VpnConnection... vpnConne * Returns a reference to this object so that method calls can be chained together. * * @param vpnConnections - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpnConnectionsResult withVpnConnections(java.util.Collection vpnConnections) { if (vpnConnections == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnGatewaysRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnGatewaysRequest.java index 695849a2109c..440bbb151d56 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnGatewaysRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnGatewaysRequest.java @@ -112,9 +112,6 @@ public void setVpnGatewayIds(java.util.Collection vpnGatewayIds) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpnGatewaysRequest withVpnGatewayIds(String... vpnGatewayIds) { if (getVpnGatewayIds() == null) setVpnGatewayIds(new java.util.ArrayList(vpnGatewayIds.length)); @@ -138,9 +135,6 @@ public DescribeVpnGatewaysRequest withVpnGatewayIds(String... vpnGatewayIds) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpnGatewaysRequest withVpnGatewayIds(java.util.Collection vpnGatewayIds) { if (vpnGatewayIds == null) { @@ -213,9 +207,6 @@ public void setFilters(java.util.Collection filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpnGatewaysRequest withFilters(Filter... filters) { if (getFilters() == null) setFilters(new java.util.ArrayList(filters.length)); @@ -239,9 +230,6 @@ public DescribeVpnGatewaysRequest withFilters(Filter... filters) { * see the Amazon * EC2 API reference. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpnGatewaysRequest withFilters(java.util.Collection filters) { if (filters == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnGatewaysResult.java b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnGatewaysResult.java index 87df651a5f8e..31e492a08cf2 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnGatewaysResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DescribeVpnGatewaysResult.java @@ -62,9 +62,6 @@ public void setVpnGateways(java.util.Collection vpnGateways) { * Returns a reference to this object so that method calls can be chained together. * * @param vpnGateways - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpnGatewaysResult withVpnGateways(VpnGateway... vpnGateways) { if (getVpnGateways() == null) setVpnGateways(new java.util.ArrayList(vpnGateways.length)); @@ -80,9 +77,6 @@ public DescribeVpnGatewaysResult withVpnGateways(VpnGateway... vpnGateways) { * Returns a reference to this object so that method calls can be chained together. * * @param vpnGateways - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVpnGatewaysResult withVpnGateways(java.util.Collection vpnGateways) { if (vpnGateways == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DetachInternetGatewayRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DetachInternetGatewayRequest.java index 903788660957..31b5d2f47865 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DetachInternetGatewayRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DetachInternetGatewayRequest.java @@ -64,9 +64,6 @@ public void setInternetGatewayId(String internetGatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param internetGatewayId The ID of the Internet gateway to detach. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachInternetGatewayRequest withInternetGatewayId(String internetGatewayId) { this.internetGatewayId = internetGatewayId; @@ -98,9 +95,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The ID of the VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachInternetGatewayRequest withVpcId(String vpcId) { this.vpcId = vpcId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DetachNetworkInterfaceRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DetachNetworkInterfaceRequest.java index 41bb97c28a06..8f1fb50159af 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DetachNetworkInterfaceRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DetachNetworkInterfaceRequest.java @@ -52,9 +52,6 @@ public void setAttachmentId(String attachmentId) { * Returns a reference to this object so that method calls can be chained together. * * @param attachmentId The new value for the AttachmentId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachNetworkInterfaceRequest withAttachmentId(String attachmentId) { this.attachmentId = attachmentId; @@ -86,9 +83,6 @@ public void setForce(Boolean force) { * Returns a reference to this object so that method calls can be chained together. * * @param force The new value for the Force property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachNetworkInterfaceRequest withForce(Boolean force) { this.force = force; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DetachVolumeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DetachVolumeRequest.java index 2175c91bdc53..5a0dcf7022b3 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DetachVolumeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DetachVolumeRequest.java @@ -99,9 +99,6 @@ public void setVolumeId(String volumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeId The ID of the volume to detach. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachVolumeRequest withVolumeId(String volumeId) { this.volumeId = volumeId; @@ -133,9 +130,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of the instance from which to detach the the specified volume. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachVolumeRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -173,9 +167,6 @@ public void setDevice(String device) { * * @param device The device name to which the volume is attached on the specified * instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachVolumeRequest withDevice(String device) { this.device = device; @@ -249,9 +240,6 @@ public void setForce(Boolean force) { * opportunity to flush file system caches nor file system meta data. If * you use this option, you must perform file system check and repair * procedures. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachVolumeRequest withForce(Boolean force) { this.force = force; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DetachVolumeResult.java b/src/main/java/com/amazonaws/services/ec2/model/DetachVolumeResult.java index 5847e1d3d40b..fc0b38136410 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DetachVolumeResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DetachVolumeResult.java @@ -58,9 +58,6 @@ public void setAttachment(VolumeAttachment attachment) { * * @param attachment The updated EBS volume attachment information after trying to detach * the volume from the specified instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachVolumeResult withAttachment(VolumeAttachment attachment) { this.attachment = attachment; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DetachVpnGatewayRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DetachVpnGatewayRequest.java index 917a2645ccce..42c38dcd6618 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DetachVpnGatewayRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DetachVpnGatewayRequest.java @@ -87,9 +87,6 @@ public void setVpnGatewayId(String vpnGatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpnGatewayId The ID of the VPN gateway to detach from the VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachVpnGatewayRequest withVpnGatewayId(String vpnGatewayId) { this.vpnGatewayId = vpnGatewayId; @@ -121,9 +118,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The ID of the VPC to detach the VPN gateway from. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachVpnGatewayRequest withVpcId(String vpcId) { this.vpcId = vpcId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DhcpConfiguration.java b/src/main/java/com/amazonaws/services/ec2/model/DhcpConfiguration.java index 75f01e713896..51084fe993b6 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DhcpConfiguration.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DhcpConfiguration.java @@ -56,9 +56,6 @@ public void setKey(String key) { * Returns a reference to this object so that method calls can be chained together. * * @param key Contains the name of a DHCP option. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DhcpConfiguration withKey(String key) { this.key = key; @@ -101,9 +98,6 @@ public void setValues(java.util.Collection values) { * Returns a reference to this object so that method calls can be chained together. * * @param values Contains a set of values for a DHCP option. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DhcpConfiguration withValues(String... values) { if (getValues() == null) setValues(new java.util.ArrayList(values.length)); @@ -119,9 +113,6 @@ public DhcpConfiguration withValues(String... values) { * Returns a reference to this object so that method calls can be chained together. * * @param values Contains a set of values for a DHCP option. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DhcpConfiguration withValues(java.util.Collection values) { if (values == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DhcpOptions.java b/src/main/java/com/amazonaws/services/ec2/model/DhcpOptions.java index c0acb752aa30..ec948fdda1d9 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DhcpOptions.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DhcpOptions.java @@ -61,9 +61,6 @@ public void setDhcpOptionsId(String dhcpOptionsId) { * Returns a reference to this object so that method calls can be chained together. * * @param dhcpOptionsId Specifies the ID of the set of DHCP options. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DhcpOptions withDhcpOptionsId(String dhcpOptionsId) { this.dhcpOptionsId = dhcpOptionsId; @@ -106,9 +103,6 @@ public void setDhcpConfigurations(java.util.Collection dhcpCo * Returns a reference to this object so that method calls can be chained together. * * @param dhcpConfigurations Contains information about the set of DHCP options. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DhcpOptions withDhcpConfigurations(DhcpConfiguration... dhcpConfigurations) { if (getDhcpConfigurations() == null) setDhcpConfigurations(new java.util.ArrayList(dhcpConfigurations.length)); @@ -124,9 +118,6 @@ public DhcpOptions withDhcpConfigurations(DhcpConfiguration... dhcpConfiguration * Returns a reference to this object so that method calls can be chained together. * * @param dhcpConfigurations Contains information about the set of DHCP options. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DhcpOptions withDhcpConfigurations(java.util.Collection dhcpConfigurations) { if (dhcpConfigurations == null) { @@ -175,9 +166,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the DhcpOptions. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DhcpOptions withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -193,9 +181,6 @@ public DhcpOptions withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the DhcpOptions. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DhcpOptions withTags(java.util.Collection tags) { if (tags == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/DisableVgwRoutePropagationRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DisableVgwRoutePropagationRequest.java index 2af08b87e7e5..e58aaca3ce73 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DisableVgwRoutePropagationRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DisableVgwRoutePropagationRequest.java @@ -52,9 +52,6 @@ public void setRouteTableId(String routeTableId) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTableId The new value for the RouteTableId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DisableVgwRoutePropagationRequest withRouteTableId(String routeTableId) { this.routeTableId = routeTableId; @@ -86,9 +83,6 @@ public void setGatewayId(String gatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param gatewayId The new value for the GatewayId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DisableVgwRoutePropagationRequest withGatewayId(String gatewayId) { this.gatewayId = gatewayId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DisassociateAddressRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DisassociateAddressRequest.java index 15468a3d3c44..99b6b7afa3a5 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DisassociateAddressRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DisassociateAddressRequest.java @@ -84,9 +84,6 @@ public void setPublicIp(String publicIp) { * Returns a reference to this object so that method calls can be chained together. * * @param publicIp The elastic IP address that you are disassociating from the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DisassociateAddressRequest withPublicIp(String publicIp) { this.publicIp = publicIp; @@ -124,9 +121,6 @@ public void setAssociationId(String associationId) { * * @param associationId Association ID corresponding to the VPC elastic IP address you want to * disassociate. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DisassociateAddressRequest withAssociationId(String associationId) { this.associationId = associationId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DisassociateRouteTableRequest.java b/src/main/java/com/amazonaws/services/ec2/model/DisassociateRouteTableRequest.java index 5410230b1468..9bc4c45d9d37 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DisassociateRouteTableRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DisassociateRouteTableRequest.java @@ -67,9 +67,6 @@ public void setAssociationId(String associationId) { * * @param associationId The association ID representing the current association between the * route table and subnet. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DisassociateRouteTableRequest withAssociationId(String associationId) { this.associationId = associationId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DiskImage.java b/src/main/java/com/amazonaws/services/ec2/model/DiskImage.java index e93e2fb916ff..3dbbbc6cd866 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DiskImage.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DiskImage.java @@ -50,9 +50,6 @@ public void setImage(DiskImageDetail image) { * Returns a reference to this object so that method calls can be chained together. * * @param image The new value for the Image property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DiskImage withImage(DiskImageDetail image) { this.image = image; @@ -84,9 +81,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DiskImage withDescription(String description) { this.description = description; @@ -118,9 +112,6 @@ public void setVolume(VolumeDetail volume) { * Returns a reference to this object so that method calls can be chained together. * * @param volume The new value for the Volume property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DiskImage withVolume(VolumeDetail volume) { this.volume = volume; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DiskImageDescription.java b/src/main/java/com/amazonaws/services/ec2/model/DiskImageDescription.java index 2629cfd988e1..e95ac3707ba5 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DiskImageDescription.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DiskImageDescription.java @@ -52,9 +52,6 @@ public void setFormat(String format) { * Returns a reference to this object so that method calls can be chained together. * * @param format The new value for the Format property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DiskImageDescription withFormat(String format) { this.format = format; @@ -86,9 +83,6 @@ public void setSize(Long size) { * Returns a reference to this object so that method calls can be chained together. * * @param size The new value for the Size property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DiskImageDescription withSize(Long size) { this.size = size; @@ -120,9 +114,6 @@ public void setImportManifestUrl(String importManifestUrl) { * Returns a reference to this object so that method calls can be chained together. * * @param importManifestUrl The new value for the ImportManifestUrl property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DiskImageDescription withImportManifestUrl(String importManifestUrl) { this.importManifestUrl = importManifestUrl; @@ -154,9 +145,6 @@ public void setChecksum(String checksum) { * Returns a reference to this object so that method calls can be chained together. * * @param checksum The new value for the Checksum property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DiskImageDescription withChecksum(String checksum) { this.checksum = checksum; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DiskImageDetail.java b/src/main/java/com/amazonaws/services/ec2/model/DiskImageDetail.java index 4cd5df085a0c..e867293e62cc 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DiskImageDetail.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DiskImageDetail.java @@ -50,9 +50,6 @@ public void setFormat(String format) { * Returns a reference to this object so that method calls can be chained together. * * @param format The new value for the Format property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DiskImageDetail withFormat(String format) { this.format = format; @@ -84,9 +81,6 @@ public void setBytes(Long bytes) { * Returns a reference to this object so that method calls can be chained together. * * @param bytes The new value for the Bytes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DiskImageDetail withBytes(Long bytes) { this.bytes = bytes; @@ -118,9 +112,6 @@ public void setImportManifestUrl(String importManifestUrl) { * Returns a reference to this object so that method calls can be chained together. * * @param importManifestUrl The new value for the ImportManifestUrl property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DiskImageDetail withImportManifestUrl(String importManifestUrl) { this.importManifestUrl = importManifestUrl; diff --git a/src/main/java/com/amazonaws/services/ec2/model/DiskImageVolumeDescription.java b/src/main/java/com/amazonaws/services/ec2/model/DiskImageVolumeDescription.java index 22052fc3877b..66870cc40b46 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/DiskImageVolumeDescription.java +++ b/src/main/java/com/amazonaws/services/ec2/model/DiskImageVolumeDescription.java @@ -48,9 +48,6 @@ public void setSize(Long size) { * Returns a reference to this object so that method calls can be chained together. * * @param size The new value for the Size property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DiskImageVolumeDescription withSize(Long size) { this.size = size; @@ -82,9 +79,6 @@ public void setId(String id) { * Returns a reference to this object so that method calls can be chained together. * * @param id The new value for the Id property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DiskImageVolumeDescription withId(String id) { this.id = id; diff --git a/src/main/java/com/amazonaws/services/ec2/model/EbsBlockDevice.java b/src/main/java/com/amazonaws/services/ec2/model/EbsBlockDevice.java index 97c81039049b..49036111ad7a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/EbsBlockDevice.java +++ b/src/main/java/com/amazonaws/services/ec2/model/EbsBlockDevice.java @@ -66,9 +66,6 @@ public void setSnapshotId(String snapshotId) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshotId The ID of the snapshot from which the volume will be created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EbsBlockDevice withSnapshotId(String snapshotId) { this.snapshotId = snapshotId; @@ -100,9 +97,6 @@ public void setVolumeSize(Integer volumeSize) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeSize The size of the volume, in gigabytes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EbsBlockDevice withVolumeSize(Integer volumeSize) { this.volumeSize = volumeSize; @@ -140,9 +134,6 @@ public void setDeleteOnTermination(Boolean deleteOnTermination) { * * @param deleteOnTermination Specifies whether the Amazon EBS volume is deleted on instance * termination. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EbsBlockDevice withDeleteOnTermination(Boolean deleteOnTermination) { this.deleteOnTermination = deleteOnTermination; @@ -199,9 +190,6 @@ public void setVolumeType(String volumeType) { * * @param volumeType The new value for the VolumeType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VolumeType */ public EbsBlockDevice withVolumeType(String volumeType) { @@ -234,9 +222,6 @@ public void setVolumeType(VolumeType volumeType) { * * @param volumeType The new value for the VolumeType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VolumeType */ public EbsBlockDevice withVolumeType(VolumeType volumeType) { @@ -268,9 +253,6 @@ public void setIops(Integer iops) { * Returns a reference to this object so that method calls can be chained together. * * @param iops The new value for the Iops property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EbsBlockDevice withIops(Integer iops) { this.iops = iops; diff --git a/src/main/java/com/amazonaws/services/ec2/model/EbsInstanceBlockDevice.java b/src/main/java/com/amazonaws/services/ec2/model/EbsInstanceBlockDevice.java index 175a62ba7a7a..b2182616ac5f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/EbsInstanceBlockDevice.java +++ b/src/main/java/com/amazonaws/services/ec2/model/EbsInstanceBlockDevice.java @@ -68,9 +68,6 @@ public void setVolumeId(String volumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeId The ID of the EBS volume. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EbsInstanceBlockDevice withVolumeId(String volumeId) { this.volumeId = volumeId; @@ -102,9 +99,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The status of the EBS volume. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EbsInstanceBlockDevice withStatus(String status) { this.status = status; @@ -142,9 +136,6 @@ public void setAttachTime(java.util.Date attachTime) { * * @param attachTime The time at which the EBS volume was attached to the associated * instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EbsInstanceBlockDevice withAttachTime(java.util.Date attachTime) { this.attachTime = attachTime; @@ -182,9 +173,6 @@ public void setDeleteOnTermination(Boolean deleteOnTermination) { * * @param deleteOnTermination Specifies whether the Amazon EBS volume is deleted on instance * termination. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EbsInstanceBlockDevice withDeleteOnTermination(Boolean deleteOnTermination) { this.deleteOnTermination = deleteOnTermination; diff --git a/src/main/java/com/amazonaws/services/ec2/model/EbsInstanceBlockDeviceSpecification.java b/src/main/java/com/amazonaws/services/ec2/model/EbsInstanceBlockDeviceSpecification.java index 8d7f9dfb2461..dc247043c8d1 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/EbsInstanceBlockDeviceSpecification.java +++ b/src/main/java/com/amazonaws/services/ec2/model/EbsInstanceBlockDeviceSpecification.java @@ -64,9 +64,6 @@ public void setVolumeId(String volumeId) { * * @param volumeId The ID of the EBS volume that should be mounted as a block device on * an Amazon EC2 instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EbsInstanceBlockDeviceSpecification withVolumeId(String volumeId) { this.volumeId = volumeId; @@ -104,9 +101,6 @@ public void setDeleteOnTermination(Boolean deleteOnTermination) { * * @param deleteOnTermination Specifies whether the Amazon EBS volume is deleted on instance * termination. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EbsInstanceBlockDeviceSpecification withDeleteOnTermination(Boolean deleteOnTermination) { this.deleteOnTermination = deleteOnTermination; diff --git a/src/main/java/com/amazonaws/services/ec2/model/EnableVgwRoutePropagationRequest.java b/src/main/java/com/amazonaws/services/ec2/model/EnableVgwRoutePropagationRequest.java index d45ee89f8704..89e304dd7879 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/EnableVgwRoutePropagationRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/EnableVgwRoutePropagationRequest.java @@ -52,9 +52,6 @@ public void setRouteTableId(String routeTableId) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTableId The new value for the RouteTableId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EnableVgwRoutePropagationRequest withRouteTableId(String routeTableId) { this.routeTableId = routeTableId; @@ -86,9 +83,6 @@ public void setGatewayId(String gatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param gatewayId The new value for the GatewayId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EnableVgwRoutePropagationRequest withGatewayId(String gatewayId) { this.gatewayId = gatewayId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/EnableVolumeIORequest.java b/src/main/java/com/amazonaws/services/ec2/model/EnableVolumeIORequest.java index f9be1af84fef..bcf1c80098b0 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/EnableVolumeIORequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/EnableVolumeIORequest.java @@ -52,9 +52,6 @@ public void setVolumeId(String volumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeId The new value for the VolumeId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EnableVolumeIORequest withVolumeId(String volumeId) { this.volumeId = volumeId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ExportTask.java b/src/main/java/com/amazonaws/services/ec2/model/ExportTask.java index d00e09f886d0..0b6fcafbc86e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ExportTask.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ExportTask.java @@ -56,9 +56,6 @@ public void setExportTaskId(String exportTaskId) { * Returns a reference to this object so that method calls can be chained together. * * @param exportTaskId The new value for the ExportTaskId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ExportTask withExportTaskId(String exportTaskId) { this.exportTaskId = exportTaskId; @@ -90,9 +87,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ExportTask withDescription(String description) { this.description = description; @@ -124,9 +118,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state The new value for the State property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ExportTask withState(String state) { this.state = state; @@ -158,9 +149,6 @@ public void setStatusMessage(String statusMessage) { * Returns a reference to this object so that method calls can be chained together. * * @param statusMessage The new value for the StatusMessage property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ExportTask withStatusMessage(String statusMessage) { this.statusMessage = statusMessage; @@ -193,9 +181,6 @@ public void setInstanceExportDetails(InstanceExportDetails instanceExportDetails * Returns a reference to this object so that method calls can be chained together. * * @param instanceExportDetails The new value for the InstanceExportDetails property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ExportTask withInstanceExportDetails(InstanceExportDetails instanceExportDetails) { this.instanceExportDetails = instanceExportDetails; @@ -227,9 +212,6 @@ public void setExportToS3Task(ExportToS3Task exportToS3Task) { * Returns a reference to this object so that method calls can be chained together. * * @param exportToS3Task The new value for the ExportToS3Task property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ExportTask withExportToS3Task(ExportToS3Task exportToS3Task) { this.exportToS3Task = exportToS3Task; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ExportToS3Task.java b/src/main/java/com/amazonaws/services/ec2/model/ExportToS3Task.java index 36ed68728d81..061e13cb1fb5 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ExportToS3Task.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ExportToS3Task.java @@ -66,9 +66,6 @@ public void setDiskImageFormat(String diskImageFormat) { * * @param diskImageFormat The new value for the DiskImageFormat property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see DiskImageFormat */ public ExportToS3Task withDiskImageFormat(String diskImageFormat) { @@ -101,9 +98,6 @@ public void setDiskImageFormat(DiskImageFormat diskImageFormat) { * * @param diskImageFormat The new value for the DiskImageFormat property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see DiskImageFormat */ public ExportToS3Task withDiskImageFormat(DiskImageFormat diskImageFormat) { @@ -149,9 +143,6 @@ public void setContainerFormat(String containerFormat) { * * @param containerFormat The new value for the ContainerFormat property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see ContainerFormat */ public ExportToS3Task withContainerFormat(String containerFormat) { @@ -184,9 +175,6 @@ public void setContainerFormat(ContainerFormat containerFormat) { * * @param containerFormat The new value for the ContainerFormat property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see ContainerFormat */ public ExportToS3Task withContainerFormat(ContainerFormat containerFormat) { @@ -218,9 +206,6 @@ public void setS3Bucket(String s3Bucket) { * Returns a reference to this object so that method calls can be chained together. * * @param s3Bucket The new value for the S3Bucket property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ExportToS3Task withS3Bucket(String s3Bucket) { this.s3Bucket = s3Bucket; @@ -252,9 +237,6 @@ public void setS3Key(String s3Key) { * Returns a reference to this object so that method calls can be chained together. * * @param s3Key The new value for the S3Key property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ExportToS3Task withS3Key(String s3Key) { this.s3Key = s3Key; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ExportToS3TaskSpecification.java b/src/main/java/com/amazonaws/services/ec2/model/ExportToS3TaskSpecification.java index 9837be2d48b5..e54be411a08e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ExportToS3TaskSpecification.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ExportToS3TaskSpecification.java @@ -66,9 +66,6 @@ public void setDiskImageFormat(String diskImageFormat) { * * @param diskImageFormat The new value for the DiskImageFormat property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see DiskImageFormat */ public ExportToS3TaskSpecification withDiskImageFormat(String diskImageFormat) { @@ -101,9 +98,6 @@ public void setDiskImageFormat(DiskImageFormat diskImageFormat) { * * @param diskImageFormat The new value for the DiskImageFormat property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see DiskImageFormat */ public ExportToS3TaskSpecification withDiskImageFormat(DiskImageFormat diskImageFormat) { @@ -149,9 +143,6 @@ public void setContainerFormat(String containerFormat) { * * @param containerFormat The new value for the ContainerFormat property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see ContainerFormat */ public ExportToS3TaskSpecification withContainerFormat(String containerFormat) { @@ -184,9 +175,6 @@ public void setContainerFormat(ContainerFormat containerFormat) { * * @param containerFormat The new value for the ContainerFormat property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see ContainerFormat */ public ExportToS3TaskSpecification withContainerFormat(ContainerFormat containerFormat) { @@ -218,9 +206,6 @@ public void setS3Bucket(String s3Bucket) { * Returns a reference to this object so that method calls can be chained together. * * @param s3Bucket The new value for the S3Bucket property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ExportToS3TaskSpecification withS3Bucket(String s3Bucket) { this.s3Bucket = s3Bucket; @@ -252,9 +237,6 @@ public void setS3Prefix(String s3Prefix) { * Returns a reference to this object so that method calls can be chained together. * * @param s3Prefix The new value for the S3Prefix property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ExportToS3TaskSpecification withS3Prefix(String s3Prefix) { this.s3Prefix = s3Prefix; diff --git a/src/main/java/com/amazonaws/services/ec2/model/Filter.java b/src/main/java/com/amazonaws/services/ec2/model/Filter.java index 0bf692826d1d..9a77781f6998 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Filter.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Filter.java @@ -101,9 +101,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name Specifies the name of the filter. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Filter withName(String name) { this.name = name; @@ -146,9 +143,6 @@ public void setValues(java.util.Collection values) { * Returns a reference to this object so that method calls can be chained together. * * @param values Contains one or more values for the filter. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Filter withValues(String... values) { if (getValues() == null) setValues(new java.util.ArrayList(values.length)); @@ -164,9 +158,6 @@ public Filter withValues(String... values) { * Returns a reference to this object so that method calls can be chained together. * * @param values Contains one or more values for the filter. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Filter withValues(java.util.Collection values) { if (values == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/GetConsoleOutputRequest.java b/src/main/java/com/amazonaws/services/ec2/model/GetConsoleOutputRequest.java index 1d024ba7c90f..05c91b37ebf4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/GetConsoleOutputRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/GetConsoleOutputRequest.java @@ -81,9 +81,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of the instance for which you want console output. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public GetConsoleOutputRequest withInstanceId(String instanceId) { this.instanceId = instanceId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/GetConsoleOutputResult.java b/src/main/java/com/amazonaws/services/ec2/model/GetConsoleOutputResult.java index 11c94bc5487c..83ef2fe04d76 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/GetConsoleOutputResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/GetConsoleOutputResult.java @@ -61,9 +61,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of the instance whose console output was requested. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public GetConsoleOutputResult withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -95,9 +92,6 @@ public void setTimestamp(java.util.Date timestamp) { * Returns a reference to this object so that method calls can be chained together. * * @param timestamp The time the output was last updated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public GetConsoleOutputResult withTimestamp(java.util.Date timestamp) { this.timestamp = timestamp; @@ -129,9 +123,6 @@ public void setOutput(String output) { * Returns a reference to this object so that method calls can be chained together. * * @param output The console output, Base64 encoded. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public GetConsoleOutputResult withOutput(String output) { this.output = output; diff --git a/src/main/java/com/amazonaws/services/ec2/model/GetPasswordDataRequest.java b/src/main/java/com/amazonaws/services/ec2/model/GetPasswordDataRequest.java index 8fc669892d1f..8581b808e253 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/GetPasswordDataRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/GetPasswordDataRequest.java @@ -88,9 +88,6 @@ public void setInstanceId(String instanceId) { * * @param instanceId The ID of the instance for which you want the Windows administrator * password. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public GetPasswordDataRequest withInstanceId(String instanceId) { this.instanceId = instanceId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/GetPasswordDataResult.java b/src/main/java/com/amazonaws/services/ec2/model/GetPasswordDataResult.java index aa37a974db10..9de1f965998e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/GetPasswordDataResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/GetPasswordDataResult.java @@ -68,9 +68,6 @@ public void setInstanceId(String instanceId) { * * @param instanceId The ID of the instance whose Windows administrator password was * requested. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public GetPasswordDataResult withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -102,9 +99,6 @@ public void setTimestamp(java.util.Date timestamp) { * Returns a reference to this object so that method calls can be chained together. * * @param timestamp The time the data was last updated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public GetPasswordDataResult withTimestamp(java.util.Date timestamp) { this.timestamp = timestamp; @@ -136,9 +130,6 @@ public void setPasswordData(String passwordData) { * Returns a reference to this object so that method calls can be chained together. * * @param passwordData The Windows administrator password of the specified instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public GetPasswordDataResult withPasswordData(String passwordData) { this.passwordData = passwordData; diff --git a/src/main/java/com/amazonaws/services/ec2/model/GroupIdentifier.java b/src/main/java/com/amazonaws/services/ec2/model/GroupIdentifier.java index 9e57ed114ac4..282acfe902af 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/GroupIdentifier.java +++ b/src/main/java/com/amazonaws/services/ec2/model/GroupIdentifier.java @@ -53,9 +53,6 @@ public void setGroupName(String groupName) { * Returns a reference to this object so that method calls can be chained together. * * @param groupName - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public GroupIdentifier withGroupName(String groupName) { this.groupName = groupName; @@ -87,9 +84,6 @@ public void setGroupId(String groupId) { * Returns a reference to this object so that method calls can be chained together. * * @param groupId The new value for the GroupId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public GroupIdentifier withGroupId(String groupId) { this.groupId = groupId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/IamInstanceProfile.java b/src/main/java/com/amazonaws/services/ec2/model/IamInstanceProfile.java index fb79ef35a22b..6dba27d7b4cc 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/IamInstanceProfile.java +++ b/src/main/java/com/amazonaws/services/ec2/model/IamInstanceProfile.java @@ -48,9 +48,6 @@ public void setArn(String arn) { * Returns a reference to this object so that method calls can be chained together. * * @param arn The new value for the Arn property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IamInstanceProfile withArn(String arn) { this.arn = arn; @@ -82,9 +79,6 @@ public void setId(String id) { * Returns a reference to this object so that method calls can be chained together. * * @param id The new value for the Id property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IamInstanceProfile withId(String id) { this.id = id; diff --git a/src/main/java/com/amazonaws/services/ec2/model/IamInstanceProfileSpecification.java b/src/main/java/com/amazonaws/services/ec2/model/IamInstanceProfileSpecification.java index 07eb21767b21..ff1f7442d2f5 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/IamInstanceProfileSpecification.java +++ b/src/main/java/com/amazonaws/services/ec2/model/IamInstanceProfileSpecification.java @@ -48,9 +48,6 @@ public void setArn(String arn) { * Returns a reference to this object so that method calls can be chained together. * * @param arn The new value for the Arn property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IamInstanceProfileSpecification withArn(String arn) { this.arn = arn; @@ -82,9 +79,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The new value for the Name property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IamInstanceProfileSpecification withName(String name) { this.name = name; diff --git a/src/main/java/com/amazonaws/services/ec2/model/IcmpTypeCode.java b/src/main/java/com/amazonaws/services/ec2/model/IcmpTypeCode.java index 7d23d054ba03..2c79ad629fb4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/IcmpTypeCode.java +++ b/src/main/java/com/amazonaws/services/ec2/model/IcmpTypeCode.java @@ -70,9 +70,6 @@ public void setType(Integer type) { * @param type For the ICMP protocol, the ICMP type. A value of -1 is a * wildcard meaning all types. Required if specifying icmp * for the protocol. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IcmpTypeCode withType(Integer type) { this.type = type; @@ -116,9 +113,6 @@ public void setCode(Integer code) { * @param code For the ICMP protocol, the ICMP code. A value of -1 is a * wildcard meaning all codes. Required if specifying icmp * for the protocol. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IcmpTypeCode withCode(Integer code) { this.code = code; diff --git a/src/main/java/com/amazonaws/services/ec2/model/Image.java b/src/main/java/com/amazonaws/services/ec2/model/Image.java index d6722f1bb982..8139fad2a998 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Image.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Image.java @@ -156,9 +156,6 @@ public void setImageId(String imageId) { * Returns a reference to this object so that method calls can be chained together. * * @param imageId The unique ID of the AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withImageId(String imageId) { this.imageId = imageId; @@ -190,9 +187,6 @@ public void setImageLocation(String imageLocation) { * Returns a reference to this object so that method calls can be chained together. * * @param imageLocation The location of the AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withImageLocation(String imageLocation) { this.imageLocation = imageLocation; @@ -256,9 +250,6 @@ public void setState(String state) { * operation returns deregistered, the image is deregistered and no * longer available for launching. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see ImageState */ public Image withState(String state) { @@ -303,9 +294,6 @@ public void setState(ImageState state) { * operation returns deregistered, the image is deregistered and no * longer available for launching. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see ImageState */ public Image withState(ImageState state) { @@ -337,9 +325,6 @@ public void setOwnerId(String ownerId) { * Returns a reference to this object so that method calls can be chained together. * * @param ownerId AWS Access Key ID of the image owner. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withOwnerId(String ownerId) { this.ownerId = ownerId; @@ -377,9 +362,6 @@ public void setPublic(Boolean publicValue) { * * @param publicValue True if this image has public launch permissions. False if it only has * implicit and explicit launch permissions. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withPublic(Boolean publicValue) { this.publicValue = publicValue; @@ -433,9 +415,6 @@ public void setProductCodes(java.util.Collection productCodes) { * Returns a reference to this object so that method calls can be chained together. * * @param productCodes Product codes of the AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withProductCodes(ProductCode... productCodes) { if (getProductCodes() == null) setProductCodes(new java.util.ArrayList(productCodes.length)); @@ -451,9 +430,6 @@ public Image withProductCodes(ProductCode... productCodes) { * Returns a reference to this object so that method calls can be chained together. * * @param productCodes Product codes of the AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withProductCodes(java.util.Collection productCodes) { if (productCodes == null) { @@ -491,9 +467,6 @@ public void setArchitecture(String architecture) { * Returns a reference to this object so that method calls can be chained together. * * @param architecture The architecture of the image. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withArchitecture(String architecture) { this.architecture = architecture; @@ -525,9 +498,6 @@ public void setImageType(String imageType) { * Returns a reference to this object so that method calls can be chained together. * * @param imageType The type of image (machine, kernel, or ramdisk). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withImageType(String imageType) { this.imageType = imageType; @@ -565,9 +535,6 @@ public void setKernelId(String kernelId) { * * @param kernelId The kernel associated with the image, if any. Only applicable for * machine images. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withKernelId(String kernelId) { this.kernelId = kernelId; @@ -605,9 +572,6 @@ public void setRamdiskId(String ramdiskId) { * * @param ramdiskId The RAM disk associated with the image, if any. Only applicable for * machine images. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withRamdiskId(String ramdiskId) { this.ramdiskId = ramdiskId; @@ -639,9 +603,6 @@ public void setPlatform(String platform) { * Returns a reference to this object so that method calls can be chained together. * * @param platform The operating platform of the AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withPlatform(String platform) { this.platform = platform; @@ -673,9 +634,6 @@ public void setStateReason(StateReason stateReason) { * Returns a reference to this object so that method calls can be chained together. * * @param stateReason The reason for the state change. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withStateReason(StateReason stateReason) { this.stateReason = stateReason; @@ -713,9 +671,6 @@ public void setImageOwnerAlias(String imageOwnerAlias) { * * @param imageOwnerAlias The AWS account alias (e.g., "amazon", "redhat", "self", etc.) or AWS * account ID that owns the AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withImageOwnerAlias(String imageOwnerAlias) { this.imageOwnerAlias = imageOwnerAlias; @@ -747,9 +702,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The name of the AMI that was provided during image creation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withName(String name) { this.name = name; @@ -781,9 +733,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The description of the AMI that was provided during image creation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withDescription(String description) { this.description = description; @@ -821,9 +770,6 @@ public void setRootDeviceType(String rootDeviceType) { * * @param rootDeviceType The root device type used by the AMI. The AMI can use an Amazon EBS or * instance store root device. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withRootDeviceType(String rootDeviceType) { this.rootDeviceType = rootDeviceType; @@ -855,9 +801,6 @@ public void setRootDeviceName(String rootDeviceName) { * Returns a reference to this object so that method calls can be chained together. * * @param rootDeviceName The root device name (e.g., /dev/sda1). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withRootDeviceName(String rootDeviceName) { this.rootDeviceName = rootDeviceName; @@ -900,9 +843,6 @@ public void setBlockDeviceMappings(java.util.Collection bloc * Returns a reference to this object so that method calls can be chained together. * * @param blockDeviceMappings Specifies how block devices are exposed to the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings) { if (getBlockDeviceMappings() == null) setBlockDeviceMappings(new java.util.ArrayList(blockDeviceMappings.length)); @@ -918,9 +858,6 @@ public Image withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings) * Returns a reference to this object so that method calls can be chained together. * * @param blockDeviceMappings Specifies how block devices are exposed to the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withBlockDeviceMappings(java.util.Collection blockDeviceMappings) { if (blockDeviceMappings == null) { @@ -972,9 +909,6 @@ public void setVirtualizationType(String virtualizationType) { * * @param virtualizationType The new value for the VirtualizationType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VirtualizationType */ public Image withVirtualizationType(String virtualizationType) { @@ -1007,9 +941,6 @@ public void setVirtualizationType(VirtualizationType virtualizationType) { * * @param virtualizationType The new value for the VirtualizationType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VirtualizationType */ public Image withVirtualizationType(VirtualizationType virtualizationType) { @@ -1052,9 +983,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the Image. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -1070,9 +998,6 @@ public Image withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the Image. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Image withTags(java.util.Collection tags) { if (tags == null) { @@ -1124,9 +1049,6 @@ public void setHypervisor(String hypervisor) { * * @param hypervisor The new value for the Hypervisor property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see HypervisorType */ public Image withHypervisor(String hypervisor) { @@ -1159,9 +1081,6 @@ public void setHypervisor(HypervisorType hypervisor) { * * @param hypervisor The new value for the Hypervisor property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see HypervisorType */ public Image withHypervisor(HypervisorType hypervisor) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/ImageAttribute.java b/src/main/java/com/amazonaws/services/ec2/model/ImageAttribute.java index 78e23f62294d..70af5b472946 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ImageAttribute.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ImageAttribute.java @@ -81,9 +81,6 @@ public void setImageId(String imageId) { * Returns a reference to this object so that method calls can be chained together. * * @param imageId The ID of the associated AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImageAttribute withImageId(String imageId) { this.imageId = imageId; @@ -126,9 +123,6 @@ public void setLaunchPermissions(java.util.Collection launchPe * Returns a reference to this object so that method calls can be chained together. * * @param launchPermissions Launch permissions for the associated AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImageAttribute withLaunchPermissions(LaunchPermission... launchPermissions) { if (getLaunchPermissions() == null) setLaunchPermissions(new java.util.ArrayList(launchPermissions.length)); @@ -144,9 +138,6 @@ public ImageAttribute withLaunchPermissions(LaunchPermission... launchPermission * Returns a reference to this object so that method calls can be chained together. * * @param launchPermissions Launch permissions for the associated AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImageAttribute withLaunchPermissions(java.util.Collection launchPermissions) { if (launchPermissions == null) { @@ -195,9 +186,6 @@ public void setProductCodes(java.util.Collection productCodes) { * Returns a reference to this object so that method calls can be chained together. * * @param productCodes Product codes for the associated AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImageAttribute withProductCodes(ProductCode... productCodes) { if (getProductCodes() == null) setProductCodes(new java.util.ArrayList(productCodes.length)); @@ -213,9 +201,6 @@ public ImageAttribute withProductCodes(ProductCode... productCodes) { * Returns a reference to this object so that method calls can be chained together. * * @param productCodes Product codes for the associated AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImageAttribute withProductCodes(java.util.Collection productCodes) { if (productCodes == null) { @@ -253,9 +238,6 @@ public void setKernelId(String kernelId) { * Returns a reference to this object so that method calls can be chained together. * * @param kernelId Kernel ID of the associated AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImageAttribute withKernelId(String kernelId) { this.kernelId = kernelId; @@ -287,9 +269,6 @@ public void setRamdiskId(String ramdiskId) { * Returns a reference to this object so that method calls can be chained together. * * @param ramdiskId Ramdisk ID of the associated AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImageAttribute withRamdiskId(String ramdiskId) { this.ramdiskId = ramdiskId; @@ -321,9 +300,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description User-created description of the associated AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImageAttribute withDescription(String description) { this.description = description; @@ -366,9 +342,6 @@ public void setBlockDeviceMappings(java.util.Collection bloc * Returns a reference to this object so that method calls can be chained together. * * @param blockDeviceMappings Block device mappings for the associated AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImageAttribute withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings) { if (getBlockDeviceMappings() == null) setBlockDeviceMappings(new java.util.ArrayList(blockDeviceMappings.length)); @@ -384,9 +357,6 @@ public ImageAttribute withBlockDeviceMappings(BlockDeviceMapping... blockDeviceM * Returns a reference to this object so that method calls can be chained together. * * @param blockDeviceMappings Block device mappings for the associated AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImageAttribute withBlockDeviceMappings(java.util.Collection blockDeviceMappings) { if (blockDeviceMappings == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceLaunchSpecification.java b/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceLaunchSpecification.java index 6373ffdc9e77..34a7b6486ad7 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceLaunchSpecification.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceLaunchSpecification.java @@ -68,9 +68,6 @@ public void setArchitecture(String architecture) { * Returns a reference to this object so that method calls can be chained together. * * @param architecture The new value for the Architecture property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceLaunchSpecification withArchitecture(String architecture) { this.architecture = architecture; @@ -113,9 +110,6 @@ public void setGroupNames(java.util.Collection groupNames) { * Returns a reference to this object so that method calls can be chained together. * * @param groupNames The new value for the GroupNames property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceLaunchSpecification withGroupNames(String... groupNames) { if (getGroupNames() == null) setGroupNames(new java.util.ArrayList(groupNames.length)); @@ -131,9 +125,6 @@ public ImportInstanceLaunchSpecification withGroupNames(String... groupNames) { * Returns a reference to this object so that method calls can be chained together. * * @param groupNames The new value for the GroupNames property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceLaunchSpecification withGroupNames(java.util.Collection groupNames) { if (groupNames == null) { @@ -171,9 +162,6 @@ public void setAdditionalInfo(String additionalInfo) { * Returns a reference to this object so that method calls can be chained together. * * @param additionalInfo The new value for the AdditionalInfo property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceLaunchSpecification withAdditionalInfo(String additionalInfo) { this.additionalInfo = additionalInfo; @@ -205,9 +193,6 @@ public void setUserData(String userData) { * Returns a reference to this object so that method calls can be chained together. * * @param userData The new value for the UserData property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceLaunchSpecification withUserData(String userData) { this.userData = userData; @@ -253,9 +238,6 @@ public void setInstanceType(String instanceType) { * * @param instanceType The new value for the InstanceType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public ImportInstanceLaunchSpecification withInstanceType(String instanceType) { @@ -288,9 +270,6 @@ public void setInstanceType(InstanceType instanceType) { * * @param instanceType The new value for the InstanceType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public ImportInstanceLaunchSpecification withInstanceType(InstanceType instanceType) { @@ -328,9 +307,6 @@ public void setPlacement(Placement placement) { * * @param placement Describes where an Amazon EC2 instance is running within an Amazon EC2 * region. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceLaunchSpecification withPlacement(Placement placement) { this.placement = placement; @@ -362,9 +338,6 @@ public void setMonitoring(Boolean monitoring) { * Returns a reference to this object so that method calls can be chained together. * * @param monitoring The new value for the Monitoring property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceLaunchSpecification withMonitoring(Boolean monitoring) { this.monitoring = monitoring; @@ -405,9 +378,6 @@ public void setSubnetId(String subnetId) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetId The new value for the SubnetId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceLaunchSpecification withSubnetId(String subnetId) { this.subnetId = subnetId; @@ -445,9 +415,6 @@ public void setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdow * * @param instanceInitiatedShutdownBehavior The new value for the InstanceInitiatedShutdownBehavior property for * this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior) { this.instanceInitiatedShutdownBehavior = instanceInitiatedShutdownBehavior; @@ -479,9 +446,6 @@ public void setPrivateIpAddress(String privateIpAddress) { * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddress The new value for the PrivateIpAddress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceLaunchSpecification withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceRequest.java index 648a47cfb99e..36a25f262f9f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceRequest.java @@ -56,9 +56,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceRequest withDescription(String description) { this.description = description; @@ -90,9 +87,6 @@ public void setLaunchSpecification(ImportInstanceLaunchSpecification launchSpeci * Returns a reference to this object so that method calls can be chained together. * * @param launchSpecification The new value for the LaunchSpecification property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceRequest withLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification) { this.launchSpecification = launchSpecification; @@ -135,9 +129,6 @@ public void setDiskImages(java.util.Collection diskImages) { * Returns a reference to this object so that method calls can be chained together. * * @param diskImages The new value for the DiskImages property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceRequest withDiskImages(DiskImage... diskImages) { if (getDiskImages() == null) setDiskImages(new java.util.ArrayList(diskImages.length)); @@ -153,9 +144,6 @@ public ImportInstanceRequest withDiskImages(DiskImage... diskImages) { * Returns a reference to this object so that method calls can be chained together. * * @param diskImages The new value for the DiskImages property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceRequest withDiskImages(java.util.Collection diskImages) { if (diskImages == null) { @@ -193,9 +181,6 @@ public void setPlatform(String platform) { * Returns a reference to this object so that method calls can be chained together. * * @param platform The new value for the Platform property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceRequest withPlatform(String platform) { this.platform = platform; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceResult.java b/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceResult.java index 300acf17fd01..4270d38ac6ea 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceResult.java @@ -46,9 +46,6 @@ public void setConversionTask(ConversionTask conversionTask) { * Returns a reference to this object so that method calls can be chained together. * * @param conversionTask The new value for the ConversionTask property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceResult withConversionTask(ConversionTask conversionTask) { this.conversionTask = conversionTask; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceTaskDetails.java b/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceTaskDetails.java index ad70c0ce58c2..c7adb542d25f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceTaskDetails.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceTaskDetails.java @@ -63,9 +63,6 @@ public void setVolumes(java.util.Collection volu * Returns a reference to this object so that method calls can be chained together. * * @param volumes The new value for the Volumes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceTaskDetails withVolumes(ImportInstanceVolumeDetailItem... volumes) { if (getVolumes() == null) setVolumes(new java.util.ArrayList(volumes.length)); @@ -81,9 +78,6 @@ public ImportInstanceTaskDetails withVolumes(ImportInstanceVolumeDetailItem... v * Returns a reference to this object so that method calls can be chained together. * * @param volumes The new value for the Volumes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceTaskDetails withVolumes(java.util.Collection volumes) { if (volumes == null) { @@ -121,9 +115,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The new value for the InstanceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceTaskDetails withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -155,9 +146,6 @@ public void setPlatform(String platform) { * Returns a reference to this object so that method calls can be chained together. * * @param platform The new value for the Platform property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceTaskDetails withPlatform(String platform) { this.platform = platform; @@ -189,9 +177,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceTaskDetails withDescription(String description) { this.description = description; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceVolumeDetailItem.java b/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceVolumeDetailItem.java index 1b47927e4968..6d474d447195 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceVolumeDetailItem.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ImportInstanceVolumeDetailItem.java @@ -58,9 +58,6 @@ public void setBytesConverted(Long bytesConverted) { * Returns a reference to this object so that method calls can be chained together. * * @param bytesConverted The new value for the BytesConverted property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceVolumeDetailItem withBytesConverted(Long bytesConverted) { this.bytesConverted = bytesConverted; @@ -92,9 +89,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The new value for the AvailabilityZone property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceVolumeDetailItem withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -126,9 +120,6 @@ public void setImage(DiskImageDescription image) { * Returns a reference to this object so that method calls can be chained together. * * @param image The new value for the Image property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceVolumeDetailItem withImage(DiskImageDescription image) { this.image = image; @@ -160,9 +151,6 @@ public void setVolume(DiskImageVolumeDescription volume) { * Returns a reference to this object so that method calls can be chained together. * * @param volume The new value for the Volume property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceVolumeDetailItem withVolume(DiskImageVolumeDescription volume) { this.volume = volume; @@ -194,9 +182,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The new value for the Status property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceVolumeDetailItem withStatus(String status) { this.status = status; @@ -228,9 +213,6 @@ public void setStatusMessage(String statusMessage) { * Returns a reference to this object so that method calls can be chained together. * * @param statusMessage The new value for the StatusMessage property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceVolumeDetailItem withStatusMessage(String statusMessage) { this.statusMessage = statusMessage; @@ -262,9 +244,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportInstanceVolumeDetailItem withDescription(String description) { this.description = description; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ImportKeyPairRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ImportKeyPairRequest.java index bb512f5117fd..5d8d11326687 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ImportKeyPairRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ImportKeyPairRequest.java @@ -100,9 +100,6 @@ public void setKeyName(String keyName) { * Returns a reference to this object so that method calls can be chained together. * * @param keyName The unique name for the key pair. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportKeyPairRequest withKeyName(String keyName) { this.keyName = keyName; @@ -134,9 +131,6 @@ public void setPublicKeyMaterial(String publicKeyMaterial) { * Returns a reference to this object so that method calls can be chained together. * * @param publicKeyMaterial The public key portion of the key pair being imported. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportKeyPairRequest withPublicKeyMaterial(String publicKeyMaterial) { this.publicKeyMaterial = publicKeyMaterial; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ImportKeyPairResult.java b/src/main/java/com/amazonaws/services/ec2/model/ImportKeyPairResult.java index 98000bcc8873..f3cce7cf2b7a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ImportKeyPairResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ImportKeyPairResult.java @@ -56,9 +56,6 @@ public void setKeyName(String keyName) { * Returns a reference to this object so that method calls can be chained together. * * @param keyName The specified unique key pair name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportKeyPairResult withKeyName(String keyName) { this.keyName = keyName; @@ -96,9 +93,6 @@ public void setKeyFingerprint(String keyFingerprint) { * * @param keyFingerprint The MD5 public key fingerprint as specified in section 4 of RFC4716 . - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportKeyPairResult withKeyFingerprint(String keyFingerprint) { this.keyFingerprint = keyFingerprint; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ImportVolumeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ImportVolumeRequest.java index bb84ab3b94d1..22ea8717bc21 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ImportVolumeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ImportVolumeRequest.java @@ -56,9 +56,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The new value for the AvailabilityZone property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportVolumeRequest withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -90,9 +87,6 @@ public void setImage(DiskImageDetail image) { * Returns a reference to this object so that method calls can be chained together. * * @param image The new value for the Image property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportVolumeRequest withImage(DiskImageDetail image) { this.image = image; @@ -124,9 +118,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportVolumeRequest withDescription(String description) { this.description = description; @@ -158,9 +149,6 @@ public void setVolume(VolumeDetail volume) { * Returns a reference to this object so that method calls can be chained together. * * @param volume The new value for the Volume property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportVolumeRequest withVolume(VolumeDetail volume) { this.volume = volume; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ImportVolumeResult.java b/src/main/java/com/amazonaws/services/ec2/model/ImportVolumeResult.java index 7d336b03c98d..2b0acdf227de 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ImportVolumeResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ImportVolumeResult.java @@ -46,9 +46,6 @@ public void setConversionTask(ConversionTask conversionTask) { * Returns a reference to this object so that method calls can be chained together. * * @param conversionTask The new value for the ConversionTask property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportVolumeResult withConversionTask(ConversionTask conversionTask) { this.conversionTask = conversionTask; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ImportVolumeTaskDetails.java b/src/main/java/com/amazonaws/services/ec2/model/ImportVolumeTaskDetails.java index 30f3960f41b0..607d371b1a46 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ImportVolumeTaskDetails.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ImportVolumeTaskDetails.java @@ -54,9 +54,6 @@ public void setBytesConverted(Long bytesConverted) { * Returns a reference to this object so that method calls can be chained together. * * @param bytesConverted The new value for the BytesConverted property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportVolumeTaskDetails withBytesConverted(Long bytesConverted) { this.bytesConverted = bytesConverted; @@ -88,9 +85,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The new value for the AvailabilityZone property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportVolumeTaskDetails withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -122,9 +116,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportVolumeTaskDetails withDescription(String description) { this.description = description; @@ -156,9 +147,6 @@ public void setImage(DiskImageDescription image) { * Returns a reference to this object so that method calls can be chained together. * * @param image The new value for the Image property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportVolumeTaskDetails withImage(DiskImageDescription image) { this.image = image; @@ -190,9 +178,6 @@ public void setVolume(DiskImageVolumeDescription volume) { * Returns a reference to this object so that method calls can be chained together. * * @param volume The new value for the Volume property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ImportVolumeTaskDetails withVolume(DiskImageVolumeDescription volume) { this.volume = volume; diff --git a/src/main/java/com/amazonaws/services/ec2/model/Instance.java b/src/main/java/com/amazonaws/services/ec2/model/Instance.java index dbaf56ecaa19..183a653e2533 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Instance.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Instance.java @@ -223,9 +223,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId Unique ID of the instance launched. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -257,9 +254,6 @@ public void setImageId(String imageId) { * Returns a reference to this object so that method calls can be chained together. * * @param imageId Image ID of the AMI used to launch the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withImageId(String imageId) { this.imageId = imageId; @@ -291,9 +285,6 @@ public void setState(InstanceState state) { * Returns a reference to this object so that method calls can be chained together. * * @param state The current state of the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withState(InstanceState state) { this.state = state; @@ -337,9 +328,6 @@ public void setPrivateDnsName(String privateDnsName) { * @param privateDnsName The private DNS name assigned to the instance. This DNS name can only * be used inside the Amazon EC2 network. This element remains empty * until the instance enters a running state. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withPrivateDnsName(String privateDnsName) { this.privateDnsName = privateDnsName; @@ -383,9 +371,6 @@ public void setPublicDnsName(String publicDnsName) { * @param publicDnsName The public DNS name assigned to the instance. This DNS name is * contactable from outside the Amazon EC2 network. This element remains * empty until the instance enters a running state. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withPublicDnsName(String publicDnsName) { this.publicDnsName = publicDnsName; @@ -423,9 +408,6 @@ public void setStateTransitionReason(String stateTransitionReason) { * * @param stateTransitionReason Reason for the most recent state transition. This might be an empty * string. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withStateTransitionReason(String stateTransitionReason) { this.stateTransitionReason = stateTransitionReason; @@ -463,9 +445,6 @@ public void setKeyName(String keyName) { * * @param keyName If this instance was launched with an associated key pair, this * displays the key pair name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withKeyName(String keyName) { this.keyName = keyName; @@ -503,9 +482,6 @@ public void setAmiLaunchIndex(Integer amiLaunchIndex) { * * @param amiLaunchIndex The AMI launch index, which can be used to find this instance within * the launch group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withAmiLaunchIndex(Integer amiLaunchIndex) { this.amiLaunchIndex = amiLaunchIndex; @@ -548,9 +524,6 @@ public void setProductCodes(java.util.Collection productCodes) { * Returns a reference to this object so that method calls can be chained together. * * @param productCodes Product codes attached to this instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withProductCodes(ProductCode... productCodes) { if (getProductCodes() == null) setProductCodes(new java.util.ArrayList(productCodes.length)); @@ -566,9 +539,6 @@ public Instance withProductCodes(ProductCode... productCodes) { * Returns a reference to this object so that method calls can be chained together. * * @param productCodes Product codes attached to this instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withProductCodes(java.util.Collection productCodes) { if (productCodes == null) { @@ -638,9 +608,6 @@ public void setInstanceType(String instanceType) { * href="http://docs.amazonwebservices.com/AWSEC2/2009-07-15/DeveloperGuide/"> * Amazon Elastic Compute Cloud Developer Guide. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public Instance withInstanceType(String instanceType) { @@ -685,9 +652,6 @@ public void setInstanceType(InstanceType instanceType) { * href="http://docs.amazonwebservices.com/AWSEC2/2009-07-15/DeveloperGuide/"> * Amazon Elastic Compute Cloud Developer Guide. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public Instance withInstanceType(InstanceType instanceType) { @@ -719,9 +683,6 @@ public void setLaunchTime(java.util.Date launchTime) { * Returns a reference to this object so that method calls can be chained together. * * @param launchTime The time this instance launched. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withLaunchTime(java.util.Date launchTime) { this.launchTime = launchTime; @@ -753,9 +714,6 @@ public void setPlacement(Placement placement) { * Returns a reference to this object so that method calls can be chained together. * * @param placement The location where this instance launched. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withPlacement(Placement placement) { this.placement = placement; @@ -787,9 +745,6 @@ public void setKernelId(String kernelId) { * Returns a reference to this object so that method calls can be chained together. * * @param kernelId Kernel associated with this instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withKernelId(String kernelId) { this.kernelId = kernelId; @@ -821,9 +776,6 @@ public void setRamdiskId(String ramdiskId) { * Returns a reference to this object so that method calls can be chained together. * * @param ramdiskId RAM disk associated with this instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withRamdiskId(String ramdiskId) { this.ramdiskId = ramdiskId; @@ -855,9 +807,6 @@ public void setPlatform(String platform) { * Returns a reference to this object so that method calls can be chained together. * * @param platform Platform of the instance (e.g., Windows). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withPlatform(String platform) { this.platform = platform; @@ -889,9 +838,6 @@ public void setMonitoring(Monitoring monitoring) { * Returns a reference to this object so that method calls can be chained together. * * @param monitoring Monitoring status for this instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withMonitoring(Monitoring monitoring) { this.monitoring = monitoring; @@ -923,9 +869,6 @@ public void setSubnetId(String subnetId) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetId Specifies the Amazon VPC subnet ID in which the instance is running. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withSubnetId(String subnetId) { this.subnetId = subnetId; @@ -957,9 +900,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId Specifies the Amazon VPC in which the instance is running. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withVpcId(String vpcId) { this.vpcId = vpcId; @@ -997,9 +937,6 @@ public void setPrivateIpAddress(String privateIpAddress) { * * @param privateIpAddress Specifies the private IP address that is assigned to the instance * (Amazon VPC). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; @@ -1031,9 +968,6 @@ public void setPublicIpAddress(String publicIpAddress) { * Returns a reference to this object so that method calls can be chained together. * * @param publicIpAddress Specifies the IP address of the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withPublicIpAddress(String publicIpAddress) { this.publicIpAddress = publicIpAddress; @@ -1065,9 +999,6 @@ public void setStateReason(StateReason stateReason) { * Returns a reference to this object so that method calls can be chained together. * * @param stateReason The reason for the state change. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withStateReason(StateReason stateReason) { this.stateReason = stateReason; @@ -1099,9 +1030,6 @@ public void setArchitecture(String architecture) { * Returns a reference to this object so that method calls can be chained together. * * @param architecture The architecture of this instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withArchitecture(String architecture) { this.architecture = architecture; @@ -1139,9 +1067,6 @@ public void setRootDeviceType(String rootDeviceType) { * * @param rootDeviceType The root device type used by the AMI. The AMI can use an Amazon EBS or * instance store root device. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withRootDeviceType(String rootDeviceType) { this.rootDeviceType = rootDeviceType; @@ -1173,9 +1098,6 @@ public void setRootDeviceName(String rootDeviceName) { * Returns a reference to this object so that method calls can be chained together. * * @param rootDeviceName The root device name (e.g., /dev/sda1). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withRootDeviceName(String rootDeviceName) { this.rootDeviceName = rootDeviceName; @@ -1218,9 +1140,6 @@ public void setBlockDeviceMappings(java.util.Collection(blockDeviceMappings.length)); @@ -1236,9 +1155,6 @@ public Instance withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDevic * Returns a reference to this object so that method calls can be chained together. * * @param blockDeviceMappings Block device mapping set. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withBlockDeviceMappings(java.util.Collection blockDeviceMappings) { if (blockDeviceMappings == null) { @@ -1290,9 +1206,6 @@ public void setVirtualizationType(String virtualizationType) { * * @param virtualizationType The new value for the VirtualizationType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VirtualizationType */ public Instance withVirtualizationType(String virtualizationType) { @@ -1325,9 +1238,6 @@ public void setVirtualizationType(VirtualizationType virtualizationType) { * * @param virtualizationType The new value for the VirtualizationType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VirtualizationType */ public Instance withVirtualizationType(VirtualizationType virtualizationType) { @@ -1359,9 +1269,6 @@ public void setInstanceLifecycle(String instanceLifecycle) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceLifecycle - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withInstanceLifecycle(String instanceLifecycle) { this.instanceLifecycle = instanceLifecycle; @@ -1393,9 +1300,6 @@ public void setSpotInstanceRequestId(String spotInstanceRequestId) { * Returns a reference to this object so that method calls can be chained together. * * @param spotInstanceRequestId - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withSpotInstanceRequestId(String spotInstanceRequestId) { this.spotInstanceRequestId = spotInstanceRequestId; @@ -1433,9 +1337,6 @@ public void setLicense(InstanceLicense license) { * * @param license Represents an active license in use and attached to an Amazon EC2 * instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withLicense(InstanceLicense license) { this.license = license; @@ -1467,9 +1368,6 @@ public void setClientToken(String clientToken) { * Returns a reference to this object so that method calls can be chained together. * * @param clientToken The new value for the ClientToken property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withClientToken(String clientToken) { this.clientToken = clientToken; @@ -1512,9 +1410,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the Instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -1530,9 +1425,6 @@ public Instance withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the Instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withTags(java.util.Collection tags) { if (tags == null) { @@ -1581,9 +1473,6 @@ public void setSecurityGroups(java.util.Collection securityGrou * Returns a reference to this object so that method calls can be chained together. * * @param securityGroups The new value for the SecurityGroups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withSecurityGroups(GroupIdentifier... securityGroups) { if (getSecurityGroups() == null) setSecurityGroups(new java.util.ArrayList(securityGroups.length)); @@ -1599,9 +1488,6 @@ public Instance withSecurityGroups(GroupIdentifier... securityGroups) { * Returns a reference to this object so that method calls can be chained together. * * @param securityGroups The new value for the SecurityGroups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withSecurityGroups(java.util.Collection securityGroups) { if (securityGroups == null) { @@ -1639,9 +1525,6 @@ public void setSourceDestCheck(Boolean sourceDestCheck) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceDestCheck The new value for the SourceDestCheck property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withSourceDestCheck(Boolean sourceDestCheck) { this.sourceDestCheck = sourceDestCheck; @@ -1696,9 +1579,6 @@ public void setHypervisor(String hypervisor) { * * @param hypervisor The new value for the Hypervisor property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see HypervisorType */ public Instance withHypervisor(String hypervisor) { @@ -1731,9 +1611,6 @@ public void setHypervisor(HypervisorType hypervisor) { * * @param hypervisor The new value for the Hypervisor property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see HypervisorType */ public Instance withHypervisor(HypervisorType hypervisor) { @@ -1776,9 +1653,6 @@ public void setNetworkInterfaces(java.util.Collection * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaces The new value for the NetworkInterfaces property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withNetworkInterfaces(InstanceNetworkInterface... networkInterfaces) { if (getNetworkInterfaces() == null) setNetworkInterfaces(new java.util.ArrayList(networkInterfaces.length)); @@ -1794,9 +1668,6 @@ public Instance withNetworkInterfaces(InstanceNetworkInterface... networkInterfa * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaces The new value for the NetworkInterfaces property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withNetworkInterfaces(java.util.Collection networkInterfaces) { if (networkInterfaces == null) { @@ -1834,9 +1705,6 @@ public void setIamInstanceProfile(IamInstanceProfile iamInstanceProfile) { * Returns a reference to this object so that method calls can be chained together. * * @param iamInstanceProfile The new value for the IamInstanceProfile property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withIamInstanceProfile(IamInstanceProfile iamInstanceProfile) { this.iamInstanceProfile = iamInstanceProfile; @@ -1868,9 +1736,6 @@ public void setEbsOptimized(Boolean ebsOptimized) { * Returns a reference to this object so that method calls can be chained together. * * @param ebsOptimized The new value for the EbsOptimized property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withEbsOptimized(Boolean ebsOptimized) { this.ebsOptimized = ebsOptimized; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceAttribute.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceAttribute.java index 83079af2ac45..844ee180e880 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceAttribute.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceAttribute.java @@ -102,9 +102,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of the associated instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceAttribute withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -142,9 +139,6 @@ public void setInstanceType(String instanceType) { * * @param instanceType The instance type (e.g., m1.small, * c1.medium, m2.2xlarge, and so on). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceAttribute withInstanceType(String instanceType) { this.instanceType = instanceType; @@ -176,9 +170,6 @@ public void setKernelId(String kernelId) { * Returns a reference to this object so that method calls can be chained together. * * @param kernelId The kernel ID of the associated instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceAttribute withKernelId(String kernelId) { this.kernelId = kernelId; @@ -210,9 +201,6 @@ public void setRamdiskId(String ramdiskId) { * Returns a reference to this object so that method calls can be chained together. * * @param ramdiskId The ramdisk ID of the associated instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceAttribute withRamdiskId(String ramdiskId) { this.ramdiskId = ramdiskId; @@ -244,9 +232,6 @@ public void setUserData(String userData) { * Returns a reference to this object so that method calls can be chained together. * * @param userData MIME, Base64-encoded user data. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceAttribute withUserData(String userData) { this.userData = userData; @@ -284,9 +269,6 @@ public void setDisableApiTermination(Boolean disableApiTermination) { * * @param disableApiTermination Whether this instance can be terminated. You must modify this * attribute before you can terminate any "locked" instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceAttribute withDisableApiTermination(Boolean disableApiTermination) { this.disableApiTermination = disableApiTermination; @@ -335,9 +317,6 @@ public void setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdow * * @param instanceInitiatedShutdownBehavior Whether this instance's Amazon EBS volumes are deleted when the * instance is shut down. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceAttribute withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior) { this.instanceInitiatedShutdownBehavior = instanceInitiatedShutdownBehavior; @@ -369,9 +348,6 @@ public void setRootDeviceName(String rootDeviceName) { * Returns a reference to this object so that method calls can be chained together. * * @param rootDeviceName The root device name (e.g., /dev/sda1). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceAttribute withRootDeviceName(String rootDeviceName) { this.rootDeviceName = rootDeviceName; @@ -420,9 +396,6 @@ public void setBlockDeviceMappings(java.util.Collection(blockDeviceMappings.length)); @@ -440,9 +413,6 @@ public InstanceAttribute withBlockDeviceMappings(InstanceBlockDeviceMapping... b * * @param blockDeviceMappings How block devices are exposed to this instance. Each mapping is made * up of a virtualName and a deviceName. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceAttribute withBlockDeviceMappings(java.util.Collection blockDeviceMappings) { if (blockDeviceMappings == null) { @@ -491,9 +461,6 @@ public void setProductCodes(java.util.Collection productCodes) { * Returns a reference to this object so that method calls can be chained together. * * @param productCodes The new value for the ProductCodes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceAttribute withProductCodes(ProductCode... productCodes) { if (getProductCodes() == null) setProductCodes(new java.util.ArrayList(productCodes.length)); @@ -509,9 +476,6 @@ public InstanceAttribute withProductCodes(ProductCode... productCodes) { * Returns a reference to this object so that method calls can be chained together. * * @param productCodes The new value for the ProductCodes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceAttribute withProductCodes(java.util.Collection productCodes) { if (productCodes == null) { @@ -549,9 +513,6 @@ public void setEbsOptimized(Boolean ebsOptimized) { * Returns a reference to this object so that method calls can be chained together. * * @param ebsOptimized Boolean value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceAttribute withEbsOptimized(Boolean ebsOptimized) { this.ebsOptimized = ebsOptimized; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceBlockDeviceMapping.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceBlockDeviceMapping.java index 79317472d40e..6f6d6d5fa2f5 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceBlockDeviceMapping.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceBlockDeviceMapping.java @@ -63,9 +63,6 @@ public void setDeviceName(String deviceName) { * * @param deviceName The device name (e.g., /dev/sdh) at which the block * device is exposed on the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceBlockDeviceMapping withDeviceName(String deviceName) { this.deviceName = deviceName; @@ -97,9 +94,6 @@ public void setEbs(EbsInstanceBlockDevice ebs) { * Returns a reference to this object so that method calls can be chained together. * * @param ebs The optional EBS device mapped to the specified device name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceBlockDeviceMapping withEbs(EbsInstanceBlockDevice ebs) { this.ebs = ebs; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceBlockDeviceMappingSpecification.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceBlockDeviceMappingSpecification.java index 8b8a914271a8..df6f360ded0a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceBlockDeviceMappingSpecification.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceBlockDeviceMappingSpecification.java @@ -75,9 +75,6 @@ public void setDeviceName(String deviceName) { * * @param deviceName The device name (e.g., /dev/sdh) at which the block * device is exposed on the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceBlockDeviceMappingSpecification withDeviceName(String deviceName) { this.deviceName = deviceName; @@ -115,9 +112,6 @@ public void setEbs(EbsInstanceBlockDeviceSpecification ebs) { * * @param ebs The EBS instance block device specification describing the EBS block * device to map to the specified device name on a running instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceBlockDeviceMappingSpecification withEbs(EbsInstanceBlockDeviceSpecification ebs) { this.ebs = ebs; @@ -149,9 +143,6 @@ public void setVirtualName(String virtualName) { * Returns a reference to this object so that method calls can be chained together. * * @param virtualName The virtual device name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceBlockDeviceMappingSpecification withVirtualName(String virtualName) { this.virtualName = virtualName; @@ -189,9 +180,6 @@ public void setNoDevice(String noDevice) { * * @param noDevice When set to the empty string, specifies that the device name in this * object should not be mapped to any real device. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceBlockDeviceMappingSpecification withNoDevice(String noDevice) { this.noDevice = noDevice; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceCount.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceCount.java index 916c4cc1b4ca..d241fe9b7c7a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceCount.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceCount.java @@ -48,9 +48,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state The new value for the State property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceCount withState(String state) { this.state = state; @@ -82,9 +79,6 @@ public void setInstanceCount(Integer instanceCount) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceCount The new value for the InstanceCount property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceCount withInstanceCount(Integer instanceCount) { this.instanceCount = instanceCount; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceExportDetails.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceExportDetails.java index 56dd8e6f2f94..a5f927681795 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceExportDetails.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceExportDetails.java @@ -48,9 +48,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The new value for the InstanceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceExportDetails withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -96,9 +93,6 @@ public void setTargetEnvironment(String targetEnvironment) { * * @param targetEnvironment The new value for the TargetEnvironment property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see ExportEnvironment */ public InstanceExportDetails withTargetEnvironment(String targetEnvironment) { @@ -131,9 +125,6 @@ public void setTargetEnvironment(ExportEnvironment targetEnvironment) { * * @param targetEnvironment The new value for the TargetEnvironment property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see ExportEnvironment */ public InstanceExportDetails withTargetEnvironment(ExportEnvironment targetEnvironment) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceLicense.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceLicense.java index fd54b1f77bd6..14ce66714507 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceLicense.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceLicense.java @@ -58,9 +58,6 @@ public void setPool(String pool) { * * @param pool The license pool from which this license was used (ex: * 'windows'). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceLicense withPool(String pool) { this.pool = pool; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceLicenseSpecification.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceLicenseSpecification.java index c7e42d840291..f7ec14a39712 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceLicenseSpecification.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceLicenseSpecification.java @@ -59,9 +59,6 @@ public void setPool(String pool) { * * @param pool The license pool from which to take a license when starting Amazon EC2 * instances in the associated RunInstances request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceLicenseSpecification withPool(String pool) { this.pool = pool; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceMonitoring.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceMonitoring.java index 0ea4bfc3cd65..2bf8db14415e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceMonitoring.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceMonitoring.java @@ -56,9 +56,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId Instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceMonitoring withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -90,9 +87,6 @@ public void setMonitoring(Monitoring monitoring) { * Returns a reference to this object so that method calls can be chained together. * * @param monitoring Monitoring state for the associated instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceMonitoring withMonitoring(Monitoring monitoring) { this.monitoring = monitoring; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterface.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterface.java index 0be7dfea1a6e..fbc8a20fd973 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterface.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterface.java @@ -70,9 +70,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; @@ -104,9 +101,6 @@ public void setSubnetId(String subnetId) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetId The new value for the SubnetId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withSubnetId(String subnetId) { this.subnetId = subnetId; @@ -138,9 +132,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The new value for the VpcId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withVpcId(String vpcId) { this.vpcId = vpcId; @@ -172,9 +163,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withDescription(String description) { this.description = description; @@ -206,9 +194,6 @@ public void setOwnerId(String ownerId) { * Returns a reference to this object so that method calls can be chained together. * * @param ownerId The new value for the OwnerId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withOwnerId(String ownerId) { this.ownerId = ownerId; @@ -240,9 +225,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The new value for the Status property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withStatus(String status) { this.status = status; @@ -274,9 +256,6 @@ public void setPrivateIpAddress(String privateIpAddress) { * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddress The new value for the PrivateIpAddress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; @@ -308,9 +287,6 @@ public void setPrivateDnsName(String privateDnsName) { * Returns a reference to this object so that method calls can be chained together. * * @param privateDnsName The new value for the PrivateDnsName property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withPrivateDnsName(String privateDnsName) { this.privateDnsName = privateDnsName; @@ -342,9 +318,6 @@ public void setSourceDestCheck(Boolean sourceDestCheck) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceDestCheck The new value for the SourceDestCheck property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withSourceDestCheck(Boolean sourceDestCheck) { this.sourceDestCheck = sourceDestCheck; @@ -396,9 +369,6 @@ public void setGroups(java.util.Collection groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withGroups(GroupIdentifier... groups) { if (getGroups() == null) setGroups(new java.util.ArrayList(groups.length)); @@ -414,9 +384,6 @@ public InstanceNetworkInterface withGroups(GroupIdentifier... groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withGroups(java.util.Collection groups) { if (groups == null) { @@ -454,9 +421,6 @@ public void setAttachment(InstanceNetworkInterfaceAttachment attachment) { * Returns a reference to this object so that method calls can be chained together. * * @param attachment The new value for the Attachment property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withAttachment(InstanceNetworkInterfaceAttachment attachment) { this.attachment = attachment; @@ -488,9 +452,6 @@ public void setAssociation(InstanceNetworkInterfaceAssociation association) { * Returns a reference to this object so that method calls can be chained together. * * @param association The new value for the Association property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withAssociation(InstanceNetworkInterfaceAssociation association) { this.association = association; @@ -533,9 +494,6 @@ public void setPrivateIpAddresses(java.util.Collection * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddresses The new value for the PrivateIpAddresses property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withPrivateIpAddresses(InstancePrivateIpAddress... privateIpAddresses) { if (getPrivateIpAddresses() == null) setPrivateIpAddresses(new java.util.ArrayList(privateIpAddresses.length)); @@ -551,9 +509,6 @@ public InstanceNetworkInterface withPrivateIpAddresses(InstancePrivateIpAddress. * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddresses The new value for the PrivateIpAddresses property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterface withPrivateIpAddresses(java.util.Collection privateIpAddresses) { if (privateIpAddresses == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterfaceAssociation.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterfaceAssociation.java index f7415b29a76d..4b752793b9c2 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterfaceAssociation.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterfaceAssociation.java @@ -50,9 +50,6 @@ public void setPublicIp(String publicIp) { * Returns a reference to this object so that method calls can be chained together. * * @param publicIp The new value for the PublicIp property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceAssociation withPublicIp(String publicIp) { this.publicIp = publicIp; @@ -84,9 +81,6 @@ public void setPublicDnsName(String publicDnsName) { * Returns a reference to this object so that method calls can be chained together. * * @param publicDnsName The new value for the PublicDnsName property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceAssociation withPublicDnsName(String publicDnsName) { this.publicDnsName = publicDnsName; @@ -118,9 +112,6 @@ public void setIpOwnerId(String ipOwnerId) { * Returns a reference to this object so that method calls can be chained together. * * @param ipOwnerId The new value for the IpOwnerId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceAssociation withIpOwnerId(String ipOwnerId) { this.ipOwnerId = ipOwnerId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterfaceAttachment.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterfaceAttachment.java index 2e51daa6a051..547b06c13485 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterfaceAttachment.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterfaceAttachment.java @@ -54,9 +54,6 @@ public void setAttachmentId(String attachmentId) { * Returns a reference to this object so that method calls can be chained together. * * @param attachmentId The new value for the AttachmentId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceAttachment withAttachmentId(String attachmentId) { this.attachmentId = attachmentId; @@ -88,9 +85,6 @@ public void setDeviceIndex(Integer deviceIndex) { * Returns a reference to this object so that method calls can be chained together. * * @param deviceIndex The new value for the DeviceIndex property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceAttachment withDeviceIndex(Integer deviceIndex) { this.deviceIndex = deviceIndex; @@ -122,9 +116,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The new value for the Status property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceAttachment withStatus(String status) { this.status = status; @@ -156,9 +147,6 @@ public void setAttachTime(java.util.Date attachTime) { * Returns a reference to this object so that method calls can be chained together. * * @param attachTime The new value for the AttachTime property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceAttachment withAttachTime(java.util.Date attachTime) { this.attachTime = attachTime; @@ -190,9 +178,6 @@ public void setDeleteOnTermination(Boolean deleteOnTermination) { * Returns a reference to this object so that method calls can be chained together. * * @param deleteOnTermination The new value for the DeleteOnTermination property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceAttachment withDeleteOnTermination(Boolean deleteOnTermination) { this.deleteOnTermination = deleteOnTermination; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterfaceSpecification.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterfaceSpecification.java index 93b9e008d5ec..09995f132fac 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterfaceSpecification.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceNetworkInterfaceSpecification.java @@ -62,9 +62,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceSpecification withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; @@ -96,9 +93,6 @@ public void setDeviceIndex(Integer deviceIndex) { * Returns a reference to this object so that method calls can be chained together. * * @param deviceIndex The new value for the DeviceIndex property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceSpecification withDeviceIndex(Integer deviceIndex) { this.deviceIndex = deviceIndex; @@ -130,9 +124,6 @@ public void setSubnetId(String subnetId) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetId The new value for the SubnetId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceSpecification withSubnetId(String subnetId) { this.subnetId = subnetId; @@ -164,9 +155,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceSpecification withDescription(String description) { this.description = description; @@ -198,9 +186,6 @@ public void setPrivateIpAddress(String privateIpAddress) { * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddress The new value for the PrivateIpAddress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceSpecification withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; @@ -243,9 +228,6 @@ public void setGroups(java.util.Collection groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceSpecification withGroups(String... groups) { if (getGroups() == null) setGroups(new java.util.ArrayList(groups.length)); @@ -261,9 +243,6 @@ public InstanceNetworkInterfaceSpecification withGroups(String... groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceSpecification withGroups(java.util.Collection groups) { if (groups == null) { @@ -301,9 +280,6 @@ public void setDeleteOnTermination(Boolean deleteOnTermination) { * Returns a reference to this object so that method calls can be chained together. * * @param deleteOnTermination The new value for the DeleteOnTermination property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceSpecification withDeleteOnTermination(Boolean deleteOnTermination) { this.deleteOnTermination = deleteOnTermination; @@ -355,9 +331,6 @@ public void setPrivateIpAddresses(java.util.Collection(privateIpAddresses.length)); @@ -373,9 +346,6 @@ public InstanceNetworkInterfaceSpecification withPrivateIpAddresses(PrivateIpAdd * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddresses The new value for the PrivateIpAddresses property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceSpecification withPrivateIpAddresses(java.util.Collection privateIpAddresses) { if (privateIpAddresses == null) { @@ -419,9 +389,6 @@ public void setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressC * * @param secondaryPrivateIpAddressCount The new value for the SecondaryPrivateIpAddressCount property for this * object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceNetworkInterfaceSpecification withSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount) { this.secondaryPrivateIpAddressCount = secondaryPrivateIpAddressCount; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstancePrivateIpAddress.java b/src/main/java/com/amazonaws/services/ec2/model/InstancePrivateIpAddress.java index 95791196d2e4..d3a695e3eb09 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstancePrivateIpAddress.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstancePrivateIpAddress.java @@ -52,9 +52,6 @@ public void setPrivateIpAddress(String privateIpAddress) { * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddress The new value for the PrivateIpAddress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstancePrivateIpAddress withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; @@ -86,9 +83,6 @@ public void setPrivateDnsName(String privateDnsName) { * Returns a reference to this object so that method calls can be chained together. * * @param privateDnsName The new value for the PrivateDnsName property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstancePrivateIpAddress withPrivateDnsName(String privateDnsName) { this.privateDnsName = privateDnsName; @@ -120,9 +114,6 @@ public void setPrimary(Boolean primary) { * Returns a reference to this object so that method calls can be chained together. * * @param primary The new value for the Primary property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstancePrivateIpAddress withPrimary(Boolean primary) { this.primary = primary; @@ -163,9 +154,6 @@ public void setAssociation(InstanceNetworkInterfaceAssociation association) { * Returns a reference to this object so that method calls can be chained together. * * @param association The new value for the Association property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstancePrivateIpAddress withAssociation(InstanceNetworkInterfaceAssociation association) { this.association = association; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceState.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceState.java index fc4f2bbf376b..22450401c171 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceState.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceState.java @@ -73,9 +73,6 @@ public void setCode(Integer code) { * @param code A 16-bit unsigned integer. The high byte is an opaque internal value * and should be ignored. The low byte is set based on the state * represented. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceState withCode(Integer code) { this.code = code; @@ -121,9 +118,6 @@ public void setName(String name) { * * @param name The current state of the instance. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceStateName */ public InstanceState withName(String name) { @@ -156,9 +150,6 @@ public void setName(InstanceStateName name) { * * @param name The current state of the instance. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceStateName */ public InstanceState withName(InstanceStateName name) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceStateChange.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceStateChange.java index 3c22fef77a68..08bdb2ff66a0 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceStateChange.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceStateChange.java @@ -61,9 +61,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of the instance whose state changed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStateChange withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -95,9 +92,6 @@ public void setCurrentState(InstanceState currentState) { * Returns a reference to this object so that method calls can be chained together. * * @param currentState The current state of the specified instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStateChange withCurrentState(InstanceState currentState) { this.currentState = currentState; @@ -129,9 +123,6 @@ public void setPreviousState(InstanceState previousState) { * Returns a reference to this object so that method calls can be chained together. * * @param previousState The previous state of the specified instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStateChange withPreviousState(InstanceState previousState) { this.previousState = previousState; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceStatus.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceStatus.java index 4c55266e69f9..55d858c80bbb 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceStatus.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceStatus.java @@ -70,9 +70,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of the Amazon EC2 instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatus withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -104,9 +101,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The Amazon EC2 instance's availability zone. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatus withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -149,9 +143,6 @@ public void setEvents(java.util.Collection events) { * Returns a reference to this object so that method calls can be chained together. * * @param events Events that affect the status of the associated Amazon EC2 instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatus withEvents(InstanceStatusEvent... events) { if (getEvents() == null) setEvents(new java.util.ArrayList(events.length)); @@ -167,9 +158,6 @@ public InstanceStatus withEvents(InstanceStatusEvent... events) { * Returns a reference to this object so that method calls can be chained together. * * @param events Events that affect the status of the associated Amazon EC2 instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatus withEvents(java.util.Collection events) { if (events == null) { @@ -207,9 +195,6 @@ public void setInstanceState(InstanceState instanceState) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceState Represents the state of an Amazon EC2 instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatus withInstanceState(InstanceState instanceState) { this.instanceState = instanceState; @@ -241,9 +226,6 @@ public void setSystemStatus(InstanceStatusSummary systemStatus) { * Returns a reference to this object so that method calls can be chained together. * * @param systemStatus The new value for the SystemStatus property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatus withSystemStatus(InstanceStatusSummary systemStatus) { this.systemStatus = systemStatus; @@ -275,9 +257,6 @@ public void setInstanceStatus(InstanceStatusSummary instanceStatus) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceStatus The new value for the InstanceStatus property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatus withInstanceStatus(InstanceStatusSummary instanceStatus) { this.instanceStatus = instanceStatus; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceStatusDetails.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceStatusDetails.java index 51ad262d90f9..ced0a82dbaf3 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceStatusDetails.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceStatusDetails.java @@ -50,9 +50,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The new value for the Name property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatusDetails withName(String name) { this.name = name; @@ -84,9 +81,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The new value for the Status property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatusDetails withStatus(String status) { this.status = status; @@ -118,9 +112,6 @@ public void setImpairedSince(java.util.Date impairedSince) { * Returns a reference to this object so that method calls can be chained together. * * @param impairedSince The new value for the ImpairedSince property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatusDetails withImpairedSince(java.util.Date impairedSince) { this.impairedSince = impairedSince; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceStatusEvent.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceStatusEvent.java index 01138e82853b..873a151570a6 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceStatusEvent.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceStatusEvent.java @@ -73,9 +73,6 @@ public void setCode(String code) { * * @param code The associated code of the event. Valid values: instance-reboot, * system-reboot, instance-retirement - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatusEvent withCode(String code) { this.code = code; @@ -107,9 +104,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description A description of the event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatusEvent withDescription(String description) { this.description = description; @@ -141,9 +135,6 @@ public void setNotBefore(java.util.Date notBefore) { * Returns a reference to this object so that method calls can be chained together. * * @param notBefore The earliest scheduled start time for the event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatusEvent withNotBefore(java.util.Date notBefore) { this.notBefore = notBefore; @@ -175,9 +166,6 @@ public void setNotAfter(java.util.Date notAfter) { * Returns a reference to this object so that method calls can be chained together. * * @param notAfter The latest scheduled end time for the event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatusEvent withNotAfter(java.util.Date notAfter) { this.notAfter = notAfter; diff --git a/src/main/java/com/amazonaws/services/ec2/model/InstanceStatusSummary.java b/src/main/java/com/amazonaws/services/ec2/model/InstanceStatusSummary.java index a3cf577a497f..2f9ce376b4c9 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InstanceStatusSummary.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InstanceStatusSummary.java @@ -48,9 +48,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The new value for the Status property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatusSummary withStatus(String status) { this.status = status; @@ -93,9 +90,6 @@ public void setDetails(java.util.Collection details) { * Returns a reference to this object so that method calls can be chained together. * * @param details The new value for the Details property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatusSummary withDetails(InstanceStatusDetails... details) { if (getDetails() == null) setDetails(new java.util.ArrayList(details.length)); @@ -111,9 +105,6 @@ public InstanceStatusSummary withDetails(InstanceStatusDetails... details) { * Returns a reference to this object so that method calls can be chained together. * * @param details The new value for the Details property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceStatusSummary withDetails(java.util.Collection details) { if (details == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/InternetGateway.java b/src/main/java/com/amazonaws/services/ec2/model/InternetGateway.java index 699f957c7230..5acc281a68cd 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InternetGateway.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InternetGateway.java @@ -50,9 +50,6 @@ public void setInternetGatewayId(String internetGatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param internetGatewayId The new value for the InternetGatewayId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InternetGateway withInternetGatewayId(String internetGatewayId) { this.internetGatewayId = internetGatewayId; @@ -95,9 +92,6 @@ public void setAttachments(java.util.Collection attac * Returns a reference to this object so that method calls can be chained together. * * @param attachments The new value for the Attachments property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InternetGateway withAttachments(InternetGatewayAttachment... attachments) { if (getAttachments() == null) setAttachments(new java.util.ArrayList(attachments.length)); @@ -113,9 +107,6 @@ public InternetGateway withAttachments(InternetGatewayAttachment... attachments) * Returns a reference to this object so that method calls can be chained together. * * @param attachments The new value for the Attachments property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InternetGateway withAttachments(java.util.Collection attachments) { if (attachments == null) { @@ -164,9 +155,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags The new value for the Tags property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InternetGateway withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -182,9 +170,6 @@ public InternetGateway withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags The new value for the Tags property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InternetGateway withTags(java.util.Collection tags) { if (tags == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/InternetGatewayAttachment.java b/src/main/java/com/amazonaws/services/ec2/model/InternetGatewayAttachment.java index 814f472c1f6e..b9dfb938af27 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/InternetGatewayAttachment.java +++ b/src/main/java/com/amazonaws/services/ec2/model/InternetGatewayAttachment.java @@ -48,9 +48,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The new value for the VpcId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InternetGatewayAttachment withVpcId(String vpcId) { this.vpcId = vpcId; @@ -82,9 +79,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state The new value for the State property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InternetGatewayAttachment withState(String state) { this.state = state; diff --git a/src/main/java/com/amazonaws/services/ec2/model/IpPermission.java b/src/main/java/com/amazonaws/services/ec2/model/IpPermission.java index 677215e95ea8..39f972da99a1 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/IpPermission.java +++ b/src/main/java/com/amazonaws/services/ec2/model/IpPermission.java @@ -82,9 +82,6 @@ public void setIpProtocol(String ipProtocol) { * * @param ipProtocol The IP protocol of this permission.

Valid protocol values: * tcp, udp, icmp - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IpPermission withIpProtocol(String ipProtocol) { this.ipProtocol = ipProtocol; @@ -128,9 +125,6 @@ public void setFromPort(Integer fromPort) { * @param fromPort Start of port range for the TCP and UDP protocols, or an ICMP type * number. An ICMP type number of -1 indicates a wildcard * (i.e., any ICMP type number). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IpPermission withFromPort(Integer fromPort) { this.fromPort = fromPort; @@ -174,9 +168,6 @@ public void setToPort(Integer toPort) { * @param toPort End of port range for the TCP and UDP protocols, or an ICMP code. An * ICMP code of -1 indicates a wildcard (i.e., any ICMP * code). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IpPermission withToPort(Integer toPort) { this.toPort = toPort; @@ -219,9 +210,6 @@ public void setUserIdGroupPairs(java.util.Collection userIdGrou * Returns a reference to this object so that method calls can be chained together. * * @param userIdGroupPairs The list of AWS user IDs and groups included in this permission. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IpPermission withUserIdGroupPairs(UserIdGroupPair... userIdGroupPairs) { if (getUserIdGroupPairs() == null) setUserIdGroupPairs(new java.util.ArrayList(userIdGroupPairs.length)); @@ -237,9 +225,6 @@ public IpPermission withUserIdGroupPairs(UserIdGroupPair... userIdGroupPairs) { * Returns a reference to this object so that method calls can be chained together. * * @param userIdGroupPairs The list of AWS user IDs and groups included in this permission. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IpPermission withUserIdGroupPairs(java.util.Collection userIdGroupPairs) { if (userIdGroupPairs == null) { @@ -288,9 +273,6 @@ public void setIpRanges(java.util.Collection ipRanges) { * Returns a reference to this object so that method calls can be chained together. * * @param ipRanges The list of CIDR IP ranges included in this permission. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IpPermission withIpRanges(String... ipRanges) { if (getIpRanges() == null) setIpRanges(new java.util.ArrayList(ipRanges.length)); @@ -306,9 +288,6 @@ public IpPermission withIpRanges(String... ipRanges) { * Returns a reference to this object so that method calls can be chained together. * * @param ipRanges The list of CIDR IP ranges included in this permission. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IpPermission withIpRanges(java.util.Collection ipRanges) { if (ipRanges == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/KeyPair.java b/src/main/java/com/amazonaws/services/ec2/model/KeyPair.java index 4924396b0b2b..6520dfb83e78 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/KeyPair.java +++ b/src/main/java/com/amazonaws/services/ec2/model/KeyPair.java @@ -64,9 +64,6 @@ public void setKeyName(String keyName) { * Returns a reference to this object so that method calls can be chained together. * * @param keyName The name of the key pair. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public KeyPair withKeyName(String keyName) { this.keyName = keyName; @@ -98,9 +95,6 @@ public void setKeyFingerprint(String keyFingerprint) { * Returns a reference to this object so that method calls can be chained together. * * @param keyFingerprint The SHA-1 digest of the DER encoded private key. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public KeyPair withKeyFingerprint(String keyFingerprint) { this.keyFingerprint = keyFingerprint; @@ -132,9 +126,6 @@ public void setKeyMaterial(String keyMaterial) { * Returns a reference to this object so that method calls can be chained together. * * @param keyMaterial The unencrypted PEM encoded RSA private key. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public KeyPair withKeyMaterial(String keyMaterial) { this.keyMaterial = keyMaterial; diff --git a/src/main/java/com/amazonaws/services/ec2/model/KeyPairInfo.java b/src/main/java/com/amazonaws/services/ec2/model/KeyPairInfo.java index c8c9b6810239..25cbc1271cf6 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/KeyPairInfo.java +++ b/src/main/java/com/amazonaws/services/ec2/model/KeyPairInfo.java @@ -59,9 +59,6 @@ public void setKeyName(String keyName) { * Returns a reference to this object so that method calls can be chained together. * * @param keyName The name of the key pair. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public KeyPairInfo withKeyName(String keyName) { this.keyName = keyName; @@ -93,9 +90,6 @@ public void setKeyFingerprint(String keyFingerprint) { * Returns a reference to this object so that method calls can be chained together. * * @param keyFingerprint The SHA-1 digest of the DER encoded private key. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public KeyPairInfo withKeyFingerprint(String keyFingerprint) { this.keyFingerprint = keyFingerprint; diff --git a/src/main/java/com/amazonaws/services/ec2/model/LaunchPermission.java b/src/main/java/com/amazonaws/services/ec2/model/LaunchPermission.java index e16f7869a15e..3dd499bc365e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/LaunchPermission.java +++ b/src/main/java/com/amazonaws/services/ec2/model/LaunchPermission.java @@ -57,9 +57,6 @@ public void setUserId(String userId) { * Returns a reference to this object so that method calls can be chained together. * * @param userId The AWS user ID of the user involved in this launch permission. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchPermission withUserId(String userId) { this.userId = userId; @@ -97,9 +94,6 @@ public void setGroup(String group) { * * @param group The AWS group of the user involved in this launch permission.

* Available groups: all - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchPermission withGroup(String group) { this.group = group; diff --git a/src/main/java/com/amazonaws/services/ec2/model/LaunchPermissionModifications.java b/src/main/java/com/amazonaws/services/ec2/model/LaunchPermissionModifications.java index e29ceabbd736..f50ba5317df4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/LaunchPermissionModifications.java +++ b/src/main/java/com/amazonaws/services/ec2/model/LaunchPermissionModifications.java @@ -59,9 +59,6 @@ public void setAdd(java.util.Collection add) { * Returns a reference to this object so that method calls can be chained together. * * @param add The new value for the Add property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchPermissionModifications withAdd(LaunchPermission... add) { if (getAdd() == null) setAdd(new java.util.ArrayList(add.length)); @@ -77,9 +74,6 @@ public LaunchPermissionModifications withAdd(LaunchPermission... add) { * Returns a reference to this object so that method calls can be chained together. * * @param add The new value for the Add property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchPermissionModifications withAdd(java.util.Collection add) { if (add == null) { @@ -128,9 +122,6 @@ public void setRemove(java.util.Collection remove) { * Returns a reference to this object so that method calls can be chained together. * * @param remove The new value for the Remove property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchPermissionModifications withRemove(LaunchPermission... remove) { if (getRemove() == null) setRemove(new java.util.ArrayList(remove.length)); @@ -146,9 +137,6 @@ public LaunchPermissionModifications withRemove(LaunchPermission... remove) { * Returns a reference to this object so that method calls can be chained together. * * @param remove The new value for the Remove property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchPermissionModifications withRemove(java.util.Collection remove) { if (remove == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/LaunchSpecification.java b/src/main/java/com/amazonaws/services/ec2/model/LaunchSpecification.java index 5927eacef461..99c0d1184625 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/LaunchSpecification.java +++ b/src/main/java/com/amazonaws/services/ec2/model/LaunchSpecification.java @@ -122,9 +122,6 @@ public void setImageId(String imageId) { * Returns a reference to this object so that method calls can be chained together. * * @param imageId The AMI ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withImageId(String imageId) { this.imageId = imageId; @@ -156,9 +153,6 @@ public void setKeyName(String keyName) { * Returns a reference to this object so that method calls can be chained together. * * @param keyName The name of the key pair. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withKeyName(String keyName) { this.keyName = keyName; @@ -201,9 +195,6 @@ public void setAllSecurityGroups(java.util.Collection allSecuri * Returns a reference to this object so that method calls can be chained together. * * @param allSecurityGroups The new value for the AllSecurityGroups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withAllSecurityGroups(GroupIdentifier... allSecurityGroups) { if (getAllSecurityGroups() == null) setAllSecurityGroups(new java.util.ArrayList(allSecurityGroups.length)); @@ -219,9 +210,6 @@ public LaunchSpecification withAllSecurityGroups(GroupIdentifier... allSecurityG * Returns a reference to this object so that method calls can be chained together. * * @param allSecurityGroups The new value for the AllSecurityGroups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withAllSecurityGroups(java.util.Collection allSecurityGroups) { if (allSecurityGroups == null) { @@ -270,9 +258,6 @@ public void setSecurityGroups(java.util.Collection securityGroups) { * Returns a reference to this object so that method calls can be chained together. * * @param securityGroups The new value for the SecurityGroups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withSecurityGroups(String... securityGroups) { if (getSecurityGroups() == null) setSecurityGroups(new java.util.ArrayList(securityGroups.length)); @@ -288,9 +273,6 @@ public LaunchSpecification withSecurityGroups(String... securityGroups) { * Returns a reference to this object so that method calls can be chained together. * * @param securityGroups The new value for the SecurityGroups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withSecurityGroups(java.util.Collection securityGroups) { if (securityGroups == null) { @@ -346,9 +328,6 @@ public void setUserData(String userData) { * launch request. All instances that collectively comprise the launch * request have access to this data. User data is never returned through * API responses. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withUserData(String userData) { this.userData = userData; @@ -380,9 +359,6 @@ public void setAddressingType(String addressingType) { * Returns a reference to this object so that method calls can be chained together. * * @param addressingType Deprecated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withAddressingType(String addressingType) { this.addressingType = addressingType; @@ -428,9 +404,6 @@ public void setInstanceType(String instanceType) { * * @param instanceType Specifies the instance type. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public LaunchSpecification withInstanceType(String instanceType) { @@ -463,9 +436,6 @@ public void setInstanceType(InstanceType instanceType) { * * @param instanceType Specifies the instance type. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public LaunchSpecification withInstanceType(InstanceType instanceType) { @@ -497,9 +467,6 @@ public void setPlacement(SpotPlacement placement) { * Returns a reference to this object so that method calls can be chained together. * * @param placement Defines a placement item. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withPlacement(SpotPlacement placement) { this.placement = placement; @@ -531,9 +498,6 @@ public void setKernelId(String kernelId) { * Returns a reference to this object so that method calls can be chained together. * * @param kernelId Specifies the ID of the kernel to select. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withKernelId(String kernelId) { this.kernelId = kernelId; @@ -583,9 +547,6 @@ public void setRamdiskId(String ramdiskId) { * additional drivers at launch. Check the kernel requirements for * information on whether or not you need to specify a RAM disk and * search for the kernel ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withRamdiskId(String ramdiskId) { this.ramdiskId = ramdiskId; @@ -634,9 +595,6 @@ public void setBlockDeviceMappings(java.util.Collection bloc * * @param blockDeviceMappings Specifies how block devices are exposed to the instance. Each mapping * is made up of a virtualName and a deviceName. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings) { if (getBlockDeviceMappings() == null) setBlockDeviceMappings(new java.util.ArrayList(blockDeviceMappings.length)); @@ -654,9 +612,6 @@ public LaunchSpecification withBlockDeviceMappings(BlockDeviceMapping... blockDe * * @param blockDeviceMappings Specifies how block devices are exposed to the instance. Each mapping * is made up of a virtualName and a deviceName. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withBlockDeviceMappings(java.util.Collection blockDeviceMappings) { if (blockDeviceMappings == null) { @@ -694,9 +649,6 @@ public void setMonitoringEnabled(Boolean monitoringEnabled) { * Returns a reference to this object so that method calls can be chained together. * * @param monitoringEnabled Enables monitoring for the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withMonitoringEnabled(Boolean monitoringEnabled) { this.monitoringEnabled = monitoringEnabled; @@ -743,9 +695,6 @@ public void setSubnetId(String subnetId) { * * @param subnetId Specifies the Amazon VPC subnet ID within which to launch the * instance(s) for Amazon Virtual Private Cloud. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withSubnetId(String subnetId) { this.subnetId = subnetId; @@ -788,9 +737,6 @@ public void setNetworkInterfaces(java.util.Collection(networkInterfaces.length)); @@ -806,9 +752,6 @@ public LaunchSpecification withNetworkInterfaces(InstanceNetworkInterfaceSpecifi * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaces The new value for the NetworkInterfaces property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withNetworkInterfaces(java.util.Collection networkInterfaces) { if (networkInterfaces == null) { @@ -846,9 +789,6 @@ public void setIamInstanceProfile(IamInstanceProfileSpecification iamInstancePro * Returns a reference to this object so that method calls can be chained together. * * @param iamInstanceProfile The new value for the IamInstanceProfile property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile) { this.iamInstanceProfile = iamInstanceProfile; @@ -880,9 +820,6 @@ public void setEbsOptimized(Boolean ebsOptimized) { * Returns a reference to this object so that method calls can be chained together. * * @param ebsOptimized The new value for the EbsOptimized property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LaunchSpecification withEbsOptimized(Boolean ebsOptimized) { this.ebsOptimized = ebsOptimized; diff --git a/src/main/java/com/amazonaws/services/ec2/model/License.java b/src/main/java/com/amazonaws/services/ec2/model/License.java index 7ad41412d2e0..44163b37d331 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/License.java +++ b/src/main/java/com/amazonaws/services/ec2/model/License.java @@ -73,9 +73,6 @@ public void setLicenseId(String licenseId) { * Returns a reference to this object so that method calls can be chained together. * * @param licenseId The unique ID identifying the license. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public License withLicenseId(String licenseId) { this.licenseId = licenseId; @@ -107,9 +104,6 @@ public void setType(String type) { * Returns a reference to this object so that method calls can be chained together. * * @param type The license type (ex. "Microsoft/Windows/Standard"). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public License withType(String type) { this.type = type; @@ -141,9 +135,6 @@ public void setPool(String pool) { * Returns a reference to this object so that method calls can be chained together. * * @param pool The name of the pool in which the license is kept. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public License withPool(String pool) { this.pool = pool; @@ -198,9 +189,6 @@ public void setCapacities(java.util.Collection capacities) { * @param capacities The capacities available for this license, indicating how many * licenses are in use, how many are available, how many Amazon EC2 * instances can be supported, etc. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public License withCapacities(LicenseCapacity... capacities) { if (getCapacities() == null) setCapacities(new java.util.ArrayList(capacities.length)); @@ -220,9 +208,6 @@ public License withCapacities(LicenseCapacity... capacities) { * @param capacities The capacities available for this license, indicating how many * licenses are in use, how many are available, how many Amazon EC2 * instances can be supported, etc. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public License withCapacities(java.util.Collection capacities) { if (capacities == null) { @@ -271,9 +256,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the License. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public License withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -289,9 +271,6 @@ public License withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the License. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public License withTags(java.util.Collection tags) { if (tags == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/LicenseCapacity.java b/src/main/java/com/amazonaws/services/ec2/model/LicenseCapacity.java index 486df006742c..31bce052024e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/LicenseCapacity.java +++ b/src/main/java/com/amazonaws/services/ec2/model/LicenseCapacity.java @@ -70,9 +70,6 @@ public void setCapacity(Integer capacity) { * Returns a reference to this object so that method calls can be chained together. * * @param capacity The number of licenses available. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LicenseCapacity withCapacity(Integer capacity) { this.capacity = capacity; @@ -110,9 +107,6 @@ public void setInstanceCapacity(Integer instanceCapacity) { * * @param instanceCapacity The number of Amazon EC2 instances that can be supported with the * license's capacity. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LicenseCapacity withInstanceCapacity(Integer instanceCapacity) { this.instanceCapacity = instanceCapacity; @@ -150,9 +144,6 @@ public void setState(String state) { * * @param state The state of this license capacity, indicating whether the license is * actively being used or not. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LicenseCapacity withState(String state) { this.state = state; @@ -196,9 +187,6 @@ public void setEarliestAllowedDeactivationTime(java.util.Date earliestAllowedDea * @param earliestAllowedDeactivationTime The earliest allowed time at which a license can be deactivated. Some * licenses have time restrictions on when they can be activated and * reactivated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LicenseCapacity withEarliestAllowedDeactivationTime(java.util.Date earliestAllowedDeactivationTime) { this.earliestAllowedDeactivationTime = earliestAllowedDeactivationTime; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ModifyImageAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ModifyImageAttributeRequest.java index aa821b8e3820..c3dcb69d282b 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ModifyImageAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ModifyImageAttributeRequest.java @@ -126,9 +126,6 @@ public void setImageId(String imageId) { * Returns a reference to this object so that method calls can be chained together. * * @param imageId The ID of the AMI whose attribute you want to modify. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyImageAttributeRequest withImageId(String imageId) { this.imageId = imageId; @@ -166,9 +163,6 @@ public void setAttribute(String attribute) { * * @param attribute The name of the AMI attribute you want to modify.

Available * attributes: launchPermission, productCodes - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyImageAttributeRequest withAttribute(String attribute) { this.attribute = attribute; @@ -206,9 +200,6 @@ public void setOperationType(String operationType) { * * @param operationType The type of operation being requested.

Available operation types: * add, remove - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyImageAttributeRequest withOperationType(String operationType) { this.operationType = operationType; @@ -263,9 +254,6 @@ public void setUserIds(java.util.Collection userIds) { * @param userIds The AWS user ID being added to or removed from the list of users with * launch permissions for this AMI. Only valid when the launchPermission * attribute is being modified. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyImageAttributeRequest withUserIds(String... userIds) { if (getUserIds() == null) setUserIds(new java.util.ArrayList(userIds.length)); @@ -285,9 +273,6 @@ public ModifyImageAttributeRequest withUserIds(String... userIds) { * @param userIds The AWS user ID being added to or removed from the list of users with * launch permissions for this AMI. Only valid when the launchPermission * attribute is being modified. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyImageAttributeRequest withUserIds(java.util.Collection userIds) { if (userIds == null) { @@ -354,9 +339,6 @@ public void setUserGroups(java.util.Collection userGroups) { * with launch permissions for this AMI. Only valid when the * launchPermission attribute is being modified.

Available user * groups: all - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyImageAttributeRequest withUserGroups(String... userGroups) { if (getUserGroups() == null) setUserGroups(new java.util.ArrayList(userGroups.length)); @@ -378,9 +360,6 @@ public ModifyImageAttributeRequest withUserGroups(String... userGroups) { * with launch permissions for this AMI. Only valid when the * launchPermission attribute is being modified.

Available user * groups: all - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyImageAttributeRequest withUserGroups(java.util.Collection userGroups) { if (userGroups == null) { @@ -435,9 +414,6 @@ public void setProductCodes(java.util.Collection productCodes) { * * @param productCodes The list of product codes being added to or removed from the specified * AMI. Only valid when the productCodes attribute is being modified. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyImageAttributeRequest withProductCodes(String... productCodes) { if (getProductCodes() == null) setProductCodes(new java.util.ArrayList(productCodes.length)); @@ -455,9 +431,6 @@ public ModifyImageAttributeRequest withProductCodes(String... productCodes) { * * @param productCodes The list of product codes being added to or removed from the specified * AMI. Only valid when the productCodes attribute is being modified. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyImageAttributeRequest withProductCodes(java.util.Collection productCodes) { if (productCodes == null) { @@ -501,9 +474,6 @@ public void setValue(String value) { * * @param value The value of the attribute being modified. Only valid when the * description attribute is being modified. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyImageAttributeRequest withValue(String value) { this.value = value; @@ -535,9 +505,6 @@ public void setLaunchPermission(LaunchPermissionModifications launchPermission) * Returns a reference to this object so that method calls can be chained together. * * @param launchPermission The new value for the LaunchPermission property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyImageAttributeRequest withLaunchPermission(LaunchPermissionModifications launchPermission) { this.launchPermission = launchPermission; @@ -569,9 +536,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description String value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyImageAttributeRequest withDescription(String description) { this.description = description; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ModifyInstanceAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ModifyInstanceAttributeRequest.java index 15c3b6b0038d..7fdf727a21c8 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ModifyInstanceAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ModifyInstanceAttributeRequest.java @@ -174,9 +174,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of the instance whose attribute is being modified. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -252,9 +249,6 @@ public void setAttribute(String attribute) { * instanceInitiatedShutdownBehavior, * rootDevice, blockDeviceMapping * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceAttributeName */ public ModifyInstanceAttributeRequest withAttribute(String attribute) { @@ -307,9 +301,6 @@ public void setAttribute(InstanceAttributeName attribute) { * instanceInitiatedShutdownBehavior, * rootDevice, blockDeviceMapping * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceAttributeName */ public ModifyInstanceAttributeRequest withAttribute(InstanceAttributeName attribute) { @@ -365,9 +356,6 @@ public void setValue(String value) { * disableApiTermination or * instanceInitiateShutdownBehavior is specified as the * attribute being modified. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withValue(String value) { this.value = value; @@ -422,9 +410,6 @@ public void setBlockDeviceMappings(java.util.Collection Only valid when blockDeviceMapping is specified as * the attribute being modified. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withBlockDeviceMappings(InstanceBlockDeviceMappingSpecification... blockDeviceMappings) { if (getBlockDeviceMappings() == null) setBlockDeviceMappings(new java.util.ArrayList(blockDeviceMappings.length)); @@ -444,9 +429,6 @@ public ModifyInstanceAttributeRequest withBlockDeviceMappings(InstanceBlockDevic * @param blockDeviceMappings The new block device mappings for the instance whose attributes are * being modified.

Only valid when blockDeviceMapping is specified as * the attribute being modified. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withBlockDeviceMappings(java.util.Collection blockDeviceMappings) { if (blockDeviceMappings == null) { @@ -484,9 +466,6 @@ public void setSourceDestCheck(Boolean sourceDestCheck) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceDestCheck Boolean value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withSourceDestCheck(Boolean sourceDestCheck) { this.sourceDestCheck = sourceDestCheck; @@ -527,9 +506,6 @@ public void setDisableApiTermination(Boolean disableApiTermination) { * Returns a reference to this object so that method calls can be chained together. * * @param disableApiTermination Boolean value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withDisableApiTermination(Boolean disableApiTermination) { this.disableApiTermination = disableApiTermination; @@ -570,9 +546,6 @@ public void setInstanceType(String instanceType) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceType String value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withInstanceType(String instanceType) { this.instanceType = instanceType; @@ -604,9 +577,6 @@ public void setKernel(String kernel) { * Returns a reference to this object so that method calls can be chained together. * * @param kernel String value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withKernel(String kernel) { this.kernel = kernel; @@ -638,9 +608,6 @@ public void setRamdisk(String ramdisk) { * Returns a reference to this object so that method calls can be chained together. * * @param ramdisk String value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withRamdisk(String ramdisk) { this.ramdisk = ramdisk; @@ -672,9 +639,6 @@ public void setUserData(String userData) { * Returns a reference to this object so that method calls can be chained together. * * @param userData String value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withUserData(String userData) { this.userData = userData; @@ -706,9 +670,6 @@ public void setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdow * Returns a reference to this object so that method calls can be chained together. * * @param instanceInitiatedShutdownBehavior String value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior) { this.instanceInitiatedShutdownBehavior = instanceInitiatedShutdownBehavior; @@ -751,9 +712,6 @@ public void setGroups(java.util.Collection groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withGroups(String... groups) { if (getGroups() == null) setGroups(new java.util.ArrayList(groups.length)); @@ -769,9 +727,6 @@ public ModifyInstanceAttributeRequest withGroups(String... groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withGroups(java.util.Collection groups) { if (groups == null) { @@ -809,9 +764,6 @@ public void setEbsOptimized(Boolean ebsOptimized) { * Returns a reference to this object so that method calls can be chained together. * * @param ebsOptimized Boolean value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyInstanceAttributeRequest withEbsOptimized(Boolean ebsOptimized) { this.ebsOptimized = ebsOptimized; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ModifyNetworkInterfaceAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ModifyNetworkInterfaceAttributeRequest.java index 0b0a92212673..4b4fa53e71e0 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ModifyNetworkInterfaceAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ModifyNetworkInterfaceAttributeRequest.java @@ -64,9 +64,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyNetworkInterfaceAttributeRequest withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; @@ -98,9 +95,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description String value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyNetworkInterfaceAttributeRequest withDescription(String description) { this.description = description; @@ -132,9 +126,6 @@ public void setSourceDestCheck(Boolean sourceDestCheck) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceDestCheck Boolean value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyNetworkInterfaceAttributeRequest withSourceDestCheck(Boolean sourceDestCheck) { this.sourceDestCheck = sourceDestCheck; @@ -186,9 +177,6 @@ public void setGroups(java.util.Collection groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyNetworkInterfaceAttributeRequest withGroups(String... groups) { if (getGroups() == null) setGroups(new java.util.ArrayList(groups.length)); @@ -204,9 +192,6 @@ public ModifyNetworkInterfaceAttributeRequest withGroups(String... groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyNetworkInterfaceAttributeRequest withGroups(java.util.Collection groups) { if (groups == null) { @@ -244,9 +229,6 @@ public void setAttachment(NetworkInterfaceAttachmentChanges attachment) { * Returns a reference to this object so that method calls can be chained together. * * @param attachment The new value for the Attachment property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyNetworkInterfaceAttributeRequest withAttachment(NetworkInterfaceAttachmentChanges attachment) { this.attachment = attachment; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ModifySnapshotAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ModifySnapshotAttributeRequest.java index ca5f60aa97c5..22160cd355e1 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ModifySnapshotAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ModifySnapshotAttributeRequest.java @@ -136,9 +136,6 @@ public void setSnapshotId(String snapshotId) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshotId The ID of the EBS snapshot whose attributes are being modified. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifySnapshotAttributeRequest withSnapshotId(String snapshotId) { this.snapshotId = snapshotId; @@ -190,9 +187,6 @@ public void setAttribute(String attribute) { * @param attribute The name of the attribute being modified.

Available attribute * names: createVolumePermission * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SnapshotAttributeName */ public ModifySnapshotAttributeRequest withAttribute(String attribute) { @@ -229,9 +223,6 @@ public void setAttribute(SnapshotAttributeName attribute) { * @param attribute The name of the attribute being modified.

Available attribute * names: createVolumePermission * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SnapshotAttributeName */ public ModifySnapshotAttributeRequest withAttribute(SnapshotAttributeName attribute) { @@ -269,9 +260,6 @@ public void setOperationType(String operationType) { * * @param operationType The operation to perform on the attribute.

Available operation * names: add, remove - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifySnapshotAttributeRequest withOperationType(String operationType) { this.operationType = operationType; @@ -338,9 +326,6 @@ public void setUserIds(java.util.Collection userIds) { * Currently supports "all". Only valid when the * createVolumePermission attribute is being modified. * - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifySnapshotAttributeRequest withUserIds(String... userIds) { if (getUserIds() == null) setUserIds(new java.util.ArrayList(userIds.length)); @@ -364,9 +349,6 @@ public ModifySnapshotAttributeRequest withUserIds(String... userIds) { * Currently supports "all". Only valid when the * createVolumePermission attribute is being modified. * - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifySnapshotAttributeRequest withUserIds(java.util.Collection userIds) { if (userIds == null) { @@ -439,9 +421,6 @@ public void setGroupNames(java.util.Collection groupNames) { * Currently supports "all". Only valid when the * createVolumePermission attribute is being modified. * - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifySnapshotAttributeRequest withGroupNames(String... groupNames) { if (getGroupNames() == null) setGroupNames(new java.util.ArrayList(groupNames.length)); @@ -465,9 +444,6 @@ public ModifySnapshotAttributeRequest withGroupNames(String... groupNames) { * Currently supports "all". Only valid when the * createVolumePermission attribute is being modified. * - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifySnapshotAttributeRequest withGroupNames(java.util.Collection groupNames) { if (groupNames == null) { @@ -506,9 +482,6 @@ public void setCreateVolumePermission(CreateVolumePermissionModifications create * Returns a reference to this object so that method calls can be chained together. * * @param createVolumePermission The new value for the CreateVolumePermission property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifySnapshotAttributeRequest withCreateVolumePermission(CreateVolumePermissionModifications createVolumePermission) { this.createVolumePermission = createVolumePermission; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ModifyVolumeAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ModifyVolumeAttributeRequest.java index ac16afe80949..5ce2ddaf2627 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ModifyVolumeAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ModifyVolumeAttributeRequest.java @@ -52,9 +52,6 @@ public void setVolumeId(String volumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeId The new value for the VolumeId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyVolumeAttributeRequest withVolumeId(String volumeId) { this.volumeId = volumeId; @@ -86,9 +83,6 @@ public void setAutoEnableIO(Boolean autoEnableIO) { * Returns a reference to this object so that method calls can be chained together. * * @param autoEnableIO The new value for the AutoEnableIO property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyVolumeAttributeRequest withAutoEnableIO(Boolean autoEnableIO) { this.autoEnableIO = autoEnableIO; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ModifyVpcAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ModifyVpcAttributeRequest.java index 5895518f3d30..dbee5767d312 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ModifyVpcAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ModifyVpcAttributeRequest.java @@ -60,9 +60,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The new value for the VpcId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyVpcAttributeRequest withVpcId(String vpcId) { this.vpcId = vpcId; @@ -94,9 +91,6 @@ public void setEnableDnsSupport(Boolean enableDnsSupport) { * Returns a reference to this object so that method calls can be chained together. * * @param enableDnsSupport Boolean value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyVpcAttributeRequest withEnableDnsSupport(Boolean enableDnsSupport) { this.enableDnsSupport = enableDnsSupport; @@ -137,9 +131,6 @@ public void setEnableDnsHostnames(Boolean enableDnsHostnames) { * Returns a reference to this object so that method calls can be chained together. * * @param enableDnsHostnames Boolean value - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyVpcAttributeRequest withEnableDnsHostnames(Boolean enableDnsHostnames) { this.enableDnsHostnames = enableDnsHostnames; diff --git a/src/main/java/com/amazonaws/services/ec2/model/MonitorInstancesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/MonitorInstancesRequest.java index 83eadb950abf..41579a90c1d6 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/MonitorInstancesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/MonitorInstancesRequest.java @@ -88,9 +88,6 @@ public void setInstanceIds(java.util.Collection instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The list of Amazon EC2 instances on which to enable monitoring. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public MonitorInstancesRequest withInstanceIds(String... instanceIds) { if (getInstanceIds() == null) setInstanceIds(new java.util.ArrayList(instanceIds.length)); @@ -106,9 +103,6 @@ public MonitorInstancesRequest withInstanceIds(String... instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The list of Amazon EC2 instances on which to enable monitoring. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public MonitorInstancesRequest withInstanceIds(java.util.Collection instanceIds) { if (instanceIds == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/MonitorInstancesResult.java b/src/main/java/com/amazonaws/services/ec2/model/MonitorInstancesResult.java index e2d1fe8355c1..9c114085c31a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/MonitorInstancesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/MonitorInstancesResult.java @@ -70,9 +70,6 @@ public void setInstanceMonitorings(java.util.Collection inst * * @param instanceMonitorings A list of updated monitoring information for the instances specified * in the request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public MonitorInstancesResult withInstanceMonitorings(InstanceMonitoring... instanceMonitorings) { if (getInstanceMonitorings() == null) setInstanceMonitorings(new java.util.ArrayList(instanceMonitorings.length)); @@ -90,9 +87,6 @@ public MonitorInstancesResult withInstanceMonitorings(InstanceMonitoring... inst * * @param instanceMonitorings A list of updated monitoring information for the instances specified * in the request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public MonitorInstancesResult withInstanceMonitorings(java.util.Collection instanceMonitorings) { if (instanceMonitorings == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/Monitoring.java b/src/main/java/com/amazonaws/services/ec2/model/Monitoring.java index 1aeb2ad4ecb6..a26e9de9999f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Monitoring.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Monitoring.java @@ -58,9 +58,6 @@ public void setState(String state) { * * @param state The state of monitoring on an Amazon EC2 instance (ex: enabled, * disabled). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Monitoring withState(String state) { this.state = state; diff --git a/src/main/java/com/amazonaws/services/ec2/model/NetworkAcl.java b/src/main/java/com/amazonaws/services/ec2/model/NetworkAcl.java index 6e16f83c4fef..e1a4c8225a5e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/NetworkAcl.java +++ b/src/main/java/com/amazonaws/services/ec2/model/NetworkAcl.java @@ -56,9 +56,6 @@ public void setNetworkAclId(String networkAclId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkAclId The new value for the NetworkAclId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAcl withNetworkAclId(String networkAclId) { this.networkAclId = networkAclId; @@ -90,9 +87,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The new value for the VpcId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAcl withVpcId(String vpcId) { this.vpcId = vpcId; @@ -124,9 +118,6 @@ public void setIsDefault(Boolean isDefault) { * Returns a reference to this object so that method calls can be chained together. * * @param isDefault The new value for the IsDefault property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAcl withIsDefault(Boolean isDefault) { this.isDefault = isDefault; @@ -178,9 +169,6 @@ public void setEntries(java.util.Collection entries) { * Returns a reference to this object so that method calls can be chained together. * * @param entries The new value for the Entries property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAcl withEntries(NetworkAclEntry... entries) { if (getEntries() == null) setEntries(new java.util.ArrayList(entries.length)); @@ -196,9 +184,6 @@ public NetworkAcl withEntries(NetworkAclEntry... entries) { * Returns a reference to this object so that method calls can be chained together. * * @param entries The new value for the Entries property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAcl withEntries(java.util.Collection entries) { if (entries == null) { @@ -247,9 +232,6 @@ public void setAssociations(java.util.Collection associat * Returns a reference to this object so that method calls can be chained together. * * @param associations The new value for the Associations property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAcl withAssociations(NetworkAclAssociation... associations) { if (getAssociations() == null) setAssociations(new java.util.ArrayList(associations.length)); @@ -265,9 +247,6 @@ public NetworkAcl withAssociations(NetworkAclAssociation... associations) { * Returns a reference to this object so that method calls can be chained together. * * @param associations The new value for the Associations property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAcl withAssociations(java.util.Collection associations) { if (associations == null) { @@ -316,9 +295,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags The new value for the Tags property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAcl withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -334,9 +310,6 @@ public NetworkAcl withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags The new value for the Tags property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAcl withTags(java.util.Collection tags) { if (tags == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/NetworkAclAssociation.java b/src/main/java/com/amazonaws/services/ec2/model/NetworkAclAssociation.java index c83bf082fe6b..06e4bcbfbcdd 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/NetworkAclAssociation.java +++ b/src/main/java/com/amazonaws/services/ec2/model/NetworkAclAssociation.java @@ -55,9 +55,6 @@ public void setNetworkAclAssociationId(String networkAclAssociationId) { * * @param networkAclAssociationId The new value for the NetworkAclAssociationId property for this * object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAclAssociation withNetworkAclAssociationId(String networkAclAssociationId) { this.networkAclAssociationId = networkAclAssociationId; @@ -89,9 +86,6 @@ public void setNetworkAclId(String networkAclId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkAclId The new value for the NetworkAclId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAclAssociation withNetworkAclId(String networkAclId) { this.networkAclId = networkAclId; @@ -123,9 +117,6 @@ public void setSubnetId(String subnetId) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetId The new value for the SubnetId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAclAssociation withSubnetId(String subnetId) { this.subnetId = subnetId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/NetworkAclEntry.java b/src/main/java/com/amazonaws/services/ec2/model/NetworkAclEntry.java index 237d0f6bfde0..dee711fc37f1 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/NetworkAclEntry.java +++ b/src/main/java/com/amazonaws/services/ec2/model/NetworkAclEntry.java @@ -64,9 +64,6 @@ public void setRuleNumber(Integer ruleNumber) { * Returns a reference to this object so that method calls can be chained together. * * @param ruleNumber The new value for the RuleNumber property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAclEntry withRuleNumber(Integer ruleNumber) { this.ruleNumber = ruleNumber; @@ -98,9 +95,6 @@ public void setProtocol(String protocol) { * Returns a reference to this object so that method calls can be chained together. * * @param protocol The new value for the Protocol property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAclEntry withProtocol(String protocol) { this.protocol = protocol; @@ -146,9 +140,6 @@ public void setRuleAction(String ruleAction) { * * @param ruleAction The new value for the RuleAction property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RuleAction */ public NetworkAclEntry withRuleAction(String ruleAction) { @@ -181,9 +172,6 @@ public void setRuleAction(RuleAction ruleAction) { * * @param ruleAction The new value for the RuleAction property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RuleAction */ public NetworkAclEntry withRuleAction(RuleAction ruleAction) { @@ -215,9 +203,6 @@ public void setEgress(Boolean egress) { * Returns a reference to this object so that method calls can be chained together. * * @param egress The new value for the Egress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAclEntry withEgress(Boolean egress) { this.egress = egress; @@ -258,9 +243,6 @@ public void setCidrBlock(String cidrBlock) { * Returns a reference to this object so that method calls can be chained together. * * @param cidrBlock The new value for the CidrBlock property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAclEntry withCidrBlock(String cidrBlock) { this.cidrBlock = cidrBlock; @@ -292,9 +274,6 @@ public void setIcmpTypeCode(IcmpTypeCode icmpTypeCode) { * Returns a reference to this object so that method calls can be chained together. * * @param icmpTypeCode - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAclEntry withIcmpTypeCode(IcmpTypeCode icmpTypeCode) { this.icmpTypeCode = icmpTypeCode; @@ -326,9 +305,6 @@ public void setPortRange(PortRange portRange) { * Returns a reference to this object so that method calls can be chained together. * * @param portRange - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkAclEntry withPortRange(PortRange portRange) { this.portRange = portRange; diff --git a/src/main/java/com/amazonaws/services/ec2/model/NetworkInterface.java b/src/main/java/com/amazonaws/services/ec2/model/NetworkInterface.java index 111504632933..66ac184fa456 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/NetworkInterface.java +++ b/src/main/java/com/amazonaws/services/ec2/model/NetworkInterface.java @@ -80,9 +80,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; @@ -114,9 +111,6 @@ public void setSubnetId(String subnetId) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetId The new value for the SubnetId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withSubnetId(String subnetId) { this.subnetId = subnetId; @@ -148,9 +142,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The new value for the VpcId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withVpcId(String vpcId) { this.vpcId = vpcId; @@ -182,9 +173,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The new value for the AvailabilityZone property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -216,9 +204,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withDescription(String description) { this.description = description; @@ -250,9 +235,6 @@ public void setOwnerId(String ownerId) { * Returns a reference to this object so that method calls can be chained together. * * @param ownerId The new value for the OwnerId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withOwnerId(String ownerId) { this.ownerId = ownerId; @@ -284,9 +266,6 @@ public void setRequesterId(String requesterId) { * Returns a reference to this object so that method calls can be chained together. * * @param requesterId The new value for the RequesterId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withRequesterId(String requesterId) { this.requesterId = requesterId; @@ -318,9 +297,6 @@ public void setRequesterManaged(Boolean requesterManaged) { * Returns a reference to this object so that method calls can be chained together. * * @param requesterManaged The new value for the RequesterManaged property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withRequesterManaged(Boolean requesterManaged) { this.requesterManaged = requesterManaged; @@ -361,9 +337,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The new value for the Status property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withStatus(String status) { this.status = status; @@ -395,9 +368,6 @@ public void setMacAddress(String macAddress) { * Returns a reference to this object so that method calls can be chained together. * * @param macAddress The new value for the MacAddress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withMacAddress(String macAddress) { this.macAddress = macAddress; @@ -429,9 +399,6 @@ public void setPrivateIpAddress(String privateIpAddress) { * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddress The new value for the PrivateIpAddress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; @@ -463,9 +430,6 @@ public void setPrivateDnsName(String privateDnsName) { * Returns a reference to this object so that method calls can be chained together. * * @param privateDnsName The new value for the PrivateDnsName property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withPrivateDnsName(String privateDnsName) { this.privateDnsName = privateDnsName; @@ -497,9 +461,6 @@ public void setSourceDestCheck(Boolean sourceDestCheck) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceDestCheck The new value for the SourceDestCheck property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withSourceDestCheck(Boolean sourceDestCheck) { this.sourceDestCheck = sourceDestCheck; @@ -551,9 +512,6 @@ public void setGroups(java.util.Collection groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withGroups(GroupIdentifier... groups) { if (getGroups() == null) setGroups(new java.util.ArrayList(groups.length)); @@ -569,9 +527,6 @@ public NetworkInterface withGroups(GroupIdentifier... groups) { * Returns a reference to this object so that method calls can be chained together. * * @param groups The new value for the Groups property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withGroups(java.util.Collection groups) { if (groups == null) { @@ -609,9 +564,6 @@ public void setAttachment(NetworkInterfaceAttachment attachment) { * Returns a reference to this object so that method calls can be chained together. * * @param attachment The new value for the Attachment property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withAttachment(NetworkInterfaceAttachment attachment) { this.attachment = attachment; @@ -643,9 +595,6 @@ public void setAssociation(NetworkInterfaceAssociation association) { * Returns a reference to this object so that method calls can be chained together. * * @param association The new value for the Association property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withAssociation(NetworkInterfaceAssociation association) { this.association = association; @@ -688,9 +637,6 @@ public void setTagSet(java.util.Collection tagSet) { * Returns a reference to this object so that method calls can be chained together. * * @param tagSet The new value for the TagSet property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withTagSet(Tag... tagSet) { if (getTagSet() == null) setTagSet(new java.util.ArrayList(tagSet.length)); @@ -706,9 +652,6 @@ public NetworkInterface withTagSet(Tag... tagSet) { * Returns a reference to this object so that method calls can be chained together. * * @param tagSet The new value for the TagSet property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withTagSet(java.util.Collection tagSet) { if (tagSet == null) { @@ -757,9 +700,6 @@ public void setPrivateIpAddresses(java.util.Collection(privateIpAddresses.length)); @@ -775,9 +715,6 @@ public NetworkInterface withPrivateIpAddresses(NetworkInterfacePrivateIpAddress. * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddresses The new value for the PrivateIpAddresses property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterface withPrivateIpAddresses(java.util.Collection privateIpAddresses) { if (privateIpAddresses == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfaceAssociation.java b/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfaceAssociation.java index 19cbb6314673..b5701c0cab7a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfaceAssociation.java +++ b/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfaceAssociation.java @@ -52,9 +52,6 @@ public void setPublicIp(String publicIp) { * Returns a reference to this object so that method calls can be chained together. * * @param publicIp The new value for the PublicIp property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfaceAssociation withPublicIp(String publicIp) { this.publicIp = publicIp; @@ -86,9 +83,6 @@ public void setIpOwnerId(String ipOwnerId) { * Returns a reference to this object so that method calls can be chained together. * * @param ipOwnerId The new value for the IpOwnerId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfaceAssociation withIpOwnerId(String ipOwnerId) { this.ipOwnerId = ipOwnerId; @@ -120,9 +114,6 @@ public void setAllocationId(String allocationId) { * Returns a reference to this object so that method calls can be chained together. * * @param allocationId The new value for the AllocationId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfaceAssociation withAllocationId(String allocationId) { this.allocationId = allocationId; @@ -154,9 +145,6 @@ public void setAssociationId(String associationId) { * Returns a reference to this object so that method calls can be chained together. * * @param associationId The new value for the AssociationId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfaceAssociation withAssociationId(String associationId) { this.associationId = associationId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfaceAttachment.java b/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfaceAttachment.java index 2e2af0e176b6..893546432bc1 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfaceAttachment.java +++ b/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfaceAttachment.java @@ -58,9 +58,6 @@ public void setAttachmentId(String attachmentId) { * Returns a reference to this object so that method calls can be chained together. * * @param attachmentId The new value for the AttachmentId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfaceAttachment withAttachmentId(String attachmentId) { this.attachmentId = attachmentId; @@ -92,9 +89,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The new value for the InstanceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfaceAttachment withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -126,9 +120,6 @@ public void setInstanceOwnerId(String instanceOwnerId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceOwnerId The new value for the InstanceOwnerId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfaceAttachment withInstanceOwnerId(String instanceOwnerId) { this.instanceOwnerId = instanceOwnerId; @@ -160,9 +151,6 @@ public void setDeviceIndex(Integer deviceIndex) { * Returns a reference to this object so that method calls can be chained together. * * @param deviceIndex The new value for the DeviceIndex property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfaceAttachment withDeviceIndex(Integer deviceIndex) { this.deviceIndex = deviceIndex; @@ -194,9 +182,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The new value for the Status property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfaceAttachment withStatus(String status) { this.status = status; @@ -228,9 +213,6 @@ public void setAttachTime(java.util.Date attachTime) { * Returns a reference to this object so that method calls can be chained together. * * @param attachTime The new value for the AttachTime property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfaceAttachment withAttachTime(java.util.Date attachTime) { this.attachTime = attachTime; @@ -262,9 +244,6 @@ public void setDeleteOnTermination(Boolean deleteOnTermination) { * Returns a reference to this object so that method calls can be chained together. * * @param deleteOnTermination The new value for the DeleteOnTermination property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfaceAttachment withDeleteOnTermination(Boolean deleteOnTermination) { this.deleteOnTermination = deleteOnTermination; diff --git a/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfaceAttachmentChanges.java b/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfaceAttachmentChanges.java index 499a6930cbea..4b878ea8e0fa 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfaceAttachmentChanges.java +++ b/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfaceAttachmentChanges.java @@ -48,9 +48,6 @@ public void setAttachmentId(String attachmentId) { * Returns a reference to this object so that method calls can be chained together. * * @param attachmentId The new value for the AttachmentId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfaceAttachmentChanges withAttachmentId(String attachmentId) { this.attachmentId = attachmentId; @@ -82,9 +79,6 @@ public void setDeleteOnTermination(Boolean deleteOnTermination) { * Returns a reference to this object so that method calls can be chained together. * * @param deleteOnTermination The new value for the DeleteOnTermination property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfaceAttachmentChanges withDeleteOnTermination(Boolean deleteOnTermination) { this.deleteOnTermination = deleteOnTermination; diff --git a/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfacePrivateIpAddress.java b/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfacePrivateIpAddress.java index e81901dea125..0e7c817adafa 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfacePrivateIpAddress.java +++ b/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfacePrivateIpAddress.java @@ -52,9 +52,6 @@ public void setPrivateIpAddress(String privateIpAddress) { * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddress The new value for the PrivateIpAddress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfacePrivateIpAddress withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; @@ -86,9 +83,6 @@ public void setPrivateDnsName(String privateDnsName) { * Returns a reference to this object so that method calls can be chained together. * * @param privateDnsName The new value for the PrivateDnsName property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfacePrivateIpAddress withPrivateDnsName(String privateDnsName) { this.privateDnsName = privateDnsName; @@ -120,9 +114,6 @@ public void setPrimary(Boolean primary) { * Returns a reference to this object so that method calls can be chained together. * * @param primary The new value for the Primary property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfacePrivateIpAddress withPrimary(Boolean primary) { this.primary = primary; @@ -163,9 +154,6 @@ public void setAssociation(NetworkInterfaceAssociation association) { * Returns a reference to this object so that method calls can be chained together. * * @param association The new value for the Association property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public NetworkInterfacePrivateIpAddress withAssociation(NetworkInterfaceAssociation association) { this.association = association; diff --git a/src/main/java/com/amazonaws/services/ec2/model/Placement.java b/src/main/java/com/amazonaws/services/ec2/model/Placement.java index 8df72eba5140..2e7567e208c5 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Placement.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Placement.java @@ -90,9 +90,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The availability zone in which an Amazon EC2 instance runs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Placement withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -142,9 +139,6 @@ public void setGroupName(String groupName) { * runs. Placement groups are primarily used for launching High * Performance Computing instances in the same group to ensure fast * connection speeds. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Placement withGroupName(String groupName) { this.groupName = groupName; @@ -200,9 +194,6 @@ public void setTenancy(String tenancy) { * dedicated means all instances launched into the VPC will be launched * as dedicated tenancy regardless of the tenancy assigned to the * instance at launch. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Placement withTenancy(String tenancy) { this.tenancy = tenancy; diff --git a/src/main/java/com/amazonaws/services/ec2/model/PlacementGroup.java b/src/main/java/com/amazonaws/services/ec2/model/PlacementGroup.java index 6fe18fdd4ee9..5f4f1752f91a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/PlacementGroup.java +++ b/src/main/java/com/amazonaws/services/ec2/model/PlacementGroup.java @@ -90,9 +90,6 @@ public void setGroupName(String groupName) { * Returns a reference to this object so that method calls can be chained together. * * @param groupName The name of this PlacementGroup. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PlacementGroup withGroupName(String groupName) { this.groupName = groupName; @@ -144,9 +141,6 @@ public void setStrategy(String strategy) { * @param strategy The strategy to use when allocating Amazon EC2 instances for the * PlacementGroup. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see PlacementStrategy */ public PlacementGroup withStrategy(String strategy) { @@ -183,9 +177,6 @@ public void setStrategy(PlacementStrategy strategy) { * @param strategy The strategy to use when allocating Amazon EC2 instances for the * PlacementGroup. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see PlacementStrategy */ public PlacementGroup withStrategy(PlacementStrategy strategy) { @@ -231,9 +222,6 @@ public void setState(String state) { * * @param state The state of this PlacementGroup. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see PlacementGroupState */ public PlacementGroup withState(String state) { @@ -266,9 +254,6 @@ public void setState(PlacementGroupState state) { * * @param state The state of this PlacementGroup. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see PlacementGroupState */ public PlacementGroup withState(PlacementGroupState state) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/PortRange.java b/src/main/java/com/amazonaws/services/ec2/model/PortRange.java index 705d28e4c859..ec883aaa2248 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/PortRange.java +++ b/src/main/java/com/amazonaws/services/ec2/model/PortRange.java @@ -62,9 +62,6 @@ public void setFrom(Integer from) { * * @param from The first port in the range. Required if specifying tcp * or udp for the protocol. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PortRange withFrom(Integer from) { this.from = from; @@ -102,9 +99,6 @@ public void setTo(Integer to) { * * @param to The last port in the range. Required if specifying tcp or * udp for the protocol. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PortRange withTo(Integer to) { this.to = to; diff --git a/src/main/java/com/amazonaws/services/ec2/model/PriceSchedule.java b/src/main/java/com/amazonaws/services/ec2/model/PriceSchedule.java index f61d933c474c..96b1612467fc 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/PriceSchedule.java +++ b/src/main/java/com/amazonaws/services/ec2/model/PriceSchedule.java @@ -52,9 +52,6 @@ public void setTerm(Long term) { * Returns a reference to this object so that method calls can be chained together. * * @param term The new value for the Term property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PriceSchedule withTerm(Long term) { this.term = term; @@ -86,9 +83,6 @@ public void setPrice(Double price) { * Returns a reference to this object so that method calls can be chained together. * * @param price The new value for the Price property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PriceSchedule withPrice(Double price) { this.price = price; @@ -120,9 +114,6 @@ public void setCurrencyCode(String currencyCode) { * Returns a reference to this object so that method calls can be chained together. * * @param currencyCode The new value for the CurrencyCode property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PriceSchedule withCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; @@ -154,9 +145,6 @@ public void setActive(Boolean active) { * Returns a reference to this object so that method calls can be chained together. * * @param active The new value for the Active property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PriceSchedule withActive(Boolean active) { this.active = active; diff --git a/src/main/java/com/amazonaws/services/ec2/model/PriceScheduleSpecification.java b/src/main/java/com/amazonaws/services/ec2/model/PriceScheduleSpecification.java index a53660ffa9be..cbad85ece3a2 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/PriceScheduleSpecification.java +++ b/src/main/java/com/amazonaws/services/ec2/model/PriceScheduleSpecification.java @@ -50,9 +50,6 @@ public void setTerm(Long term) { * Returns a reference to this object so that method calls can be chained together. * * @param term The new value for the Term property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PriceScheduleSpecification withTerm(Long term) { this.term = term; @@ -84,9 +81,6 @@ public void setPrice(Double price) { * Returns a reference to this object so that method calls can be chained together. * * @param price The new value for the Price property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PriceScheduleSpecification withPrice(Double price) { this.price = price; @@ -118,9 +112,6 @@ public void setCurrencyCode(String currencyCode) { * Returns a reference to this object so that method calls can be chained together. * * @param currencyCode The new value for the CurrencyCode property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PriceScheduleSpecification withCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; diff --git a/src/main/java/com/amazonaws/services/ec2/model/PricingDetail.java b/src/main/java/com/amazonaws/services/ec2/model/PricingDetail.java index 25189cc2fe58..0b78681a0da2 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/PricingDetail.java +++ b/src/main/java/com/amazonaws/services/ec2/model/PricingDetail.java @@ -48,9 +48,6 @@ public void setPrice(Double price) { * Returns a reference to this object so that method calls can be chained together. * * @param price The new value for the Price property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PricingDetail withPrice(Double price) { this.price = price; @@ -82,9 +79,6 @@ public void setCount(Integer count) { * Returns a reference to this object so that method calls can be chained together. * * @param count The new value for the Count property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PricingDetail withCount(Integer count) { this.count = count; diff --git a/src/main/java/com/amazonaws/services/ec2/model/PrivateIpAddressSpecification.java b/src/main/java/com/amazonaws/services/ec2/model/PrivateIpAddressSpecification.java index 8b9b71885826..410c4e056236 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/PrivateIpAddressSpecification.java +++ b/src/main/java/com/amazonaws/services/ec2/model/PrivateIpAddressSpecification.java @@ -48,9 +48,6 @@ public void setPrivateIpAddress(String privateIpAddress) { * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddress The new value for the PrivateIpAddress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PrivateIpAddressSpecification withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; @@ -82,9 +79,6 @@ public void setPrimary(Boolean primary) { * Returns a reference to this object so that method calls can be chained together. * * @param primary The new value for the Primary property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PrivateIpAddressSpecification withPrimary(Boolean primary) { this.primary = primary; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ProductCode.java b/src/main/java/com/amazonaws/services/ec2/model/ProductCode.java index 23af936f9dea..b9358e91381c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ProductCode.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ProductCode.java @@ -53,9 +53,6 @@ public void setProductCodeId(String productCodeId) { * Returns a reference to this object so that method calls can be chained together. * * @param productCodeId The unique ID of an AWS DevPay product code. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ProductCode withProductCodeId(String productCodeId) { this.productCodeId = productCodeId; @@ -87,9 +84,6 @@ public void setProductCodeType(String productCodeType) { * Returns a reference to this object so that method calls can be chained together. * * @param productCodeType The new value for the ProductCodeType property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ProductCode withProductCodeType(String productCodeType) { this.productCodeType = productCodeType; diff --git a/src/main/java/com/amazonaws/services/ec2/model/PropagatingVgw.java b/src/main/java/com/amazonaws/services/ec2/model/PropagatingVgw.java index 03824daa2c00..aed84e544005 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/PropagatingVgw.java +++ b/src/main/java/com/amazonaws/services/ec2/model/PropagatingVgw.java @@ -46,9 +46,6 @@ public void setGatewayId(String gatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param gatewayId The new value for the GatewayId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PropagatingVgw withGatewayId(String gatewayId) { this.gatewayId = gatewayId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/PurchaseReservedInstancesOfferingRequest.java b/src/main/java/com/amazonaws/services/ec2/model/PurchaseReservedInstancesOfferingRequest.java index c8fb60503dae..2ce50b7d2d2d 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/PurchaseReservedInstancesOfferingRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/PurchaseReservedInstancesOfferingRequest.java @@ -88,9 +88,6 @@ public void setReservedInstancesOfferingId(String reservedInstancesOfferingId) { * Returns a reference to this object so that method calls can be chained together. * * @param reservedInstancesOfferingId The unique ID of the Reserved Instances offering being purchased. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PurchaseReservedInstancesOfferingRequest withReservedInstancesOfferingId(String reservedInstancesOfferingId) { this.reservedInstancesOfferingId = reservedInstancesOfferingId; @@ -122,9 +119,6 @@ public void setInstanceCount(Integer instanceCount) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceCount The number of Reserved Instances to purchase. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PurchaseReservedInstancesOfferingRequest withInstanceCount(Integer instanceCount) { this.instanceCount = instanceCount; @@ -156,9 +150,6 @@ public void setLimitPrice(ReservedInstanceLimitPrice limitPrice) { * Returns a reference to this object so that method calls can be chained together. * * @param limitPrice The new value for the LimitPrice property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PurchaseReservedInstancesOfferingRequest withLimitPrice(ReservedInstanceLimitPrice limitPrice) { this.limitPrice = limitPrice; diff --git a/src/main/java/com/amazonaws/services/ec2/model/PurchaseReservedInstancesOfferingResult.java b/src/main/java/com/amazonaws/services/ec2/model/PurchaseReservedInstancesOfferingResult.java index 957f72723494..db7118eb848a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/PurchaseReservedInstancesOfferingResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/PurchaseReservedInstancesOfferingResult.java @@ -51,9 +51,6 @@ public void setReservedInstancesId(String reservedInstancesId) { * Returns a reference to this object so that method calls can be chained together. * * @param reservedInstancesId The unique ID of the Reserved Instances purchased for your account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PurchaseReservedInstancesOfferingResult withReservedInstancesId(String reservedInstancesId) { this.reservedInstancesId = reservedInstancesId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/RebootInstancesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/RebootInstancesRequest.java index 53f6e7487c42..da2d79dfb36a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/RebootInstancesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/RebootInstancesRequest.java @@ -89,9 +89,6 @@ public void setInstanceIds(java.util.Collection instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The list of instances to terminate. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RebootInstancesRequest withInstanceIds(String... instanceIds) { if (getInstanceIds() == null) setInstanceIds(new java.util.ArrayList(instanceIds.length)); @@ -107,9 +104,6 @@ public RebootInstancesRequest withInstanceIds(String... instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The list of instances to terminate. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RebootInstancesRequest withInstanceIds(java.util.Collection instanceIds) { if (instanceIds == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/RecurringCharge.java b/src/main/java/com/amazonaws/services/ec2/model/RecurringCharge.java index e3b124ce48e6..180e806c3eb4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/RecurringCharge.java +++ b/src/main/java/com/amazonaws/services/ec2/model/RecurringCharge.java @@ -56,9 +56,6 @@ public void setFrequency(String frequency) { * Returns a reference to this object so that method calls can be chained together. * * @param frequency The frequency of the recurring charge. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RecurringCharge withFrequency(String frequency) { this.frequency = frequency; @@ -90,9 +87,6 @@ public void setAmount(Double amount) { * Returns a reference to this object so that method calls can be chained together. * * @param amount The amount of the recurring charge. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RecurringCharge withAmount(Double amount) { this.amount = amount; diff --git a/src/main/java/com/amazonaws/services/ec2/model/Region.java b/src/main/java/com/amazonaws/services/ec2/model/Region.java index 437a71c6c86b..7640eebe0673 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Region.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Region.java @@ -56,9 +56,6 @@ public void setRegionName(String regionName) { * Returns a reference to this object so that method calls can be chained together. * * @param regionName Name of the region. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Region withRegionName(String regionName) { this.regionName = regionName; @@ -90,9 +87,6 @@ public void setEndpoint(String endpoint) { * Returns a reference to this object so that method calls can be chained together. * * @param endpoint Region service endpoint. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Region withEndpoint(String endpoint) { this.endpoint = endpoint; diff --git a/src/main/java/com/amazonaws/services/ec2/model/RegisterImageRequest.java b/src/main/java/com/amazonaws/services/ec2/model/RegisterImageRequest.java index 434364cb0d6a..5236e83df55d 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/RegisterImageRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/RegisterImageRequest.java @@ -130,9 +130,6 @@ public void setImageLocation(String imageLocation) { * Returns a reference to this object so that method calls can be chained together. * * @param imageLocation The full path to your AMI manifest in Amazon S3 storage. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterImageRequest withImageLocation(String imageLocation) { this.imageLocation = imageLocation; @@ -182,9 +179,6 @@ public void setName(String name) { * alphanumeric characters, parenthesis (()), commas * (,), slashes (/), dashes (-), * or underscores(_) - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterImageRequest withName(String name) { this.name = name; @@ -216,9 +210,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The description describing the new AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterImageRequest withDescription(String description) { this.description = description; @@ -256,9 +247,6 @@ public void setArchitecture(String architecture) { * * @param architecture The architecture of the image.

Valid Values: i386, * x86_64 - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterImageRequest withArchitecture(String architecture) { this.architecture = architecture; @@ -290,9 +278,6 @@ public void setKernelId(String kernelId) { * Returns a reference to this object so that method calls can be chained together. * * @param kernelId The optional ID of a specific kernel to register with the new AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterImageRequest withKernelId(String kernelId) { this.kernelId = kernelId; @@ -342,9 +327,6 @@ public void setRamdiskId(String ramdiskId) { *

Some kernels require additional drivers at launch. Check the * kernel requirements for information on whether you need to specify a * RAM disk. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterImageRequest withRamdiskId(String ramdiskId) { this.ramdiskId = ramdiskId; @@ -376,9 +358,6 @@ public void setRootDeviceName(String rootDeviceName) { * Returns a reference to this object so that method calls can be chained together. * * @param rootDeviceName The root device name (e.g., /dev/sda1). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterImageRequest withRootDeviceName(String rootDeviceName) { this.rootDeviceName = rootDeviceName; @@ -433,9 +412,6 @@ public void setBlockDeviceMappings(java.util.Collection bloc * @param blockDeviceMappings The block device mappings for the new AMI, which specify how different * block devices (ex: EBS volumes and ephemeral drives) will be exposed * on instances launched from the new image. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterImageRequest withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings) { if (getBlockDeviceMappings() == null) setBlockDeviceMappings(new java.util.ArrayList(blockDeviceMappings.length)); @@ -455,9 +431,6 @@ public RegisterImageRequest withBlockDeviceMappings(BlockDeviceMapping... blockD * @param blockDeviceMappings The block device mappings for the new AMI, which specify how different * block devices (ex: EBS volumes and ephemeral drives) will be exposed * on instances launched from the new image. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterImageRequest withBlockDeviceMappings(java.util.Collection blockDeviceMappings) { if (blockDeviceMappings == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/RegisterImageResult.java b/src/main/java/com/amazonaws/services/ec2/model/RegisterImageResult.java index f60eb3ddaed6..e36f1cde37bb 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/RegisterImageResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/RegisterImageResult.java @@ -51,9 +51,6 @@ public void setImageId(String imageId) { * Returns a reference to this object so that method calls can be chained together. * * @param imageId The ID of the new Amazon Machine Image (AMI). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterImageResult withImageId(String imageId) { this.imageId = imageId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ReleaseAddressRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ReleaseAddressRequest.java index fb7452569ffd..78e40d1f0c04 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ReleaseAddressRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ReleaseAddressRequest.java @@ -92,9 +92,6 @@ public void setPublicIp(String publicIp) { * Returns a reference to this object so that method calls can be chained together. * * @param publicIp The elastic IP address that you are releasing from your account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReleaseAddressRequest withPublicIp(String publicIp) { this.publicIp = publicIp; @@ -132,9 +129,6 @@ public void setAllocationId(String allocationId) { * * @param allocationId The allocation ID that AWS provided when you allocated the address for * use with Amazon VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReleaseAddressRequest withAllocationId(String allocationId) { this.allocationId = allocationId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ReplaceNetworkAclAssociationRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ReplaceNetworkAclAssociationRequest.java index 6a925cc274d2..952e9de5ef2b 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ReplaceNetworkAclAssociationRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ReplaceNetworkAclAssociationRequest.java @@ -68,9 +68,6 @@ public void setAssociationId(String associationId) { * * @param associationId The ID representing the current association between the original * network ACL and the subnet. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceNetworkAclAssociationRequest withAssociationId(String associationId) { this.associationId = associationId; @@ -102,9 +99,6 @@ public void setNetworkAclId(String networkAclId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkAclId The ID of the new ACL to associate with the subnet. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceNetworkAclAssociationRequest withNetworkAclId(String networkAclId) { this.networkAclId = networkAclId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ReplaceNetworkAclAssociationResult.java b/src/main/java/com/amazonaws/services/ec2/model/ReplaceNetworkAclAssociationResult.java index bb9a24f52c7a..4fbf84cfbe76 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ReplaceNetworkAclAssociationResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ReplaceNetworkAclAssociationResult.java @@ -46,9 +46,6 @@ public void setNewAssociationId(String newAssociationId) { * Returns a reference to this object so that method calls can be chained together. * * @param newAssociationId The new value for the NewAssociationId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceNetworkAclAssociationResult withNewAssociationId(String newAssociationId) { this.newAssociationId = newAssociationId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ReplaceNetworkAclEntryRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ReplaceNetworkAclEntryRequest.java index 1d6c58b04179..b0d6a90275dc 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ReplaceNetworkAclEntryRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ReplaceNetworkAclEntryRequest.java @@ -97,9 +97,6 @@ public void setNetworkAclId(String networkAclId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkAclId ID of the ACL where the entry will be replaced. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceNetworkAclEntryRequest withNetworkAclId(String networkAclId) { this.networkAclId = networkAclId; @@ -131,9 +128,6 @@ public void setRuleNumber(Integer ruleNumber) { * Returns a reference to this object so that method calls can be chained together. * * @param ruleNumber Rule number of the entry to replace. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceNetworkAclEntryRequest withRuleNumber(Integer ruleNumber) { this.ruleNumber = ruleNumber; @@ -171,9 +165,6 @@ public void setProtocol(String protocol) { * * @param protocol IP protocol the rule applies to. Valid Values: tcp, * udp, icmp or an IP protocol number. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceNetworkAclEntryRequest withProtocol(String protocol) { this.protocol = protocol; @@ -219,9 +210,6 @@ public void setRuleAction(String ruleAction) { * * @param ruleAction Whether to allow or deny traffic that matches the rule. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RuleAction */ public ReplaceNetworkAclEntryRequest withRuleAction(String ruleAction) { @@ -254,9 +242,6 @@ public void setRuleAction(RuleAction ruleAction) { * * @param ruleAction Whether to allow or deny traffic that matches the rule. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RuleAction */ public ReplaceNetworkAclEntryRequest withRuleAction(RuleAction ruleAction) { @@ -294,9 +279,6 @@ public void setEgress(Boolean egress) { * * @param egress Whether this rule applies to egress traffic from the subnet * (true) or ingress traffic (false). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceNetworkAclEntryRequest withEgress(Boolean egress) { this.egress = egress; @@ -345,9 +327,6 @@ public void setCidrBlock(String cidrBlock) { * * @param cidrBlock The CIDR range to allow or deny, in CIDR notation (e.g., * 172.16.0.0/24). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceNetworkAclEntryRequest withCidrBlock(String cidrBlock) { this.cidrBlock = cidrBlock; @@ -379,9 +358,6 @@ public void setIcmpTypeCode(IcmpTypeCode icmpTypeCode) { * Returns a reference to this object so that method calls can be chained together. * * @param icmpTypeCode ICMP values. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceNetworkAclEntryRequest withIcmpTypeCode(IcmpTypeCode icmpTypeCode) { this.icmpTypeCode = icmpTypeCode; @@ -413,9 +389,6 @@ public void setPortRange(PortRange portRange) { * Returns a reference to this object so that method calls can be chained together. * * @param portRange Port ranges. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceNetworkAclEntryRequest withPortRange(PortRange portRange) { this.portRange = portRange; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ReplaceRouteRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ReplaceRouteRequest.java index 85c77aafdd68..a1c3f132f779 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ReplaceRouteRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ReplaceRouteRequest.java @@ -76,9 +76,6 @@ public void setRouteTableId(String routeTableId) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTableId The ID of the route table where the route will be replaced. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceRouteRequest withRouteTableId(String routeTableId) { this.routeTableId = routeTableId; @@ -122,9 +119,6 @@ public void setDestinationCidrBlock(String destinationCidrBlock) { * @param destinationCidrBlock The CIDR address block used for the destination match. For example: * 0.0.0.0/0. The value you provide must match the CIDR of * an existing route in the table. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceRouteRequest withDestinationCidrBlock(String destinationCidrBlock) { this.destinationCidrBlock = destinationCidrBlock; @@ -156,9 +150,6 @@ public void setGatewayId(String gatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param gatewayId The ID of a VPN or Internet gateway attached to your VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceRouteRequest withGatewayId(String gatewayId) { this.gatewayId = gatewayId; @@ -190,9 +181,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of a NAT instance in your VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceRouteRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -224,9 +212,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceRouteRequest withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ReplaceRouteTableAssociationRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ReplaceRouteTableAssociationRequest.java index 53107e867690..4ef02d2549b5 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ReplaceRouteTableAssociationRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ReplaceRouteTableAssociationRequest.java @@ -74,9 +74,6 @@ public void setAssociationId(String associationId) { * * @param associationId The ID representing the current association between the original route * table and the subnet. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceRouteTableAssociationRequest withAssociationId(String associationId) { this.associationId = associationId; @@ -108,9 +105,6 @@ public void setRouteTableId(String routeTableId) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTableId The ID of the new route table to associate with the subnet. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceRouteTableAssociationRequest withRouteTableId(String routeTableId) { this.routeTableId = routeTableId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ReplaceRouteTableAssociationResult.java b/src/main/java/com/amazonaws/services/ec2/model/ReplaceRouteTableAssociationResult.java index 338d18951cf4..fb1195371be4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ReplaceRouteTableAssociationResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ReplaceRouteTableAssociationResult.java @@ -46,9 +46,6 @@ public void setNewAssociationId(String newAssociationId) { * Returns a reference to this object so that method calls can be chained together. * * @param newAssociationId The new value for the NewAssociationId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReplaceRouteTableAssociationResult withNewAssociationId(String newAssociationId) { this.newAssociationId = newAssociationId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ReportInstanceStatusRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ReportInstanceStatusRequest.java index 21688fa07ed6..6bc14d646d3b 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ReportInstanceStatusRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ReportInstanceStatusRequest.java @@ -71,9 +71,6 @@ public void setInstances(java.util.Collection instances) { * Returns a reference to this object so that method calls can be chained together. * * @param instances The new value for the Instances property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReportInstanceStatusRequest withInstances(String... instances) { if (getInstances() == null) setInstances(new java.util.ArrayList(instances.length)); @@ -89,9 +86,6 @@ public ReportInstanceStatusRequest withInstances(String... instances) { * Returns a reference to this object so that method calls can be chained together. * * @param instances The new value for the Instances property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReportInstanceStatusRequest withInstances(java.util.Collection instances) { if (instances == null) { @@ -129,9 +123,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The new value for the Status property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReportInstanceStatusRequest withStatus(String status) { this.status = status; @@ -163,9 +154,6 @@ public void setStartTime(java.util.Date startTime) { * Returns a reference to this object so that method calls can be chained together. * * @param startTime The new value for the StartTime property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReportInstanceStatusRequest withStartTime(java.util.Date startTime) { this.startTime = startTime; @@ -197,9 +185,6 @@ public void setEndTime(java.util.Date endTime) { * Returns a reference to this object so that method calls can be chained together. * * @param endTime The new value for the EndTime property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReportInstanceStatusRequest withEndTime(java.util.Date endTime) { this.endTime = endTime; @@ -242,9 +227,6 @@ public void setReasonCodes(java.util.Collection reasonCodes) { * Returns a reference to this object so that method calls can be chained together. * * @param reasonCodes The new value for the ReasonCodes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReportInstanceStatusRequest withReasonCodes(String... reasonCodes) { if (getReasonCodes() == null) setReasonCodes(new java.util.ArrayList(reasonCodes.length)); @@ -260,9 +242,6 @@ public ReportInstanceStatusRequest withReasonCodes(String... reasonCodes) { * Returns a reference to this object so that method calls can be chained together. * * @param reasonCodes The new value for the ReasonCodes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReportInstanceStatusRequest withReasonCodes(java.util.Collection reasonCodes) { if (reasonCodes == null) { @@ -300,9 +279,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReportInstanceStatusRequest withDescription(String description) { this.description = description; diff --git a/src/main/java/com/amazonaws/services/ec2/model/RequestSpotInstancesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/RequestSpotInstancesRequest.java index 6f7597464c53..e00d3359626c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/RequestSpotInstancesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/RequestSpotInstancesRequest.java @@ -141,9 +141,6 @@ public void setSpotPrice(String spotPrice) { * * @param spotPrice Specifies the maximum hourly price for any Spot Instance launched to * fulfill the request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RequestSpotInstancesRequest withSpotPrice(String spotPrice) { this.spotPrice = spotPrice; @@ -175,9 +172,6 @@ public void setInstanceCount(Integer instanceCount) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceCount Specifies the maximum number of Spot Instances to launch. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RequestSpotInstancesRequest withInstanceCount(Integer instanceCount) { this.instanceCount = instanceCount; @@ -223,9 +217,6 @@ public void setType(String type) { * * @param type Specifies the Spot Instance type. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SpotInstanceType */ public RequestSpotInstancesRequest withType(String type) { @@ -258,9 +249,6 @@ public void setType(SpotInstanceType type) { * * @param type Specifies the Spot Instance type. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SpotInstanceType */ public RequestSpotInstancesRequest withType(SpotInstanceType type) { @@ -322,9 +310,6 @@ public void setValidFrom(java.util.Date validFrom) { * is canceled. If the request is persistent, the request becomes active * at this date and time and remains active until it expires or is * canceled. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RequestSpotInstancesRequest withValidFrom(java.util.Date validFrom) { this.validFrom = validFrom; @@ -374,9 +359,6 @@ public void setValidUntil(java.util.Date validUntil) { * request remains active until all instances launch, the request is * canceled, or this date is reached. If the request is persistent, it * remains active until it is canceled or this date and time is reached. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RequestSpotInstancesRequest withValidUntil(java.util.Date validUntil) { this.validUntil = validUntil; @@ -414,9 +396,6 @@ public void setLaunchGroup(String launchGroup) { * * @param launchGroup Specifies the instance launch group. Launch groups are Spot Instances * that launch and terminate together. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RequestSpotInstancesRequest withLaunchGroup(String launchGroup) { this.launchGroup = launchGroup; @@ -460,9 +439,6 @@ public void setAvailabilityZoneGroup(String availabilityZoneGroup) { * @param availabilityZoneGroup Specifies the Availability Zone group.

When specifying the same * Availability Zone group for all Spot Instance requests, all Spot * Instances are launched in the same Availability Zone. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RequestSpotInstancesRequest withAvailabilityZoneGroup(String availabilityZoneGroup) { this.availabilityZoneGroup = availabilityZoneGroup; @@ -494,9 +470,6 @@ public void setLaunchSpecification(LaunchSpecification launchSpecification) { * Returns a reference to this object so that method calls can be chained together. * * @param launchSpecification Specifies additional launch instance information. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RequestSpotInstancesRequest withLaunchSpecification(LaunchSpecification launchSpecification) { this.launchSpecification = launchSpecification; diff --git a/src/main/java/com/amazonaws/services/ec2/model/RequestSpotInstancesResult.java b/src/main/java/com/amazonaws/services/ec2/model/RequestSpotInstancesResult.java index ba1137f62e15..0a1896ae7ace 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/RequestSpotInstancesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/RequestSpotInstancesResult.java @@ -62,9 +62,6 @@ public void setSpotInstanceRequests(java.util.Collection sp * Returns a reference to this object so that method calls can be chained together. * * @param spotInstanceRequests Contains a list of Spot Instance requests. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RequestSpotInstancesResult withSpotInstanceRequests(SpotInstanceRequest... spotInstanceRequests) { if (getSpotInstanceRequests() == null) setSpotInstanceRequests(new java.util.ArrayList(spotInstanceRequests.length)); @@ -80,9 +77,6 @@ public RequestSpotInstancesResult withSpotInstanceRequests(SpotInstanceRequest.. * Returns a reference to this object so that method calls can be chained together. * * @param spotInstanceRequests Contains a list of Spot Instance requests. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RequestSpotInstancesResult withSpotInstanceRequests(java.util.Collection spotInstanceRequests) { if (spotInstanceRequests == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/Reservation.java b/src/main/java/com/amazonaws/services/ec2/model/Reservation.java index 124c50750954..1e148e40e5c4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Reservation.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Reservation.java @@ -79,9 +79,6 @@ public void setReservationId(String reservationId) { * Returns a reference to this object so that method calls can be chained together. * * @param reservationId The unique ID of this reservation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Reservation withReservationId(String reservationId) { this.reservationId = reservationId; @@ -113,9 +110,6 @@ public void setOwnerId(String ownerId) { * Returns a reference to this object so that method calls can be chained together. * * @param ownerId The AWS Access Key ID of the user who owns the reservation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Reservation withOwnerId(String ownerId) { this.ownerId = ownerId; @@ -153,9 +147,6 @@ public void setRequesterId(String requesterId) { * * @param requesterId The unique ID of the user who requested the instances in this * reservation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Reservation withRequesterId(String requesterId) { this.requesterId = requesterId; @@ -204,9 +195,6 @@ public void setGroups(java.util.Collection groups) { * * @param groups The list of security groups requested for the instances in this * reservation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Reservation withGroups(GroupIdentifier... groups) { if (getGroups() == null) setGroups(new java.util.ArrayList(groups.length)); @@ -224,9 +212,6 @@ public Reservation withGroups(GroupIdentifier... groups) { * * @param groups The list of security groups requested for the instances in this * reservation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Reservation withGroups(java.util.Collection groups) { if (groups == null) { @@ -281,9 +266,6 @@ public void setGroupNames(java.util.Collection groupNames) { * * @param groupNames The list of security groups requested for the instances in this * reservation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Reservation withGroupNames(String... groupNames) { if (getGroupNames() == null) setGroupNames(new java.util.ArrayList(groupNames.length)); @@ -301,9 +283,6 @@ public Reservation withGroupNames(String... groupNames) { * * @param groupNames The list of security groups requested for the instances in this * reservation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Reservation withGroupNames(java.util.Collection groupNames) { if (groupNames == null) { @@ -352,9 +331,6 @@ public void setInstances(java.util.Collection instances) { * Returns a reference to this object so that method calls can be chained together. * * @param instances The list of Amazon EC2 instances included in this reservation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Reservation withInstances(Instance... instances) { if (getInstances() == null) setInstances(new java.util.ArrayList(instances.length)); @@ -370,9 +346,6 @@ public Reservation withInstances(Instance... instances) { * Returns a reference to this object so that method calls can be chained together. * * @param instances The list of Amazon EC2 instances included in this reservation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Reservation withInstances(java.util.Collection instances) { if (instances == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/ReservedInstanceLimitPrice.java b/src/main/java/com/amazonaws/services/ec2/model/ReservedInstanceLimitPrice.java index 4a85286f57bc..edeb1db56a88 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ReservedInstanceLimitPrice.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ReservedInstanceLimitPrice.java @@ -48,9 +48,6 @@ public void setAmount(Double amount) { * Returns a reference to this object so that method calls can be chained together. * * @param amount The new value for the Amount property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstanceLimitPrice withAmount(Double amount) { this.amount = amount; @@ -82,9 +79,6 @@ public void setCurrencyCode(String currencyCode) { * Returns a reference to this object so that method calls can be chained together. * * @param currencyCode The new value for the CurrencyCode property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstanceLimitPrice withCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ReservedInstances.java b/src/main/java/com/amazonaws/services/ec2/model/ReservedInstances.java index 3bfaf2e7f90d..54113649da95 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ReservedInstances.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ReservedInstances.java @@ -126,9 +126,6 @@ public void setReservedInstancesId(String reservedInstancesId) { * Returns a reference to this object so that method calls can be chained together. * * @param reservedInstancesId The unique ID of the Reserved Instances purchase. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withReservedInstancesId(String reservedInstancesId) { this.reservedInstancesId = reservedInstancesId; @@ -174,9 +171,6 @@ public void setInstanceType(String instanceType) { * * @param instanceType The instance type on which the Reserved Instances can be used. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public ReservedInstances withInstanceType(String instanceType) { @@ -209,9 +203,6 @@ public void setInstanceType(InstanceType instanceType) { * * @param instanceType The instance type on which the Reserved Instances can be used. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public ReservedInstances withInstanceType(InstanceType instanceType) { @@ -243,9 +234,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The Availability Zone in which the Reserved Instances can be used. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -277,9 +265,6 @@ public void setStart(java.util.Date start) { * Returns a reference to this object so that method calls can be chained together. * * @param start The date and time the Reserved Instances started. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withStart(java.util.Date start) { this.start = start; @@ -311,9 +296,6 @@ public void setDuration(Long duration) { * Returns a reference to this object so that method calls can be chained together. * * @param duration The duration of the Reserved Instances, in seconds. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withDuration(Long duration) { this.duration = duration; @@ -345,9 +327,6 @@ public void setUsagePrice(Float usagePrice) { * Returns a reference to this object so that method calls can be chained together. * * @param usagePrice The usage price of the Reserved Instances, per hour. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withUsagePrice(Float usagePrice) { this.usagePrice = usagePrice; @@ -379,9 +358,6 @@ public void setFixedPrice(Float fixedPrice) { * Returns a reference to this object so that method calls can be chained together. * * @param fixedPrice The purchase price of the Reserved Instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withFixedPrice(Float fixedPrice) { this.fixedPrice = fixedPrice; @@ -413,9 +389,6 @@ public void setInstanceCount(Integer instanceCount) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceCount The number of Reserved Instances purchased. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withInstanceCount(Integer instanceCount) { this.instanceCount = instanceCount; @@ -453,9 +426,6 @@ public void setProductDescription(String productDescription) { * * @param productDescription The Reserved Instances product description (ex: Windows or * Unix/Linux). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withProductDescription(String productDescription) { this.productDescription = productDescription; @@ -487,9 +457,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state The state of the Reserved Instances purchase. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withState(String state) { this.state = state; @@ -532,9 +499,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the ReservedInstances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -550,9 +514,6 @@ public ReservedInstances withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the ReservedInstances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withTags(java.util.Collection tags) { if (tags == null) { @@ -590,9 +551,6 @@ public void setInstanceTenancy(String instanceTenancy) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceTenancy The tenancy of the reserved instance (ex: default or dedicated). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withInstanceTenancy(String instanceTenancy) { this.instanceTenancy = instanceTenancy; @@ -630,9 +588,6 @@ public void setCurrencyCode(String currencyCode) { * * @param currencyCode The currency of the reserved instance. Specified using ISO 4217 * standard (e.g., USD, JPY). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; @@ -664,9 +619,6 @@ public void setOfferingType(String offeringType) { * Returns a reference to this object so that method calls can be chained together. * * @param offeringType The Reserved Instance offering type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withOfferingType(String offeringType) { this.offeringType = offeringType; @@ -709,9 +661,6 @@ public void setRecurringCharges(java.util.Collection recurringC * Returns a reference to this object so that method calls can be chained together. * * @param recurringCharges The recurring charge tag assigned to the resource. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withRecurringCharges(RecurringCharge... recurringCharges) { if (getRecurringCharges() == null) setRecurringCharges(new java.util.ArrayList(recurringCharges.length)); @@ -727,9 +676,6 @@ public ReservedInstances withRecurringCharges(RecurringCharge... recurringCharge * Returns a reference to this object so that method calls can be chained together. * * @param recurringCharges The recurring charge tag assigned to the resource. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstances withRecurringCharges(java.util.Collection recurringCharges) { if (recurringCharges == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/ReservedInstancesListing.java b/src/main/java/com/amazonaws/services/ec2/model/ReservedInstancesListing.java index 5f99defeb540..614392f1746e 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ReservedInstancesListing.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ReservedInstancesListing.java @@ -69,9 +69,6 @@ public void setReservedInstancesListingId(String reservedInstancesListingId) { * * @param reservedInstancesListingId The new value for the ReservedInstancesListingId property for this * object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesListing withReservedInstancesListingId(String reservedInstancesListingId) { this.reservedInstancesListingId = reservedInstancesListingId; @@ -103,9 +100,6 @@ public void setReservedInstancesId(String reservedInstancesId) { * Returns a reference to this object so that method calls can be chained together. * * @param reservedInstancesId The new value for the ReservedInstancesId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesListing withReservedInstancesId(String reservedInstancesId) { this.reservedInstancesId = reservedInstancesId; @@ -137,9 +131,6 @@ public void setCreateDate(java.util.Date createDate) { * Returns a reference to this object so that method calls can be chained together. * * @param createDate The new value for the CreateDate property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesListing withCreateDate(java.util.Date createDate) { this.createDate = createDate; @@ -171,9 +162,6 @@ public void setUpdateDate(java.util.Date updateDate) { * Returns a reference to this object so that method calls can be chained together. * * @param updateDate The new value for the UpdateDate property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesListing withUpdateDate(java.util.Date updateDate) { this.updateDate = updateDate; @@ -205,9 +193,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The new value for the Status property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesListing withStatus(String status) { this.status = status; @@ -239,9 +224,6 @@ public void setStatusMessage(String statusMessage) { * Returns a reference to this object so that method calls can be chained together. * * @param statusMessage The new value for the StatusMessage property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesListing withStatusMessage(String statusMessage) { this.statusMessage = statusMessage; @@ -284,9 +266,6 @@ public void setInstanceCounts(java.util.Collection instanceCounts * Returns a reference to this object so that method calls can be chained together. * * @param instanceCounts The new value for the InstanceCounts property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesListing withInstanceCounts(InstanceCount... instanceCounts) { if (getInstanceCounts() == null) setInstanceCounts(new java.util.ArrayList(instanceCounts.length)); @@ -302,9 +281,6 @@ public ReservedInstancesListing withInstanceCounts(InstanceCount... instanceCoun * Returns a reference to this object so that method calls can be chained together. * * @param instanceCounts The new value for the InstanceCounts property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesListing withInstanceCounts(java.util.Collection instanceCounts) { if (instanceCounts == null) { @@ -353,9 +329,6 @@ public void setPriceSchedules(java.util.Collection priceSchedules * Returns a reference to this object so that method calls can be chained together. * * @param priceSchedules The new value for the PriceSchedules property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesListing withPriceSchedules(PriceSchedule... priceSchedules) { if (getPriceSchedules() == null) setPriceSchedules(new java.util.ArrayList(priceSchedules.length)); @@ -371,9 +344,6 @@ public ReservedInstancesListing withPriceSchedules(PriceSchedule... priceSchedul * Returns a reference to this object so that method calls can be chained together. * * @param priceSchedules The new value for the PriceSchedules property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesListing withPriceSchedules(java.util.Collection priceSchedules) { if (priceSchedules == null) { @@ -422,9 +392,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags The new value for the Tags property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesListing withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -440,9 +407,6 @@ public ReservedInstancesListing withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags The new value for the Tags property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesListing withTags(java.util.Collection tags) { if (tags == null) { @@ -480,9 +444,6 @@ public void setClientToken(String clientToken) { * Returns a reference to this object so that method calls can be chained together. * * @param clientToken The new value for the ClientToken property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesListing withClientToken(String clientToken) { this.clientToken = clientToken; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ReservedInstancesOffering.java b/src/main/java/com/amazonaws/services/ec2/model/ReservedInstancesOffering.java index b47a0f7e0bfe..f1a64bc7d1bd 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ReservedInstancesOffering.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ReservedInstancesOffering.java @@ -109,9 +109,6 @@ public void setReservedInstancesOfferingId(String reservedInstancesOfferingId) { * Returns a reference to this object so that method calls can be chained together. * * @param reservedInstancesOfferingId The unique ID of this Reserved Instances offering. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withReservedInstancesOfferingId(String reservedInstancesOfferingId) { this.reservedInstancesOfferingId = reservedInstancesOfferingId; @@ -157,9 +154,6 @@ public void setInstanceType(String instanceType) { * * @param instanceType The instance type on which the Reserved Instances can be used. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public ReservedInstancesOffering withInstanceType(String instanceType) { @@ -192,9 +186,6 @@ public void setInstanceType(InstanceType instanceType) { * * @param instanceType The instance type on which the Reserved Instances can be used. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public ReservedInstancesOffering withInstanceType(InstanceType instanceType) { @@ -226,9 +217,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The Availability Zone in which the Reserved Instances can be used. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -260,9 +248,6 @@ public void setDuration(Long duration) { * Returns a reference to this object so that method calls can be chained together. * * @param duration The duration of the Reserved Instance, in seconds. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withDuration(Long duration) { this.duration = duration; @@ -294,9 +279,6 @@ public void setUsagePrice(Float usagePrice) { * Returns a reference to this object so that method calls can be chained together. * * @param usagePrice The usage price of the Reserved Instance, per hour. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withUsagePrice(Float usagePrice) { this.usagePrice = usagePrice; @@ -328,9 +310,6 @@ public void setFixedPrice(Float fixedPrice) { * Returns a reference to this object so that method calls can be chained together. * * @param fixedPrice The purchase price of the Reserved Instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withFixedPrice(Float fixedPrice) { this.fixedPrice = fixedPrice; @@ -362,9 +341,6 @@ public void setProductDescription(String productDescription) { * Returns a reference to this object so that method calls can be chained together. * * @param productDescription The Reserved Instances description (ex: Windows or Unix/Linux). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withProductDescription(String productDescription) { this.productDescription = productDescription; @@ -396,9 +372,6 @@ public void setInstanceTenancy(String instanceTenancy) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceTenancy The tenancy of the reserved instance (ex: default or dedicated). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withInstanceTenancy(String instanceTenancy) { this.instanceTenancy = instanceTenancy; @@ -436,9 +409,6 @@ public void setCurrencyCode(String currencyCode) { * * @param currencyCode The currency of the reserved instance. Specified using ISO 4217 * standard (e.g., USD, JPY). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; @@ -470,9 +440,6 @@ public void setOfferingType(String offeringType) { * Returns a reference to this object so that method calls can be chained together. * * @param offeringType The Reserved Instance offering type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withOfferingType(String offeringType) { this.offeringType = offeringType; @@ -515,9 +482,6 @@ public void setRecurringCharges(java.util.Collection recurringC * Returns a reference to this object so that method calls can be chained together. * * @param recurringCharges The recurring charge tag assigned to the resource. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withRecurringCharges(RecurringCharge... recurringCharges) { if (getRecurringCharges() == null) setRecurringCharges(new java.util.ArrayList(recurringCharges.length)); @@ -533,9 +497,6 @@ public ReservedInstancesOffering withRecurringCharges(RecurringCharge... recurri * Returns a reference to this object so that method calls can be chained together. * * @param recurringCharges The recurring charge tag assigned to the resource. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withRecurringCharges(java.util.Collection recurringCharges) { if (recurringCharges == null) { @@ -573,9 +534,6 @@ public void setMarketplace(Boolean marketplace) { * Returns a reference to this object so that method calls can be chained together. * * @param marketplace The new value for the Marketplace property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withMarketplace(Boolean marketplace) { this.marketplace = marketplace; @@ -627,9 +585,6 @@ public void setPricingDetails(java.util.Collection pricingDetails * Returns a reference to this object so that method calls can be chained together. * * @param pricingDetails The new value for the PricingDetails property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withPricingDetails(PricingDetail... pricingDetails) { if (getPricingDetails() == null) setPricingDetails(new java.util.ArrayList(pricingDetails.length)); @@ -645,9 +600,6 @@ public ReservedInstancesOffering withPricingDetails(PricingDetail... pricingDeta * Returns a reference to this object so that method calls can be chained together. * * @param pricingDetails The new value for the PricingDetails property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedInstancesOffering withPricingDetails(java.util.Collection pricingDetails) { if (pricingDetails == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/ResetImageAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ResetImageAttributeRequest.java index c70110f80250..0aec57460ccb 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ResetImageAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ResetImageAttributeRequest.java @@ -88,9 +88,6 @@ public void setImageId(String imageId) { * Returns a reference to this object so that method calls can be chained together. * * @param imageId The ID of the AMI whose attribute is being reset. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ResetImageAttributeRequest withImageId(String imageId) { this.imageId = imageId; @@ -128,9 +125,6 @@ public void setAttribute(String attribute) { * * @param attribute The name of the attribute being reset.

Available attribute names: * launchPermission - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ResetImageAttributeRequest withAttribute(String attribute) { this.attribute = attribute; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ResetInstanceAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ResetInstanceAttributeRequest.java index 17b5f9362773..555c7ce4aad0 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ResetInstanceAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ResetInstanceAttributeRequest.java @@ -104,9 +104,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of the Amazon EC2 instance whose attribute is being reset. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ResetInstanceAttributeRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -158,9 +155,6 @@ public void setAttribute(String attribute) { * @param attribute The name of the attribute being reset.

Available attribute names: * kernel, ramdisk * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceAttributeName */ public ResetInstanceAttributeRequest withAttribute(String attribute) { @@ -197,9 +191,6 @@ public void setAttribute(InstanceAttributeName attribute) { * @param attribute The name of the attribute being reset.

Available attribute names: * kernel, ramdisk * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceAttributeName */ public ResetInstanceAttributeRequest withAttribute(InstanceAttributeName attribute) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/ResetNetworkInterfaceAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ResetNetworkInterfaceAttributeRequest.java index 73123c18a0ed..4d2e23bd1522 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ResetNetworkInterfaceAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ResetNetworkInterfaceAttributeRequest.java @@ -52,9 +52,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ResetNetworkInterfaceAttributeRequest withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; @@ -86,9 +83,6 @@ public void setSourceDestCheck(String sourceDestCheck) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceDestCheck The new value for the SourceDestCheck property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ResetNetworkInterfaceAttributeRequest withSourceDestCheck(String sourceDestCheck) { this.sourceDestCheck = sourceDestCheck; diff --git a/src/main/java/com/amazonaws/services/ec2/model/ResetSnapshotAttributeRequest.java b/src/main/java/com/amazonaws/services/ec2/model/ResetSnapshotAttributeRequest.java index 7e6684a19249..945a2bed34f2 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/ResetSnapshotAttributeRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/ResetSnapshotAttributeRequest.java @@ -104,9 +104,6 @@ public void setSnapshotId(String snapshotId) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshotId The ID of the snapshot whose attribute is being reset. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ResetSnapshotAttributeRequest withSnapshotId(String snapshotId) { this.snapshotId = snapshotId; @@ -158,9 +155,6 @@ public void setAttribute(String attribute) { * @param attribute The name of the attribute being reset.

Available attribute names: * createVolumePermission * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SnapshotAttributeName */ public ResetSnapshotAttributeRequest withAttribute(String attribute) { @@ -197,9 +191,6 @@ public void setAttribute(SnapshotAttributeName attribute) { * @param attribute The name of the attribute being reset.

Available attribute names: * createVolumePermission * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SnapshotAttributeName */ public ResetSnapshotAttributeRequest withAttribute(SnapshotAttributeName attribute) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/RevokeSecurityGroupEgressRequest.java b/src/main/java/com/amazonaws/services/ec2/model/RevokeSecurityGroupEgressRequest.java index 7c98dd8dd5d5..d2fb64484f5d 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/RevokeSecurityGroupEgressRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/RevokeSecurityGroupEgressRequest.java @@ -104,9 +104,6 @@ public void setGroupId(String groupId) { * Returns a reference to this object so that method calls can be chained together. * * @param groupId ID of the VPC security group to modify. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupEgressRequest withGroupId(String groupId) { this.groupId = groupId; @@ -138,9 +135,6 @@ public void setSourceSecurityGroupName(String sourceSecurityGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceSecurityGroupName Deprecated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupEgressRequest withSourceSecurityGroupName(String sourceSecurityGroupName) { this.sourceSecurityGroupName = sourceSecurityGroupName; @@ -172,9 +166,6 @@ public void setSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceSecurityGroupOwnerId Deprecated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupEgressRequest withSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId) { this.sourceSecurityGroupOwnerId = sourceSecurityGroupOwnerId; @@ -206,9 +197,6 @@ public void setIpProtocol(String ipProtocol) { * Returns a reference to this object so that method calls can be chained together. * * @param ipProtocol Deprecated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupEgressRequest withIpProtocol(String ipProtocol) { this.ipProtocol = ipProtocol; @@ -240,9 +228,6 @@ public void setFromPort(Integer fromPort) { * Returns a reference to this object so that method calls can be chained together. * * @param fromPort Deprecated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupEgressRequest withFromPort(Integer fromPort) { this.fromPort = fromPort; @@ -274,9 +259,6 @@ public void setToPort(Integer toPort) { * Returns a reference to this object so that method calls can be chained together. * * @param toPort Deprecated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupEgressRequest withToPort(Integer toPort) { this.toPort = toPort; @@ -308,9 +290,6 @@ public void setCidrIp(String cidrIp) { * Returns a reference to this object so that method calls can be chained together. * * @param cidrIp Deprecated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupEgressRequest withCidrIp(String cidrIp) { this.cidrIp = cidrIp; @@ -365,9 +344,6 @@ public void setIpPermissions(java.util.Collection ipPermissions) { * @param ipPermissions List of IP permissions to authorize on the specified security group. * Specifying permissions through IP permissions is the preferred way of * authorizing permissions since it offers more flexibility and control. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupEgressRequest withIpPermissions(IpPermission... ipPermissions) { if (getIpPermissions() == null) setIpPermissions(new java.util.ArrayList(ipPermissions.length)); @@ -387,9 +363,6 @@ public RevokeSecurityGroupEgressRequest withIpPermissions(IpPermission... ipPerm * @param ipPermissions List of IP permissions to authorize on the specified security group. * Specifying permissions through IP permissions is the preferred way of * authorizing permissions since it offers more flexibility and control. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupEgressRequest withIpPermissions(java.util.Collection ipPermissions) { if (ipPermissions == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/RevokeSecurityGroupIngressRequest.java b/src/main/java/com/amazonaws/services/ec2/model/RevokeSecurityGroupIngressRequest.java index 2b52aabfec18..51d43473c168 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/RevokeSecurityGroupIngressRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/RevokeSecurityGroupIngressRequest.java @@ -153,9 +153,6 @@ public void setGroupName(String groupName) { * @param groupName Name of the standard (EC2) security group to modify. The group must * belong to your account. Can be used instead of GroupID for standard * (EC2) security groups. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupIngressRequest withGroupName(String groupName) { this.groupName = groupName; @@ -199,9 +196,6 @@ public void setGroupId(String groupId) { * @param groupId ID of the standard (EC2) or VPC security group to modify. The group * must belong to your account. Required for VPC security groups; can be * used instead of GroupName for standard (EC2) security groups. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupIngressRequest withGroupId(String groupId) { this.groupId = groupId; @@ -233,9 +227,6 @@ public void setSourceSecurityGroupName(String sourceSecurityGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceSecurityGroupName Deprecated - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupIngressRequest withSourceSecurityGroupName(String sourceSecurityGroupName) { this.sourceSecurityGroupName = sourceSecurityGroupName; @@ -267,9 +258,6 @@ public void setSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceSecurityGroupOwnerId Deprecated - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupIngressRequest withSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId) { this.sourceSecurityGroupOwnerId = sourceSecurityGroupOwnerId; @@ -301,9 +289,6 @@ public void setIpProtocol(String ipProtocol) { * Returns a reference to this object so that method calls can be chained together. * * @param ipProtocol Deprecated - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupIngressRequest withIpProtocol(String ipProtocol) { this.ipProtocol = ipProtocol; @@ -335,9 +320,6 @@ public void setFromPort(Integer fromPort) { * Returns a reference to this object so that method calls can be chained together. * * @param fromPort Deprecated - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupIngressRequest withFromPort(Integer fromPort) { this.fromPort = fromPort; @@ -369,9 +351,6 @@ public void setToPort(Integer toPort) { * Returns a reference to this object so that method calls can be chained together. * * @param toPort Deprecated - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupIngressRequest withToPort(Integer toPort) { this.toPort = toPort; @@ -403,9 +382,6 @@ public void setCidrIp(String cidrIp) { * Returns a reference to this object so that method calls can be chained together. * * @param cidrIp Deprecated - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupIngressRequest withCidrIp(String cidrIp) { this.cidrIp = cidrIp; @@ -472,9 +448,6 @@ public void setIpPermissions(java.util.Collection ipPermissions) { * permissions you specify in this list. Specifying permissions through * IP permissions is the preferred way of revoking permissions since it * offers more flexibility and control. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupIngressRequest withIpPermissions(IpPermission... ipPermissions) { if (getIpPermissions() == null) setIpPermissions(new java.util.ArrayList(ipPermissions.length)); @@ -498,9 +471,6 @@ public RevokeSecurityGroupIngressRequest withIpPermissions(IpPermission... ipPer * permissions you specify in this list. Specifying permissions through * IP permissions is the preferred way of revoking permissions since it * offers more flexibility and control. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeSecurityGroupIngressRequest withIpPermissions(java.util.Collection ipPermissions) { if (ipPermissions == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/Route.java b/src/main/java/com/amazonaws/services/ec2/model/Route.java index 9394541fcd13..a6dbc30e4414 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Route.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Route.java @@ -57,9 +57,6 @@ public void setDestinationCidrBlock(String destinationCidrBlock) { * Returns a reference to this object so that method calls can be chained together. * * @param destinationCidrBlock The new value for the DestinationCidrBlock property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Route withDestinationCidrBlock(String destinationCidrBlock) { this.destinationCidrBlock = destinationCidrBlock; @@ -91,9 +88,6 @@ public void setGatewayId(String gatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param gatewayId The new value for the GatewayId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Route withGatewayId(String gatewayId) { this.gatewayId = gatewayId; @@ -125,9 +119,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The new value for the InstanceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Route withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -159,9 +150,6 @@ public void setInstanceOwnerId(String instanceOwnerId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceOwnerId The new value for the InstanceOwnerId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Route withInstanceOwnerId(String instanceOwnerId) { this.instanceOwnerId = instanceOwnerId; @@ -193,9 +181,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Route withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; @@ -227,9 +212,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state The new value for the State property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Route withState(String state) { this.state = state; diff --git a/src/main/java/com/amazonaws/services/ec2/model/RouteTable.java b/src/main/java/com/amazonaws/services/ec2/model/RouteTable.java index ddd7e85a7497..5b012fd595e4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/RouteTable.java +++ b/src/main/java/com/amazonaws/services/ec2/model/RouteTable.java @@ -56,9 +56,6 @@ public void setRouteTableId(String routeTableId) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTableId The new value for the RouteTableId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTable withRouteTableId(String routeTableId) { this.routeTableId = routeTableId; @@ -90,9 +87,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The new value for the VpcId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTable withVpcId(String vpcId) { this.vpcId = vpcId; @@ -135,9 +129,6 @@ public void setRoutes(java.util.Collection routes) { * Returns a reference to this object so that method calls can be chained together. * * @param routes The new value for the Routes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTable withRoutes(Route... routes) { if (getRoutes() == null) setRoutes(new java.util.ArrayList(routes.length)); @@ -153,9 +144,6 @@ public RouteTable withRoutes(Route... routes) { * Returns a reference to this object so that method calls can be chained together. * * @param routes The new value for the Routes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTable withRoutes(java.util.Collection routes) { if (routes == null) { @@ -204,9 +192,6 @@ public void setAssociations(java.util.Collection associat * Returns a reference to this object so that method calls can be chained together. * * @param associations The new value for the Associations property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTable withAssociations(RouteTableAssociation... associations) { if (getAssociations() == null) setAssociations(new java.util.ArrayList(associations.length)); @@ -222,9 +207,6 @@ public RouteTable withAssociations(RouteTableAssociation... associations) { * Returns a reference to this object so that method calls can be chained together. * * @param associations The new value for the Associations property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTable withAssociations(java.util.Collection associations) { if (associations == null) { @@ -273,9 +255,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags The new value for the Tags property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTable withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -291,9 +270,6 @@ public RouteTable withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags The new value for the Tags property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTable withTags(java.util.Collection tags) { if (tags == null) { @@ -342,9 +318,6 @@ public void setPropagatingVgws(java.util.Collection propagatingV * Returns a reference to this object so that method calls can be chained together. * * @param propagatingVgws The new value for the PropagatingVgws property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTable withPropagatingVgws(PropagatingVgw... propagatingVgws) { if (getPropagatingVgws() == null) setPropagatingVgws(new java.util.ArrayList(propagatingVgws.length)); @@ -360,9 +333,6 @@ public RouteTable withPropagatingVgws(PropagatingVgw... propagatingVgws) { * Returns a reference to this object so that method calls can be chained together. * * @param propagatingVgws The new value for the PropagatingVgws property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTable withPropagatingVgws(java.util.Collection propagatingVgws) { if (propagatingVgws == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/RouteTableAssociation.java b/src/main/java/com/amazonaws/services/ec2/model/RouteTableAssociation.java index 76caff84364e..913cb708e634 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/RouteTableAssociation.java +++ b/src/main/java/com/amazonaws/services/ec2/model/RouteTableAssociation.java @@ -57,9 +57,6 @@ public void setRouteTableAssociationId(String routeTableAssociationId) { * * @param routeTableAssociationId The new value for the RouteTableAssociationId property for this * object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTableAssociation withRouteTableAssociationId(String routeTableAssociationId) { this.routeTableAssociationId = routeTableAssociationId; @@ -91,9 +88,6 @@ public void setRouteTableId(String routeTableId) { * Returns a reference to this object so that method calls can be chained together. * * @param routeTableId The new value for the RouteTableId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTableAssociation withRouteTableId(String routeTableId) { this.routeTableId = routeTableId; @@ -125,9 +119,6 @@ public void setSubnetId(String subnetId) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetId The new value for the SubnetId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTableAssociation withSubnetId(String subnetId) { this.subnetId = subnetId; @@ -159,9 +150,6 @@ public void setMain(Boolean main) { * Returns a reference to this object so that method calls can be chained together. * * @param main The new value for the Main property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RouteTableAssociation withMain(Boolean main) { this.main = main; diff --git a/src/main/java/com/amazonaws/services/ec2/model/RunInstancesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/RunInstancesRequest.java index f5156af9f256..3226292e4730 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/RunInstancesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/RunInstancesRequest.java @@ -237,9 +237,6 @@ public void setImageId(String imageId) { * Returns a reference to this object so that method calls can be chained together. * * @param imageId Unique ID of a machine image, returned by a call to DescribeImages. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withImageId(String imageId) { this.imageId = imageId; @@ -277,9 +274,6 @@ public void setMinCount(Integer minCount) { * * @param minCount Minimum number of instances to launch. If the value is more than * Amazon EC2 can launch, no instances are launched at all. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withMinCount(Integer minCount) { this.minCount = minCount; @@ -329,9 +323,6 @@ public void setMaxCount(Integer maxCount) { * Amazon EC2 can launch, the largest possible number above minCount will * be launched instead.

Between 1 and the maximum number allowed for * your account (default: 20). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withMaxCount(Integer maxCount) { this.maxCount = maxCount; @@ -363,9 +354,6 @@ public void setKeyName(String keyName) { * Returns a reference to this object so that method calls can be chained together. * * @param keyName The name of the key pair. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withKeyName(String keyName) { this.keyName = keyName; @@ -414,9 +402,6 @@ public void setSecurityGroups(java.util.Collection securityGroups) { * * @param securityGroups The names of the security groups into which the instances will be * launched. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withSecurityGroups(String... securityGroups) { if (getSecurityGroups() == null) setSecurityGroups(new java.util.ArrayList(securityGroups.length)); @@ -434,9 +419,6 @@ public RunInstancesRequest withSecurityGroups(String... securityGroups) { * * @param securityGroups The names of the security groups into which the instances will be * launched. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withSecurityGroups(java.util.Collection securityGroups) { if (securityGroups == null) { @@ -485,9 +467,6 @@ public void setSecurityGroupIds(java.util.Collection securityGroupIds) { * Returns a reference to this object so that method calls can be chained together. * * @param securityGroupIds The new value for the SecurityGroupIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withSecurityGroupIds(String... securityGroupIds) { if (getSecurityGroupIds() == null) setSecurityGroupIds(new java.util.ArrayList(securityGroupIds.length)); @@ -503,9 +482,6 @@ public RunInstancesRequest withSecurityGroupIds(String... securityGroupIds) { * Returns a reference to this object so that method calls can be chained together. * * @param securityGroupIds The new value for the SecurityGroupIds property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withSecurityGroupIds(java.util.Collection securityGroupIds) { if (securityGroupIds == null) { @@ -543,9 +519,6 @@ public void setUserData(String userData) { * Returns a reference to this object so that method calls can be chained together. * * @param userData Specifies additional information to make available to the instance(s). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withUserData(String userData) { this.userData = userData; @@ -591,9 +564,6 @@ public void setInstanceType(String instanceType) { * * @param instanceType Specifies the instance type for the launched instances. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public RunInstancesRequest withInstanceType(String instanceType) { @@ -626,9 +596,6 @@ public void setInstanceType(InstanceType instanceType) { * * @param instanceType Specifies the instance type for the launched instances. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public RunInstancesRequest withInstanceType(InstanceType instanceType) { @@ -666,9 +633,6 @@ public void setPlacement(Placement placement) { * * @param placement Specifies the placement constraints (Availability Zones) for launching * the instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withPlacement(Placement placement) { this.placement = placement; @@ -700,9 +664,6 @@ public void setKernelId(String kernelId) { * Returns a reference to this object so that method calls can be chained together. * * @param kernelId The ID of the kernel with which to launch the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withKernelId(String kernelId) { this.kernelId = kernelId; @@ -758,9 +719,6 @@ public void setRamdiskId(String ramdiskId) { * for information on whether you need to specify a RAM disk. To find * kernel requirements, go to the Resource Center and search for the * kernel ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withRamdiskId(String ramdiskId) { this.ramdiskId = ramdiskId; @@ -809,9 +767,6 @@ public void setBlockDeviceMappings(java.util.Collection bloc * * @param blockDeviceMappings Specifies how block devices are exposed to the instance. Each mapping * is made up of a virtualName and a deviceName. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings) { if (getBlockDeviceMappings() == null) setBlockDeviceMappings(new java.util.ArrayList(blockDeviceMappings.length)); @@ -829,9 +784,6 @@ public RunInstancesRequest withBlockDeviceMappings(BlockDeviceMapping... blockDe * * @param blockDeviceMappings Specifies how block devices are exposed to the instance. Each mapping * is made up of a virtualName and a deviceName. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withBlockDeviceMappings(java.util.Collection blockDeviceMappings) { if (blockDeviceMappings == null) { @@ -869,9 +821,6 @@ public void setMonitoring(Boolean monitoring) { * Returns a reference to this object so that method calls can be chained together. * * @param monitoring Enables monitoring for the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withMonitoring(Boolean monitoring) { this.monitoring = monitoring; @@ -918,9 +867,6 @@ public void setSubnetId(String subnetId) { * * @param subnetId Specifies the subnet ID within which to launch the instance(s) for * Amazon Virtual Private Cloud. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withSubnetId(String subnetId) { this.subnetId = subnetId; @@ -964,9 +910,6 @@ public void setDisableApiTermination(Boolean disableApiTermination) { * @param disableApiTermination Specifies whether the instance can be terminated using the APIs. You * must modify this attribute before you can terminate any "locked" * instances from the APIs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withDisableApiTermination(Boolean disableApiTermination) { this.disableApiTermination = disableApiTermination; @@ -1017,9 +960,6 @@ public void setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdow * * @param instanceInitiatedShutdownBehavior Specifies whether the instance's Amazon EBS volumes are stopped or * terminated when the instance is shut down. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior) { this.instanceInitiatedShutdownBehavior = instanceInitiatedShutdownBehavior; @@ -1057,9 +997,6 @@ public void setLicense(InstanceLicenseSpecification license) { * * @param license Specifies active licenses in use and attached to an Amazon EC2 * instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withLicense(InstanceLicenseSpecification license) { this.license = license; @@ -1103,9 +1040,6 @@ public void setPrivateIpAddress(String privateIpAddress) { * @param privateIpAddress If you're using Amazon Virtual Private Cloud, you can optionally use * this parameter to assign the instance a specific available IP address * from the subnet. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; @@ -1149,9 +1083,6 @@ public void setClientToken(String clientToken) { * @param clientToken Unique, case-sensitive identifier you provide to ensure idempotency of * the request. For more information, go to How to Ensure Idempotency in * the Amazon Elastic Compute Cloud User Guide. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withClientToken(String clientToken) { this.clientToken = clientToken; @@ -1183,9 +1114,6 @@ public void setAdditionalInfo(String additionalInfo) { * Returns a reference to this object so that method calls can be chained together. * * @param additionalInfo Do not use. Reserved for internal use. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withAdditionalInfo(String additionalInfo) { this.additionalInfo = additionalInfo; @@ -1228,9 +1156,6 @@ public void setNetworkInterfaces(java.util.Collection(networkInterfaces.length)); @@ -1246,9 +1171,6 @@ public RunInstancesRequest withNetworkInterfaces(InstanceNetworkInterfaceSpecifi * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaces The new value for the NetworkInterfaces property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withNetworkInterfaces(java.util.Collection networkInterfaces) { if (networkInterfaces == null) { @@ -1286,9 +1208,6 @@ public void setIamInstanceProfile(IamInstanceProfileSpecification iamInstancePro * Returns a reference to this object so that method calls can be chained together. * * @param iamInstanceProfile The new value for the IamInstanceProfile property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile) { this.iamInstanceProfile = iamInstanceProfile; @@ -1320,9 +1239,6 @@ public void setEbsOptimized(Boolean ebsOptimized) { * Returns a reference to this object so that method calls can be chained together. * * @param ebsOptimized The new value for the EbsOptimized property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesRequest withEbsOptimized(Boolean ebsOptimized) { this.ebsOptimized = ebsOptimized; diff --git a/src/main/java/com/amazonaws/services/ec2/model/RunInstancesResult.java b/src/main/java/com/amazonaws/services/ec2/model/RunInstancesResult.java index 994af17e20d8..9504725b1147 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/RunInstancesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/RunInstancesResult.java @@ -51,9 +51,6 @@ public void setReservation(Reservation reservation) { * Returns a reference to this object so that method calls can be chained together. * * @param reservation The newly created reservation, containing the new instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RunInstancesResult withReservation(Reservation reservation) { this.reservation = reservation; diff --git a/src/main/java/com/amazonaws/services/ec2/model/S3Storage.java b/src/main/java/com/amazonaws/services/ec2/model/S3Storage.java index 3e70f76f298b..6aceed0b565f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/S3Storage.java +++ b/src/main/java/com/amazonaws/services/ec2/model/S3Storage.java @@ -93,9 +93,6 @@ public void setBucket(String bucket) { * you already own or a new bucket that Amazon EC2 creates on your * behalf.

If you specify a bucket that belongs to someone else, * Amazon EC2 returns an error. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public S3Storage withBucket(String bucket) { this.bucket = bucket; @@ -127,9 +124,6 @@ public void setPrefix(String prefix) { * Returns a reference to this object so that method calls can be chained together. * * @param prefix The prefix to use when storing the AMI in S3. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public S3Storage withPrefix(String prefix) { this.prefix = prefix; @@ -161,9 +155,6 @@ public void setAWSAccessKeyId(String aWSAccessKeyId) { * Returns a reference to this object so that method calls can be chained together. * * @param aWSAccessKeyId The Access Key ID of the owner of the Amazon S3 bucket. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public S3Storage withAWSAccessKeyId(String aWSAccessKeyId) { this.aWSAccessKeyId = aWSAccessKeyId; @@ -201,9 +192,6 @@ public void setUploadPolicy(String uploadPolicy) { * * @param uploadPolicy A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 * permission to upload items into Amazon S3 on the user's behalf. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public S3Storage withUploadPolicy(String uploadPolicy) { this.uploadPolicy = uploadPolicy; @@ -235,9 +223,6 @@ public void setUploadPolicySignature(String uploadPolicySignature) { * Returns a reference to this object so that method calls can be chained together. * * @param uploadPolicySignature The signature of the Base64 encoded JSON document. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public S3Storage withUploadPolicySignature(String uploadPolicySignature) { this.uploadPolicySignature = uploadPolicySignature; diff --git a/src/main/java/com/amazonaws/services/ec2/model/SecurityGroup.java b/src/main/java/com/amazonaws/services/ec2/model/SecurityGroup.java index 2abf8310340a..a1b138b0ceb0 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/SecurityGroup.java +++ b/src/main/java/com/amazonaws/services/ec2/model/SecurityGroup.java @@ -74,9 +74,6 @@ public void setOwnerId(String ownerId) { * Returns a reference to this object so that method calls can be chained together. * * @param ownerId The AWS Access Key ID of the owner of the security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SecurityGroup withOwnerId(String ownerId) { this.ownerId = ownerId; @@ -108,9 +105,6 @@ public void setGroupName(String groupName) { * Returns a reference to this object so that method calls can be chained together. * * @param groupName The name of this security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SecurityGroup withGroupName(String groupName) { this.groupName = groupName; @@ -142,9 +136,6 @@ public void setGroupId(String groupId) { * Returns a reference to this object so that method calls can be chained together. * * @param groupId The new value for the GroupId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SecurityGroup withGroupId(String groupId) { this.groupId = groupId; @@ -176,9 +167,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The description of this security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SecurityGroup withDescription(String description) { this.description = description; @@ -221,9 +209,6 @@ public void setIpPermissions(java.util.Collection ipPermissions) { * Returns a reference to this object so that method calls can be chained together. * * @param ipPermissions The permissions enabled for this security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SecurityGroup withIpPermissions(IpPermission... ipPermissions) { if (getIpPermissions() == null) setIpPermissions(new java.util.ArrayList(ipPermissions.length)); @@ -239,9 +224,6 @@ public SecurityGroup withIpPermissions(IpPermission... ipPermissions) { * Returns a reference to this object so that method calls can be chained together. * * @param ipPermissions The permissions enabled for this security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SecurityGroup withIpPermissions(java.util.Collection ipPermissions) { if (ipPermissions == null) { @@ -290,9 +272,6 @@ public void setIpPermissionsEgress(java.util.Collection ipPermissi * Returns a reference to this object so that method calls can be chained together. * * @param ipPermissionsEgress The new value for the IpPermissionsEgress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SecurityGroup withIpPermissionsEgress(IpPermission... ipPermissionsEgress) { if (getIpPermissionsEgress() == null) setIpPermissionsEgress(new java.util.ArrayList(ipPermissionsEgress.length)); @@ -308,9 +287,6 @@ public SecurityGroup withIpPermissionsEgress(IpPermission... ipPermissionsEgress * Returns a reference to this object so that method calls can be chained together. * * @param ipPermissionsEgress The new value for the IpPermissionsEgress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SecurityGroup withIpPermissionsEgress(java.util.Collection ipPermissionsEgress) { if (ipPermissionsEgress == null) { @@ -348,9 +324,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The new value for the VpcId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SecurityGroup withVpcId(String vpcId) { this.vpcId = vpcId; @@ -393,9 +366,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags The new value for the Tags property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SecurityGroup withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -411,9 +381,6 @@ public SecurityGroup withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags The new value for the Tags property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SecurityGroup withTags(java.util.Collection tags) { if (tags == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/Snapshot.java b/src/main/java/com/amazonaws/services/ec2/model/Snapshot.java index 7ff0e8ac237e..05a5e0e7184b 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Snapshot.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Snapshot.java @@ -100,9 +100,6 @@ public void setSnapshotId(String snapshotId) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshotId The unique ID of this snapshot. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withSnapshotId(String snapshotId) { this.snapshotId = snapshotId; @@ -134,9 +131,6 @@ public void setVolumeId(String volumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeId The ID of the volume from which this snapshot was created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withVolumeId(String volumeId) { this.volumeId = volumeId; @@ -182,9 +176,6 @@ public void setState(String state) { * * @param state Snapshot state (e.g., pending, completed, or error). * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SnapshotState */ public Snapshot withState(String state) { @@ -217,9 +208,6 @@ public void setState(SnapshotState state) { * * @param state Snapshot state (e.g., pending, completed, or error). * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SnapshotState */ public Snapshot withState(SnapshotState state) { @@ -251,9 +239,6 @@ public void setStartTime(java.util.Date startTime) { * Returns a reference to this object so that method calls can be chained together. * * @param startTime Time stamp when the snapshot was initiated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withStartTime(java.util.Date startTime) { this.startTime = startTime; @@ -285,9 +270,6 @@ public void setProgress(String progress) { * Returns a reference to this object so that method calls can be chained together. * * @param progress The progress of the snapshot, in percentage. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withProgress(String progress) { this.progress = progress; @@ -319,9 +301,6 @@ public void setOwnerId(String ownerId) { * Returns a reference to this object so that method calls can be chained together. * * @param ownerId AWS Access Key ID of the user who owns the snapshot. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withOwnerId(String ownerId) { this.ownerId = ownerId; @@ -353,9 +332,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description Description of the snapshot. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withDescription(String description) { this.description = description; @@ -387,9 +363,6 @@ public void setVolumeSize(Integer volumeSize) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeSize The size of the volume, in gigabytes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withVolumeSize(Integer volumeSize) { this.volumeSize = volumeSize; @@ -427,9 +400,6 @@ public void setOwnerAlias(String ownerAlias) { * * @param ownerAlias The AWS account alias (e.g., "amazon", "redhat", "self", etc.) or AWS * account ID that owns the AMI. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withOwnerAlias(String ownerAlias) { this.ownerAlias = ownerAlias; @@ -472,9 +442,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the Snapshot. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -490,9 +457,6 @@ public Snapshot withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the Snapshot. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withTags(java.util.Collection tags) { if (tags == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/SpotDatafeedSubscription.java b/src/main/java/com/amazonaws/services/ec2/model/SpotDatafeedSubscription.java index 77c689f50874..f9598544c5b9 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/SpotDatafeedSubscription.java +++ b/src/main/java/com/amazonaws/services/ec2/model/SpotDatafeedSubscription.java @@ -72,9 +72,6 @@ public void setOwnerId(String ownerId) { * Returns a reference to this object so that method calls can be chained together. * * @param ownerId Specifies the AWS account ID of the account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotDatafeedSubscription withOwnerId(String ownerId) { this.ownerId = ownerId; @@ -112,9 +109,6 @@ public void setBucket(String bucket) { * * @param bucket Specifies the Amazon S3 bucket where the Spot Instance data feed is * located. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotDatafeedSubscription withBucket(String bucket) { this.bucket = bucket; @@ -146,9 +140,6 @@ public void setPrefix(String prefix) { * Returns a reference to this object so that method calls can be chained together. * * @param prefix Contains the prefix that is prepended to data feed files. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotDatafeedSubscription withPrefix(String prefix) { this.prefix = prefix; @@ -180,9 +171,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state Specifies the state of the Spot Instance request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotDatafeedSubscription withState(String state) { this.state = state; @@ -214,9 +202,6 @@ public void setFault(SpotInstanceStateFault fault) { * Returns a reference to this object so that method calls can be chained together. * * @param fault Specifies a fault code for the Spot Instance request, if present. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotDatafeedSubscription withFault(SpotInstanceStateFault fault) { this.fault = fault; diff --git a/src/main/java/com/amazonaws/services/ec2/model/SpotInstanceRequest.java b/src/main/java/com/amazonaws/services/ec2/model/SpotInstanceRequest.java index d9f0288c8c99..74e4bb5c21f0 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/SpotInstanceRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/SpotInstanceRequest.java @@ -86,9 +86,6 @@ public void setSpotInstanceRequestId(String spotInstanceRequestId) { * Returns a reference to this object so that method calls can be chained together. * * @param spotInstanceRequestId The new value for the SpotInstanceRequestId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withSpotInstanceRequestId(String spotInstanceRequestId) { this.spotInstanceRequestId = spotInstanceRequestId; @@ -120,9 +117,6 @@ public void setSpotPrice(String spotPrice) { * Returns a reference to this object so that method calls can be chained together. * * @param spotPrice The new value for the SpotPrice property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withSpotPrice(String spotPrice) { this.spotPrice = spotPrice; @@ -168,9 +162,6 @@ public void setType(String type) { * * @param type The new value for the Type property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SpotInstanceType */ public SpotInstanceRequest withType(String type) { @@ -203,9 +194,6 @@ public void setType(SpotInstanceType type) { * * @param type The new value for the Type property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SpotInstanceType */ public SpotInstanceRequest withType(SpotInstanceType type) { @@ -237,9 +225,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state The new value for the State property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withState(String state) { this.state = state; @@ -271,9 +256,6 @@ public void setFault(SpotInstanceStateFault fault) { * Returns a reference to this object so that method calls can be chained together. * * @param fault The new value for the Fault property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withFault(SpotInstanceStateFault fault) { this.fault = fault; @@ -305,9 +287,6 @@ public void setStatus(SpotInstanceStatus status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The new value for the Status property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withStatus(SpotInstanceStatus status) { this.status = status; @@ -339,9 +318,6 @@ public void setValidFrom(java.util.Date validFrom) { * Returns a reference to this object so that method calls can be chained together. * * @param validFrom The new value for the ValidFrom property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withValidFrom(java.util.Date validFrom) { this.validFrom = validFrom; @@ -373,9 +349,6 @@ public void setValidUntil(java.util.Date validUntil) { * Returns a reference to this object so that method calls can be chained together. * * @param validUntil The new value for the ValidUntil property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withValidUntil(java.util.Date validUntil) { this.validUntil = validUntil; @@ -407,9 +380,6 @@ public void setLaunchGroup(String launchGroup) { * Returns a reference to this object so that method calls can be chained together. * * @param launchGroup The new value for the LaunchGroup property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withLaunchGroup(String launchGroup) { this.launchGroup = launchGroup; @@ -442,9 +412,6 @@ public void setAvailabilityZoneGroup(String availabilityZoneGroup) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZoneGroup The new value for the AvailabilityZoneGroup property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withAvailabilityZoneGroup(String availabilityZoneGroup) { this.availabilityZoneGroup = availabilityZoneGroup; @@ -476,9 +443,6 @@ public void setLaunchSpecification(LaunchSpecification launchSpecification) { * Returns a reference to this object so that method calls can be chained together. * * @param launchSpecification The LaunchSpecificationType data type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withLaunchSpecification(LaunchSpecification launchSpecification) { this.launchSpecification = launchSpecification; @@ -510,9 +474,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The new value for the InstanceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -544,9 +505,6 @@ public void setCreateTime(java.util.Date createTime) { * Returns a reference to this object so that method calls can be chained together. * * @param createTime The new value for the CreateTime property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withCreateTime(java.util.Date createTime) { this.createTime = createTime; @@ -578,9 +536,6 @@ public void setProductDescription(String productDescription) { * Returns a reference to this object so that method calls can be chained together. * * @param productDescription The new value for the ProductDescription property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withProductDescription(String productDescription) { this.productDescription = productDescription; @@ -623,9 +578,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for this spot instance request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -641,9 +593,6 @@ public SpotInstanceRequest withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for this spot instance request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withTags(java.util.Collection tags) { if (tags == null) { @@ -681,9 +630,6 @@ public void setLaunchedAvailabilityZone(String launchedAvailabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param launchedAvailabilityZone The Availability Zone in which the bid is launched. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceRequest withLaunchedAvailabilityZone(String launchedAvailabilityZone) { this.launchedAvailabilityZone = launchedAvailabilityZone; diff --git a/src/main/java/com/amazonaws/services/ec2/model/SpotInstanceStateFault.java b/src/main/java/com/amazonaws/services/ec2/model/SpotInstanceStateFault.java index 878fd31c59e6..df938750bb3c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/SpotInstanceStateFault.java +++ b/src/main/java/com/amazonaws/services/ec2/model/SpotInstanceStateFault.java @@ -48,9 +48,6 @@ public void setCode(String code) { * Returns a reference to this object so that method calls can be chained together. * * @param code The new value for the Code property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceStateFault withCode(String code) { this.code = code; @@ -82,9 +79,6 @@ public void setMessage(String message) { * Returns a reference to this object so that method calls can be chained together. * * @param message The new value for the Message property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceStateFault withMessage(String message) { this.message = message; diff --git a/src/main/java/com/amazonaws/services/ec2/model/SpotInstanceStatus.java b/src/main/java/com/amazonaws/services/ec2/model/SpotInstanceStatus.java index 904997a3d4c6..91971c5ee0a5 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/SpotInstanceStatus.java +++ b/src/main/java/com/amazonaws/services/ec2/model/SpotInstanceStatus.java @@ -50,9 +50,6 @@ public void setCode(String code) { * Returns a reference to this object so that method calls can be chained together. * * @param code The new value for the Code property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceStatus withCode(String code) { this.code = code; @@ -84,9 +81,6 @@ public void setUpdateTime(java.util.Date updateTime) { * Returns a reference to this object so that method calls can be chained together. * * @param updateTime The new value for the UpdateTime property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceStatus withUpdateTime(java.util.Date updateTime) { this.updateTime = updateTime; @@ -118,9 +112,6 @@ public void setMessage(String message) { * Returns a reference to this object so that method calls can be chained together. * * @param message The new value for the Message property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotInstanceStatus withMessage(String message) { this.message = message; diff --git a/src/main/java/com/amazonaws/services/ec2/model/SpotPlacement.java b/src/main/java/com/amazonaws/services/ec2/model/SpotPlacement.java index 4756869ba2c4..1abec2135087 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/SpotPlacement.java +++ b/src/main/java/com/amazonaws/services/ec2/model/SpotPlacement.java @@ -81,9 +81,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The availability zone in which an Amazon EC2 instance runs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotPlacement withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -133,9 +130,6 @@ public void setGroupName(String groupName) { * runs. Placement groups are primarily used for launching High * Performance Computing instances in the same group to ensure fast * connection speeds. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotPlacement withGroupName(String groupName) { this.groupName = groupName; diff --git a/src/main/java/com/amazonaws/services/ec2/model/SpotPrice.java b/src/main/java/com/amazonaws/services/ec2/model/SpotPrice.java index c62891c4beca..c53c530f6930 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/SpotPrice.java +++ b/src/main/java/com/amazonaws/services/ec2/model/SpotPrice.java @@ -68,9 +68,6 @@ public void setInstanceType(String instanceType) { * * @param instanceType The new value for the InstanceType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public SpotPrice withInstanceType(String instanceType) { @@ -103,9 +100,6 @@ public void setInstanceType(InstanceType instanceType) { * * @param instanceType The new value for the InstanceType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see InstanceType */ public SpotPrice withInstanceType(InstanceType instanceType) { @@ -137,9 +131,6 @@ public void setProductDescription(String productDescription) { * Returns a reference to this object so that method calls can be chained together. * * @param productDescription The new value for the ProductDescription property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotPrice withProductDescription(String productDescription) { this.productDescription = productDescription; @@ -171,9 +162,6 @@ public void setSpotPrice(String spotPrice) { * Returns a reference to this object so that method calls can be chained together. * * @param spotPrice The new value for the SpotPrice property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotPrice withSpotPrice(String spotPrice) { this.spotPrice = spotPrice; @@ -205,9 +193,6 @@ public void setTimestamp(java.util.Date timestamp) { * Returns a reference to this object so that method calls can be chained together. * * @param timestamp The new value for the Timestamp property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotPrice withTimestamp(java.util.Date timestamp) { this.timestamp = timestamp; @@ -239,9 +224,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The new value for the AvailabilityZone property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SpotPrice withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; diff --git a/src/main/java/com/amazonaws/services/ec2/model/StartInstancesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/StartInstancesRequest.java index 891831ee8a32..ac23e88e7ba0 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/StartInstancesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/StartInstancesRequest.java @@ -95,9 +95,6 @@ public void setInstanceIds(java.util.Collection instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The list of Amazon EC2 instances to start. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StartInstancesRequest withInstanceIds(String... instanceIds) { if (getInstanceIds() == null) setInstanceIds(new java.util.ArrayList(instanceIds.length)); @@ -113,9 +110,6 @@ public StartInstancesRequest withInstanceIds(String... instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The list of Amazon EC2 instances to start. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StartInstancesRequest withInstanceIds(java.util.Collection instanceIds) { if (instanceIds == null) { @@ -153,9 +147,6 @@ public void setAdditionalInfo(String additionalInfo) { * Returns a reference to this object so that method calls can be chained together. * * @param additionalInfo The new value for the AdditionalInfo property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StartInstancesRequest withAdditionalInfo(String additionalInfo) { this.additionalInfo = additionalInfo; diff --git a/src/main/java/com/amazonaws/services/ec2/model/StartInstancesResult.java b/src/main/java/com/amazonaws/services/ec2/model/StartInstancesResult.java index b1c8203e8716..637af2a01ada 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/StartInstancesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/StartInstancesResult.java @@ -69,9 +69,6 @@ public void setStartingInstances(java.util.Collection start * * @param startingInstances The list of the starting instances and details on how their state has * changed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StartInstancesResult withStartingInstances(InstanceStateChange... startingInstances) { if (getStartingInstances() == null) setStartingInstances(new java.util.ArrayList(startingInstances.length)); @@ -89,9 +86,6 @@ public StartInstancesResult withStartingInstances(InstanceStateChange... startin * * @param startingInstances The list of the starting instances and details on how their state has * changed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StartInstancesResult withStartingInstances(java.util.Collection startingInstances) { if (startingInstances == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/StateReason.java b/src/main/java/com/amazonaws/services/ec2/model/StateReason.java index af96e60aaf37..3e0f99ad117d 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/StateReason.java +++ b/src/main/java/com/amazonaws/services/ec2/model/StateReason.java @@ -56,9 +56,6 @@ public void setCode(String code) { * Returns a reference to this object so that method calls can be chained together. * * @param code Reason code for the state change. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StateReason withCode(String code) { this.code = code; @@ -90,9 +87,6 @@ public void setMessage(String message) { * Returns a reference to this object so that method calls can be chained together. * * @param message Descriptive message for the state change. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StateReason withMessage(String message) { this.message = message; diff --git a/src/main/java/com/amazonaws/services/ec2/model/StopInstancesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/StopInstancesRequest.java index d5b1c4ac6ae4..2f64b65b63b3 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/StopInstancesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/StopInstancesRequest.java @@ -102,9 +102,6 @@ public void setInstanceIds(java.util.Collection instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The list of Amazon EC2 instances to stop. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StopInstancesRequest withInstanceIds(String... instanceIds) { if (getInstanceIds() == null) setInstanceIds(new java.util.ArrayList(instanceIds.length)); @@ -120,9 +117,6 @@ public StopInstancesRequest withInstanceIds(String... instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The list of Amazon EC2 instances to stop. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StopInstancesRequest withInstanceIds(java.util.Collection instanceIds) { if (instanceIds == null) { @@ -178,9 +172,6 @@ public void setForce(Boolean force) { * to flush file system caches nor file system meta data. If you use this * option, you must perform file system check and repair procedures. This * option is not recommended for Windows instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StopInstancesRequest withForce(Boolean force) { this.force = force; diff --git a/src/main/java/com/amazonaws/services/ec2/model/StopInstancesResult.java b/src/main/java/com/amazonaws/services/ec2/model/StopInstancesResult.java index ab8e0b69f640..b8d1b457a681 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/StopInstancesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/StopInstancesResult.java @@ -69,9 +69,6 @@ public void setStoppingInstances(java.util.Collection stopp * * @param stoppingInstances The list of the stopping instances and details on how their state has * changed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StopInstancesResult withStoppingInstances(InstanceStateChange... stoppingInstances) { if (getStoppingInstances() == null) setStoppingInstances(new java.util.ArrayList(stoppingInstances.length)); @@ -89,9 +86,6 @@ public StopInstancesResult withStoppingInstances(InstanceStateChange... stopping * * @param stoppingInstances The list of the stopping instances and details on how their state has * changed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StopInstancesResult withStoppingInstances(java.util.Collection stoppingInstances) { if (stoppingInstances == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/Storage.java b/src/main/java/com/amazonaws/services/ec2/model/Storage.java index 1ecc2cbbaca2..ba0b0ff951f4 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Storage.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Storage.java @@ -51,9 +51,6 @@ public void setS3(S3Storage s3) { * Returns a reference to this object so that method calls can be chained together. * * @param s3 The details of S3 storage for bundling a Windows instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Storage withS3(S3Storage s3) { this.s3 = s3; diff --git a/src/main/java/com/amazonaws/services/ec2/model/Subnet.java b/src/main/java/com/amazonaws/services/ec2/model/Subnet.java index 79188e49bd75..507ab1df59e6 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Subnet.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Subnet.java @@ -88,9 +88,6 @@ public void setSubnetId(String subnetId) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetId Specifies the ID of the subnet. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Subnet withSubnetId(String subnetId) { this.subnetId = subnetId; @@ -128,9 +125,6 @@ public void setState(String state) { * * @param state Describes the current state of the subnet. The state of the subnet may * be either pending or available. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Subnet withState(String state) { this.state = state; @@ -162,9 +156,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId Contains the ID of the VPC the subnet is in. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Subnet withVpcId(String vpcId) { this.vpcId = vpcId; @@ -196,9 +187,6 @@ public void setCidrBlock(String cidrBlock) { * Returns a reference to this object so that method calls can be chained together. * * @param cidrBlock Specifies the CIDR block assigned to the subnet. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Subnet withCidrBlock(String cidrBlock) { this.cidrBlock = cidrBlock; @@ -242,9 +230,6 @@ public void setAvailableIpAddressCount(Integer availableIpAddressCount) { * @param availableIpAddressCount Specifies the number of unused IP addresses in the subnet.

* The IP addresses for any stopped instances are considered unavailable. * - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Subnet withAvailableIpAddressCount(Integer availableIpAddressCount) { this.availableIpAddressCount = availableIpAddressCount; @@ -276,9 +261,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone Specifies the Availability Zone the subnet is in. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Subnet withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -310,9 +292,6 @@ public void setDefaultForAz(Boolean defaultForAz) { * Returns a reference to this object so that method calls can be chained together. * * @param defaultForAz The new value for the DefaultForAz property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Subnet withDefaultForAz(Boolean defaultForAz) { this.defaultForAz = defaultForAz; @@ -353,9 +332,6 @@ public void setMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch) { * Returns a reference to this object so that method calls can be chained together. * * @param mapPublicIpOnLaunch The new value for the MapPublicIpOnLaunch property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Subnet withMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch) { this.mapPublicIpOnLaunch = mapPublicIpOnLaunch; @@ -407,9 +383,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the Subnet. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Subnet withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -425,9 +398,6 @@ public Subnet withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the Subnet. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Subnet withTags(java.util.Collection tags) { if (tags == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/Tag.java b/src/main/java/com/amazonaws/services/ec2/model/Tag.java index a325faf1a818..a2fb11c6c456 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Tag.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Tag.java @@ -95,9 +95,6 @@ public void setKey(String key) { * Returns a reference to this object so that method calls can be chained together. * * @param key The tag's key. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Tag withKey(String key) { this.key = key; @@ -129,9 +126,6 @@ public void setValue(String value) { * Returns a reference to this object so that method calls can be chained together. * * @param value The tag's value. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Tag withValue(String value) { this.value = value; diff --git a/src/main/java/com/amazonaws/services/ec2/model/TagDescription.java b/src/main/java/com/amazonaws/services/ec2/model/TagDescription.java index 4f0bae05dd53..75d4a0934e2c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/TagDescription.java +++ b/src/main/java/com/amazonaws/services/ec2/model/TagDescription.java @@ -70,9 +70,6 @@ public void setResourceId(String resourceId) { * Returns a reference to this object so that method calls can be chained together. * * @param resourceId The resource ID for the tag. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public TagDescription withResourceId(String resourceId) { this.resourceId = resourceId; @@ -124,9 +121,6 @@ public void setResourceType(String resourceType) { * @param resourceType The type of resource identified by the associated resource ID (ex: * instance, AMI, EBS volume, etc). * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see ResourceType */ public TagDescription withResourceType(String resourceType) { @@ -163,9 +157,6 @@ public void setResourceType(ResourceType resourceType) { * @param resourceType The type of resource identified by the associated resource ID (ex: * instance, AMI, EBS volume, etc). * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see ResourceType */ public TagDescription withResourceType(ResourceType resourceType) { @@ -197,9 +188,6 @@ public void setKey(String key) { * Returns a reference to this object so that method calls can be chained together. * * @param key The tag's key. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public TagDescription withKey(String key) { this.key = key; @@ -231,9 +219,6 @@ public void setValue(String value) { * Returns a reference to this object so that method calls can be chained together. * * @param value The tag's value. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public TagDescription withValue(String value) { this.value = value; diff --git a/src/main/java/com/amazonaws/services/ec2/model/TerminateInstancesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/TerminateInstancesRequest.java index 95854fb29a4f..9e472f90a217 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/TerminateInstancesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/TerminateInstancesRequest.java @@ -91,9 +91,6 @@ public void setInstanceIds(java.util.Collection instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The list of instances to terminate. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public TerminateInstancesRequest withInstanceIds(String... instanceIds) { if (getInstanceIds() == null) setInstanceIds(new java.util.ArrayList(instanceIds.length)); @@ -109,9 +106,6 @@ public TerminateInstancesRequest withInstanceIds(String... instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The list of instances to terminate. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public TerminateInstancesRequest withInstanceIds(java.util.Collection instanceIds) { if (instanceIds == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/TerminateInstancesResult.java b/src/main/java/com/amazonaws/services/ec2/model/TerminateInstancesResult.java index bde55d51fe56..7b80445281d1 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/TerminateInstancesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/TerminateInstancesResult.java @@ -69,9 +69,6 @@ public void setTerminatingInstances(java.util.Collection te * * @param terminatingInstances The list of the terminating instances and details on how their state * has changed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public TerminateInstancesResult withTerminatingInstances(InstanceStateChange... terminatingInstances) { if (getTerminatingInstances() == null) setTerminatingInstances(new java.util.ArrayList(terminatingInstances.length)); @@ -89,9 +86,6 @@ public TerminateInstancesResult withTerminatingInstances(InstanceStateChange... * * @param terminatingInstances The list of the terminating instances and details on how their state * has changed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public TerminateInstancesResult withTerminatingInstances(java.util.Collection terminatingInstances) { if (terminatingInstances == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/UnassignPrivateIpAddressesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/UnassignPrivateIpAddressesRequest.java index e5785baffa08..ecb717174315 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/UnassignPrivateIpAddressesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/UnassignPrivateIpAddressesRequest.java @@ -52,9 +52,6 @@ public void setNetworkInterfaceId(String networkInterfaceId) { * Returns a reference to this object so that method calls can be chained together. * * @param networkInterfaceId The new value for the NetworkInterfaceId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UnassignPrivateIpAddressesRequest withNetworkInterfaceId(String networkInterfaceId) { this.networkInterfaceId = networkInterfaceId; @@ -97,9 +94,6 @@ public void setPrivateIpAddresses(java.util.Collection privateIpAddresse * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddresses The new value for the PrivateIpAddresses property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UnassignPrivateIpAddressesRequest withPrivateIpAddresses(String... privateIpAddresses) { if (getPrivateIpAddresses() == null) setPrivateIpAddresses(new java.util.ArrayList(privateIpAddresses.length)); @@ -115,9 +109,6 @@ public UnassignPrivateIpAddressesRequest withPrivateIpAddresses(String... privat * Returns a reference to this object so that method calls can be chained together. * * @param privateIpAddresses The new value for the PrivateIpAddresses property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UnassignPrivateIpAddressesRequest withPrivateIpAddresses(java.util.Collection privateIpAddresses) { if (privateIpAddresses == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/UnmonitorInstancesRequest.java b/src/main/java/com/amazonaws/services/ec2/model/UnmonitorInstancesRequest.java index 2b220185797a..367406370a32 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/UnmonitorInstancesRequest.java +++ b/src/main/java/com/amazonaws/services/ec2/model/UnmonitorInstancesRequest.java @@ -88,9 +88,6 @@ public void setInstanceIds(java.util.Collection instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The list of Amazon EC2 instances on which to disable monitoring. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UnmonitorInstancesRequest withInstanceIds(String... instanceIds) { if (getInstanceIds() == null) setInstanceIds(new java.util.ArrayList(instanceIds.length)); @@ -106,9 +103,6 @@ public UnmonitorInstancesRequest withInstanceIds(String... instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The list of Amazon EC2 instances on which to disable monitoring. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UnmonitorInstancesRequest withInstanceIds(java.util.Collection instanceIds) { if (instanceIds == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/UnmonitorInstancesResult.java b/src/main/java/com/amazonaws/services/ec2/model/UnmonitorInstancesResult.java index 65e188ec4b73..c1d479f4b03b 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/UnmonitorInstancesResult.java +++ b/src/main/java/com/amazonaws/services/ec2/model/UnmonitorInstancesResult.java @@ -69,9 +69,6 @@ public void setInstanceMonitorings(java.util.Collection inst * * @param instanceMonitorings A list of updated monitoring information for the instances specified * in the request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UnmonitorInstancesResult withInstanceMonitorings(InstanceMonitoring... instanceMonitorings) { if (getInstanceMonitorings() == null) setInstanceMonitorings(new java.util.ArrayList(instanceMonitorings.length)); @@ -89,9 +86,6 @@ public UnmonitorInstancesResult withInstanceMonitorings(InstanceMonitoring... in * * @param instanceMonitorings A list of updated monitoring information for the instances specified * in the request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UnmonitorInstancesResult withInstanceMonitorings(java.util.Collection instanceMonitorings) { if (instanceMonitorings == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/UserIdGroupPair.java b/src/main/java/com/amazonaws/services/ec2/model/UserIdGroupPair.java index dac53a694502..f6657f307f3c 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/UserIdGroupPair.java +++ b/src/main/java/com/amazonaws/services/ec2/model/UserIdGroupPair.java @@ -17,7 +17,7 @@ /** *

- * An AWS user ID identifiying an AWS account, and the name of a security group within that account. + * An AWS user ID identifying an AWS account, and the name of a security group within that account. *

*/ public class UserIdGroupPair implements Serializable { @@ -63,9 +63,6 @@ public void setUserId(String userId) { * Returns a reference to this object so that method calls can be chained together. * * @param userId The AWS user ID of an account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UserIdGroupPair withUserId(String userId) { this.userId = userId; @@ -103,9 +100,6 @@ public void setGroupName(String groupName) { * * @param groupName Name of the security group in the specified AWS account. Cannot be * used when specifying a CIDR IP address range. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UserIdGroupPair withGroupName(String groupName) { this.groupName = groupName; @@ -143,9 +137,6 @@ public void setGroupId(String groupId) { * * @param groupId ID of the security group in the specified AWS account. Cannot be used * when specifying a CIDR IP address range. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UserIdGroupPair withGroupId(String groupId) { this.groupId = groupId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/VgwTelemetry.java b/src/main/java/com/amazonaws/services/ec2/model/VgwTelemetry.java index d46ef4090e4b..8394acaeea94 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VgwTelemetry.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VgwTelemetry.java @@ -54,9 +54,6 @@ public void setOutsideIpAddress(String outsideIpAddress) { * Returns a reference to this object so that method calls can be chained together. * * @param outsideIpAddress The new value for the OutsideIpAddress property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VgwTelemetry withOutsideIpAddress(String outsideIpAddress) { this.outsideIpAddress = outsideIpAddress; @@ -88,9 +85,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The new value for the Status property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VgwTelemetry withStatus(String status) { this.status = status; @@ -122,9 +116,6 @@ public void setLastStatusChange(java.util.Date lastStatusChange) { * Returns a reference to this object so that method calls can be chained together. * * @param lastStatusChange The new value for the LastStatusChange property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VgwTelemetry withLastStatusChange(java.util.Date lastStatusChange) { this.lastStatusChange = lastStatusChange; @@ -156,9 +147,6 @@ public void setStatusMessage(String statusMessage) { * Returns a reference to this object so that method calls can be chained together. * * @param statusMessage The new value for the StatusMessage property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VgwTelemetry withStatusMessage(String statusMessage) { this.statusMessage = statusMessage; @@ -190,9 +178,6 @@ public void setAcceptedRouteCount(Integer acceptedRouteCount) { * Returns a reference to this object so that method calls can be chained together. * * @param acceptedRouteCount The new value for the AcceptedRouteCount property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VgwTelemetry withAcceptedRouteCount(Integer acceptedRouteCount) { this.acceptedRouteCount = acceptedRouteCount; diff --git a/src/main/java/com/amazonaws/services/ec2/model/Volume.java b/src/main/java/com/amazonaws/services/ec2/model/Volume.java index a7d9b1c29fcf..51dd67cf0434 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Volume.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Volume.java @@ -93,9 +93,6 @@ public void setVolumeId(String volumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeId The unique ID of this volume. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withVolumeId(String volumeId) { this.volumeId = volumeId; @@ -127,9 +124,6 @@ public void setSize(Integer size) { * Returns a reference to this object so that method calls can be chained together. * * @param size The size of this volume, in gigabytes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withSize(Integer size) { this.size = size; @@ -161,9 +155,6 @@ public void setSnapshotId(String snapshotId) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshotId Optional snapshot from which this volume was created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withSnapshotId(String snapshotId) { this.snapshotId = snapshotId; @@ -195,9 +186,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone Availability zone in which this volume was created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -243,9 +231,6 @@ public void setState(String state) { * * @param state State of this volume (e.g., creating, available). * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VolumeState */ public Volume withState(String state) { @@ -278,9 +263,6 @@ public void setState(VolumeState state) { * * @param state State of this volume (e.g., creating, available). * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VolumeState */ public Volume withState(VolumeState state) { @@ -312,9 +294,6 @@ public void setCreateTime(java.util.Date createTime) { * Returns a reference to this object so that method calls can be chained together. * * @param createTime Timestamp when volume creation was initiated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withCreateTime(java.util.Date createTime) { this.createTime = createTime; @@ -357,9 +336,6 @@ public void setAttachments(java.util.Collection attachments) { * Returns a reference to this object so that method calls can be chained together. * * @param attachments Information on what this volume is attached to. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withAttachments(VolumeAttachment... attachments) { if (getAttachments() == null) setAttachments(new java.util.ArrayList(attachments.length)); @@ -375,9 +351,6 @@ public Volume withAttachments(VolumeAttachment... attachments) { * Returns a reference to this object so that method calls can be chained together. * * @param attachments Information on what this volume is attached to. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withAttachments(java.util.Collection attachments) { if (attachments == null) { @@ -426,9 +399,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the Volume. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -444,9 +414,6 @@ public Volume withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the Volume. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withTags(java.util.Collection tags) { if (tags == null) { @@ -498,9 +465,6 @@ public void setVolumeType(String volumeType) { * * @param volumeType The new value for the VolumeType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VolumeType */ public Volume withVolumeType(String volumeType) { @@ -533,9 +497,6 @@ public void setVolumeType(VolumeType volumeType) { * * @param volumeType The new value for the VolumeType property for this object. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VolumeType */ public Volume withVolumeType(VolumeType volumeType) { @@ -567,9 +528,6 @@ public void setIops(Integer iops) { * Returns a reference to this object so that method calls can be chained together. * * @param iops The new value for the Iops property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withIops(Integer iops) { this.iops = iops; diff --git a/src/main/java/com/amazonaws/services/ec2/model/VolumeAttachment.java b/src/main/java/com/amazonaws/services/ec2/model/VolumeAttachment.java index 1ca316ef4270..8c9f06802068 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VolumeAttachment.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VolumeAttachment.java @@ -81,9 +81,6 @@ public void setVolumeId(String volumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeId - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeAttachment withVolumeId(String volumeId) { this.volumeId = volumeId; @@ -115,9 +112,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeAttachment withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -155,9 +149,6 @@ public void setDevice(String device) { * * @param device How the device is exposed to the instance (e.g., * /dev/sdh). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeAttachment withDevice(String device) { this.device = device; @@ -203,9 +194,6 @@ public void setState(String state) { * * @param state * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VolumeAttachmentState */ public VolumeAttachment withState(String state) { @@ -238,9 +226,6 @@ public void setState(VolumeAttachmentState state) { * * @param state * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see VolumeAttachmentState */ public VolumeAttachment withState(VolumeAttachmentState state) { @@ -272,9 +257,6 @@ public void setAttachTime(java.util.Date attachTime) { * Returns a reference to this object so that method calls can be chained together. * * @param attachTime Timestamp when this attachment initiated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeAttachment withAttachTime(java.util.Date attachTime) { this.attachTime = attachTime; @@ -312,9 +294,6 @@ public void setDeleteOnTermination(Boolean deleteOnTermination) { * * @param deleteOnTermination `

Whether this volume will be deleted or not when the associated * instance is terminated. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeAttachment withDeleteOnTermination(Boolean deleteOnTermination) { this.deleteOnTermination = deleteOnTermination; diff --git a/src/main/java/com/amazonaws/services/ec2/model/VolumeDetail.java b/src/main/java/com/amazonaws/services/ec2/model/VolumeDetail.java index 4831e9d0a152..635054aa061d 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VolumeDetail.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VolumeDetail.java @@ -46,9 +46,6 @@ public void setSize(Long size) { * Returns a reference to this object so that method calls can be chained together. * * @param size The new value for the Size property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeDetail withSize(Long size) { this.size = size; diff --git a/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusAction.java b/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusAction.java index 922adcae451a..e6f74522efc3 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusAction.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusAction.java @@ -52,9 +52,6 @@ public void setCode(String code) { * Returns a reference to this object so that method calls can be chained together. * * @param code The new value for the Code property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusAction withCode(String code) { this.code = code; @@ -86,9 +83,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusAction withDescription(String description) { this.description = description; @@ -120,9 +114,6 @@ public void setEventType(String eventType) { * Returns a reference to this object so that method calls can be chained together. * * @param eventType The new value for the EventType property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusAction withEventType(String eventType) { this.eventType = eventType; @@ -154,9 +145,6 @@ public void setEventId(String eventId) { * Returns a reference to this object so that method calls can be chained together. * * @param eventId The new value for the EventId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusAction withEventId(String eventId) { this.eventId = eventId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusDetails.java b/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusDetails.java index 68f2cdbbc1e9..813880011fcb 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusDetails.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusDetails.java @@ -48,9 +48,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The new value for the Name property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusDetails withName(String name) { this.name = name; @@ -82,9 +79,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The new value for the Status property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusDetails withStatus(String status) { this.status = status; diff --git a/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusEvent.java b/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusEvent.java index d121aecf8406..934a66d63a48 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusEvent.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusEvent.java @@ -54,9 +54,6 @@ public void setEventType(String eventType) { * Returns a reference to this object so that method calls can be chained together. * * @param eventType The new value for the EventType property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusEvent withEventType(String eventType) { this.eventType = eventType; @@ -88,9 +85,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The new value for the Description property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusEvent withDescription(String description) { this.description = description; @@ -122,9 +116,6 @@ public void setNotBefore(java.util.Date notBefore) { * Returns a reference to this object so that method calls can be chained together. * * @param notBefore The new value for the NotBefore property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusEvent withNotBefore(java.util.Date notBefore) { this.notBefore = notBefore; @@ -156,9 +147,6 @@ public void setNotAfter(java.util.Date notAfter) { * Returns a reference to this object so that method calls can be chained together. * * @param notAfter The new value for the NotAfter property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusEvent withNotAfter(java.util.Date notAfter) { this.notAfter = notAfter; @@ -190,9 +178,6 @@ public void setEventId(String eventId) { * Returns a reference to this object so that method calls can be chained together. * * @param eventId The new value for the EventId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusEvent withEventId(String eventId) { this.eventId = eventId; diff --git a/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusInfo.java b/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusInfo.java index f56451c5b433..7e15eabf3350 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusInfo.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusInfo.java @@ -48,9 +48,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The new value for the Status property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusInfo withStatus(String status) { this.status = status; @@ -93,9 +90,6 @@ public void setDetails(java.util.Collection details) { * Returns a reference to this object so that method calls can be chained together. * * @param details The new value for the Details property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusInfo withDetails(VolumeStatusDetails... details) { if (getDetails() == null) setDetails(new java.util.ArrayList(details.length)); @@ -111,9 +105,6 @@ public VolumeStatusInfo withDetails(VolumeStatusDetails... details) { * Returns a reference to this object so that method calls can be chained together. * * @param details The new value for the Details property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusInfo withDetails(java.util.Collection details) { if (details == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusItem.java b/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusItem.java index bfec13c2fff3..99459055f007 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusItem.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusItem.java @@ -54,9 +54,6 @@ public void setVolumeId(String volumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeId The new value for the VolumeId property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusItem withVolumeId(String volumeId) { this.volumeId = volumeId; @@ -88,9 +85,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The new value for the AvailabilityZone property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusItem withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -122,9 +116,6 @@ public void setVolumeStatus(VolumeStatusInfo volumeStatus) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeStatus The new value for the VolumeStatus property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusItem withVolumeStatus(VolumeStatusInfo volumeStatus) { this.volumeStatus = volumeStatus; @@ -167,9 +158,6 @@ public void setEvents(java.util.Collection events) { * Returns a reference to this object so that method calls can be chained together. * * @param events The new value for the Events property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusItem withEvents(VolumeStatusEvent... events) { if (getEvents() == null) setEvents(new java.util.ArrayList(events.length)); @@ -185,9 +173,6 @@ public VolumeStatusItem withEvents(VolumeStatusEvent... events) { * Returns a reference to this object so that method calls can be chained together. * * @param events The new value for the Events property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusItem withEvents(java.util.Collection events) { if (events == null) { @@ -236,9 +221,6 @@ public void setActions(java.util.Collection actions) { * Returns a reference to this object so that method calls can be chained together. * * @param actions The new value for the Actions property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusItem withActions(VolumeStatusAction... actions) { if (getActions() == null) setActions(new java.util.ArrayList(actions.length)); @@ -254,9 +236,6 @@ public VolumeStatusItem withActions(VolumeStatusAction... actions) { * Returns a reference to this object so that method calls can be chained together. * * @param actions The new value for the Actions property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeStatusItem withActions(java.util.Collection actions) { if (actions == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/Vpc.java b/src/main/java/com/amazonaws/services/ec2/model/Vpc.java index b3f05ee24125..1b750db59133 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/Vpc.java +++ b/src/main/java/com/amazonaws/services/ec2/model/Vpc.java @@ -84,9 +84,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId Specifies the ID of the VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Vpc withVpcId(String vpcId) { this.vpcId = vpcId; @@ -124,9 +121,6 @@ public void setState(String state) { * * @param state Describes the current state of the VPC. The state of the subnet may be * either pending or available. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Vpc withState(String state) { this.state = state; @@ -158,9 +152,6 @@ public void setCidrBlock(String cidrBlock) { * Returns a reference to this object so that method calls can be chained together. * * @param cidrBlock Specifies the CIDR block the VPC covers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Vpc withCidrBlock(String cidrBlock) { this.cidrBlock = cidrBlock; @@ -204,9 +195,6 @@ public void setDhcpOptionsId(String dhcpOptionsId) { * @param dhcpOptionsId Specifies the ID of the set of DHCP options associated with the VPC. * Contains a value of default if the default options are * associated with the VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Vpc withDhcpOptionsId(String dhcpOptionsId) { this.dhcpOptionsId = dhcpOptionsId; @@ -249,9 +237,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Vpc withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -267,9 +252,6 @@ public Vpc withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Vpc withTags(java.util.Collection tags) { if (tags == null) { @@ -307,9 +289,6 @@ public void setInstanceTenancy(String instanceTenancy) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceTenancy The allowed tenancy of instances launched into the VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Vpc withInstanceTenancy(String instanceTenancy) { this.instanceTenancy = instanceTenancy; @@ -341,9 +320,6 @@ public void setIsDefault(Boolean isDefault) { * Returns a reference to this object so that method calls can be chained together. * * @param isDefault - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Vpc withIsDefault(Boolean isDefault) { this.isDefault = isDefault; diff --git a/src/main/java/com/amazonaws/services/ec2/model/VpcAttachment.java b/src/main/java/com/amazonaws/services/ec2/model/VpcAttachment.java index ba43cfaacf9f..5b7b3c33752f 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VpcAttachment.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VpcAttachment.java @@ -56,9 +56,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpcAttachment withVpcId(String vpcId) { this.vpcId = vpcId; @@ -90,9 +87,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpcAttachment withState(String state) { this.state = state; diff --git a/src/main/java/com/amazonaws/services/ec2/model/VpnConnection.java b/src/main/java/com/amazonaws/services/ec2/model/VpnConnection.java index 12f89b14fc03..0413951d8cbd 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VpnConnection.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VpnConnection.java @@ -101,9 +101,6 @@ public void setVpnConnectionId(String vpnConnectionId) { * * @param vpnConnectionId Specifies the ID of the VPN gateway at the VPC end of the VPN * connection. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnection withVpnConnectionId(String vpnConnectionId) { this.vpnConnectionId = vpnConnectionId; @@ -147,9 +144,6 @@ public void setState(String state) { * @param state Describes the current state of the VPN connection. Valid values are * pending, available, deleting, * and deleted. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnection withState(String state) { this.state = state; @@ -205,9 +199,6 @@ public void setCustomerGatewayConfiguration(String customerGatewayConfiguration) * in the CreateVpnConnection response; however, it's present in the * DescribeVpnConnections response only if the VPN connection is in the * pending or available state. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnection withCustomerGatewayConfiguration(String customerGatewayConfiguration) { this.customerGatewayConfiguration = customerGatewayConfiguration; @@ -239,9 +230,6 @@ public void setType(String type) { * Returns a reference to this object so that method calls can be chained together. * * @param type Specifies the type of VPN connection. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnection withType(String type) { this.type = type; @@ -273,9 +261,6 @@ public void setCustomerGatewayId(String customerGatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param customerGatewayId Specifies ID of the customer gateway at the end of the VPN connection. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnection withCustomerGatewayId(String customerGatewayId) { this.customerGatewayId = customerGatewayId; @@ -313,9 +298,6 @@ public void setVpnGatewayId(String vpnGatewayId) { * * @param vpnGatewayId Specfies the ID of the VPN gateway at the VPC end of the VPN * connection. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnection withVpnGatewayId(String vpnGatewayId) { this.vpnGatewayId = vpnGatewayId; @@ -358,9 +340,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the VpnConnection. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnection withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -376,9 +355,6 @@ public VpnConnection withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the VpnConnection. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnection withTags(java.util.Collection tags) { if (tags == null) { @@ -427,9 +403,6 @@ public void setVgwTelemetry(java.util.Collection vgwTelemetry) { * Returns a reference to this object so that method calls can be chained together. * * @param vgwTelemetry The new value for the VgwTelemetry property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnection withVgwTelemetry(VgwTelemetry... vgwTelemetry) { if (getVgwTelemetry() == null) setVgwTelemetry(new java.util.ArrayList(vgwTelemetry.length)); @@ -445,9 +418,6 @@ public VpnConnection withVgwTelemetry(VgwTelemetry... vgwTelemetry) { * Returns a reference to this object so that method calls can be chained together. * * @param vgwTelemetry The new value for the VgwTelemetry property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnection withVgwTelemetry(java.util.Collection vgwTelemetry) { if (vgwTelemetry == null) { @@ -485,9 +455,6 @@ public void setOptions(VpnConnectionOptions options) { * Returns a reference to this object so that method calls can be chained together. * * @param options The new value for the Options property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnection withOptions(VpnConnectionOptions options) { this.options = options; @@ -530,9 +497,6 @@ public void setRoutes(java.util.Collection routes) { * Returns a reference to this object so that method calls can be chained together. * * @param routes The new value for the Routes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnection withRoutes(VpnStaticRoute... routes) { if (getRoutes() == null) setRoutes(new java.util.ArrayList(routes.length)); @@ -548,9 +512,6 @@ public VpnConnection withRoutes(VpnStaticRoute... routes) { * Returns a reference to this object so that method calls can be chained together. * * @param routes The new value for the Routes property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnection withRoutes(java.util.Collection routes) { if (routes == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/VpnConnectionOptions.java b/src/main/java/com/amazonaws/services/ec2/model/VpnConnectionOptions.java index ef103375241a..b57593afc055 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VpnConnectionOptions.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VpnConnectionOptions.java @@ -46,9 +46,6 @@ public void setStaticRoutesOnly(Boolean staticRoutesOnly) { * Returns a reference to this object so that method calls can be chained together. * * @param staticRoutesOnly The new value for the StaticRoutesOnly property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnectionOptions withStaticRoutesOnly(Boolean staticRoutesOnly) { this.staticRoutesOnly = staticRoutesOnly; diff --git a/src/main/java/com/amazonaws/services/ec2/model/VpnConnectionOptionsSpecification.java b/src/main/java/com/amazonaws/services/ec2/model/VpnConnectionOptionsSpecification.java index 670fc333d5c1..e5280ec2fbbf 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VpnConnectionOptionsSpecification.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VpnConnectionOptionsSpecification.java @@ -46,9 +46,6 @@ public void setStaticRoutesOnly(Boolean staticRoutesOnly) { * Returns a reference to this object so that method calls can be chained together. * * @param staticRoutesOnly The new value for the StaticRoutesOnly property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnConnectionOptionsSpecification withStaticRoutesOnly(Boolean staticRoutesOnly) { this.staticRoutesOnly = staticRoutesOnly; diff --git a/src/main/java/com/amazonaws/services/ec2/model/VpnGateway.java b/src/main/java/com/amazonaws/services/ec2/model/VpnGateway.java index 07095aa2ca5e..2d50e79b8b1a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VpnGateway.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VpnGateway.java @@ -78,9 +78,6 @@ public void setVpnGatewayId(String vpnGatewayId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpnGatewayId Specifies the ID of the VPN gateway. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnGateway withVpnGatewayId(String vpnGatewayId) { this.vpnGatewayId = vpnGatewayId; @@ -124,9 +121,6 @@ public void setState(String state) { * @param state Describes the current state of the VPN gateway. Valid values are * pending, available, deleting, * and deleted. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnGateway withState(String state) { this.state = state; @@ -158,9 +152,6 @@ public void setType(String type) { * Returns a reference to this object so that method calls can be chained together. * * @param type Specifies the type of VPN connection the VPN gateway supports. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnGateway withType(String type) { this.type = type; @@ -192,9 +183,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone Specifies the Availability Zone where the VPN gateway was created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnGateway withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -237,9 +225,6 @@ public void setVpcAttachments(java.util.Collection vpcAttachments * Returns a reference to this object so that method calls can be chained together. * * @param vpcAttachments Contains information about the VPCs attached to the VPN gateway. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnGateway withVpcAttachments(VpcAttachment... vpcAttachments) { if (getVpcAttachments() == null) setVpcAttachments(new java.util.ArrayList(vpcAttachments.length)); @@ -255,9 +240,6 @@ public VpnGateway withVpcAttachments(VpcAttachment... vpcAttachments) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcAttachments Contains information about the VPCs attached to the VPN gateway. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnGateway withVpcAttachments(java.util.Collection vpcAttachments) { if (vpcAttachments == null) { @@ -306,9 +288,6 @@ public void setTags(java.util.Collection tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the VpnGateway. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnGateway withTags(Tag... tags) { if (getTags() == null) setTags(new java.util.ArrayList(tags.length)); @@ -324,9 +303,6 @@ public VpnGateway withTags(Tag... tags) { * Returns a reference to this object so that method calls can be chained together. * * @param tags A list of tags for the VpnGateway. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnGateway withTags(java.util.Collection tags) { if (tags == null) { diff --git a/src/main/java/com/amazonaws/services/ec2/model/VpnStaticRoute.java b/src/main/java/com/amazonaws/services/ec2/model/VpnStaticRoute.java index 21ba63d8b78c..36a0632b8d8a 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/VpnStaticRoute.java +++ b/src/main/java/com/amazonaws/services/ec2/model/VpnStaticRoute.java @@ -51,9 +51,6 @@ public void setDestinationCidrBlock(String destinationCidrBlock) { * Returns a reference to this object so that method calls can be chained together. * * @param destinationCidrBlock The new value for the DestinationCidrBlock property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnStaticRoute withDestinationCidrBlock(String destinationCidrBlock) { this.destinationCidrBlock = destinationCidrBlock; @@ -85,9 +82,6 @@ public void setSource(String source) { * Returns a reference to this object so that method calls can be chained together. * * @param source The new value for the Source property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnStaticRoute withSource(String source) { this.source = source; @@ -119,9 +113,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state The new value for the State property for this object. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpnStaticRoute withState(String state) { this.state = state; diff --git a/src/main/java/com/amazonaws/services/ec2/model/transform/DescribeReservedInstancesOfferingsRequestMarshaller.java b/src/main/java/com/amazonaws/services/ec2/model/transform/DescribeReservedInstancesOfferingsRequestMarshaller.java index 48f284ff62b8..8414f4729c98 100644 --- a/src/main/java/com/amazonaws/services/ec2/model/transform/DescribeReservedInstancesOfferingsRequestMarshaller.java +++ b/src/main/java/com/amazonaws/services/ec2/model/transform/DescribeReservedInstancesOfferingsRequestMarshaller.java @@ -97,6 +97,18 @@ public Request marshall(DescribeReser if (describeReservedInstancesOfferingsRequest.getMaxResults() != null) { request.addParameter("MaxResults", StringUtils.fromInteger(describeReservedInstancesOfferingsRequest.getMaxResults())); } + if (describeReservedInstancesOfferingsRequest.isIncludeMarketplace() != null) { + request.addParameter("IncludeMarketplace", StringUtils.fromBoolean(describeReservedInstancesOfferingsRequest.isIncludeMarketplace())); + } + if (describeReservedInstancesOfferingsRequest.getMinDuration() != null) { + request.addParameter("MinDuration", StringUtils.fromLong(describeReservedInstancesOfferingsRequest.getMinDuration())); + } + if (describeReservedInstancesOfferingsRequest.getMaxDuration() != null) { + request.addParameter("MaxDuration", StringUtils.fromLong(describeReservedInstancesOfferingsRequest.getMaxDuration())); + } + if (describeReservedInstancesOfferingsRequest.getMaxInstanceCount() != null) { + request.addParameter("MaxInstanceCount", StringUtils.fromInteger(describeReservedInstancesOfferingsRequest.getMaxInstanceCount())); + } return request; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/AppCookieStickinessPolicy.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/AppCookieStickinessPolicy.java index b010e9c04df8..ae1c98149dc1 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/AppCookieStickinessPolicy.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/AppCookieStickinessPolicy.java @@ -88,9 +88,6 @@ public void setPolicyName(String policyName) { * * @param policyName The mnemonic name for the policy being created. The name must be * unique within a set of policies for this LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AppCookieStickinessPolicy withPolicyName(String policyName) { this.policyName = policyName; @@ -122,9 +119,6 @@ public void setCookieName(String cookieName) { * Returns a reference to this object so that method calls can be chained together. * * @param cookieName The name of the application cookie used for stickiness. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AppCookieStickinessPolicy withCookieName(String cookieName) { this.cookieName = cookieName; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ApplySecurityGroupsToLoadBalancerRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ApplySecurityGroupsToLoadBalancerRequest.java index 85844d8749e5..96ab05927983 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ApplySecurityGroupsToLoadBalancerRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ApplySecurityGroupsToLoadBalancerRequest.java @@ -70,9 +70,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer. The name must be unique * within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ApplySecurityGroupsToLoadBalancerRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -127,9 +124,6 @@ public void setSecurityGroups(java.util.Collection securityGroups) { * @param securityGroups A list of security group IDs to associate with your LoadBalancer in * VPC. The security group IDs must be provided as the ID and not the * security group name (For example, sg-1234). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ApplySecurityGroupsToLoadBalancerRequest withSecurityGroups(String... securityGroups) { if (getSecurityGroups() == null) setSecurityGroups(new java.util.ArrayList(securityGroups.length)); @@ -149,9 +143,6 @@ public ApplySecurityGroupsToLoadBalancerRequest withSecurityGroups(String... sec * @param securityGroups A list of security group IDs to associate with your LoadBalancer in * VPC. The security group IDs must be provided as the ID and not the * security group name (For example, sg-1234). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ApplySecurityGroupsToLoadBalancerRequest withSecurityGroups(java.util.Collection securityGroups) { if (securityGroups == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ApplySecurityGroupsToLoadBalancerResult.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ApplySecurityGroupsToLoadBalancerResult.java index c5ff37eb0722..c1d55be87e58 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ApplySecurityGroupsToLoadBalancerResult.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ApplySecurityGroupsToLoadBalancerResult.java @@ -62,9 +62,6 @@ public void setSecurityGroups(java.util.Collection securityGroups) { * Returns a reference to this object so that method calls can be chained together. * * @param securityGroups A list of security group IDs associated with your LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ApplySecurityGroupsToLoadBalancerResult withSecurityGroups(String... securityGroups) { if (getSecurityGroups() == null) setSecurityGroups(new java.util.ArrayList(securityGroups.length)); @@ -80,9 +77,6 @@ public ApplySecurityGroupsToLoadBalancerResult withSecurityGroups(String... secu * Returns a reference to this object so that method calls can be chained together. * * @param securityGroups A list of security group IDs associated with your LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ApplySecurityGroupsToLoadBalancerResult withSecurityGroups(java.util.Collection securityGroups) { if (securityGroups == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/AttachLoadBalancerToSubnetsRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/AttachLoadBalancerToSubnetsRequest.java index 94cd6d071d88..d736622b43aa 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/AttachLoadBalancerToSubnetsRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/AttachLoadBalancerToSubnetsRequest.java @@ -70,9 +70,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer. The name must be unique * within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachLoadBalancerToSubnetsRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -115,9 +112,6 @@ public void setSubnets(java.util.Collection subnets) { * Returns a reference to this object so that method calls can be chained together. * * @param subnets A list of subnet IDs to add for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachLoadBalancerToSubnetsRequest withSubnets(String... subnets) { if (getSubnets() == null) setSubnets(new java.util.ArrayList(subnets.length)); @@ -133,9 +127,6 @@ public AttachLoadBalancerToSubnetsRequest withSubnets(String... subnets) { * Returns a reference to this object so that method calls can be chained together. * * @param subnets A list of subnet IDs to add for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachLoadBalancerToSubnetsRequest withSubnets(java.util.Collection subnets) { if (subnets == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/AttachLoadBalancerToSubnetsResult.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/AttachLoadBalancerToSubnetsResult.java index a4d2dbb275ff..58672d4e504f 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/AttachLoadBalancerToSubnetsResult.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/AttachLoadBalancerToSubnetsResult.java @@ -62,9 +62,6 @@ public void setSubnets(java.util.Collection subnets) { * Returns a reference to this object so that method calls can be chained together. * * @param subnets A list of subnet IDs added for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachLoadBalancerToSubnetsResult withSubnets(String... subnets) { if (getSubnets() == null) setSubnets(new java.util.ArrayList(subnets.length)); @@ -80,9 +77,6 @@ public AttachLoadBalancerToSubnetsResult withSubnets(String... subnets) { * Returns a reference to this object so that method calls can be chained together. * * @param subnets A list of subnet IDs added for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachLoadBalancerToSubnetsResult withSubnets(java.util.Collection subnets) { if (subnets == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/BackendServerDescription.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/BackendServerDescription.java index ea5830383729..8284f7d922e4 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/BackendServerDescription.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/BackendServerDescription.java @@ -68,9 +68,6 @@ public void setInstancePort(Integer instancePort) { * Range: 1 - 65535
* * @param instancePort Provides the port on which the back-end server is listening. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BackendServerDescription withInstancePort(Integer instancePort) { this.instancePort = instancePort; @@ -113,9 +110,6 @@ public void setPolicyNames(java.util.Collection policyNames) { * Returns a reference to this object so that method calls can be chained together. * * @param policyNames Provides a list of policy names enabled for the back-end server. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BackendServerDescription withPolicyNames(String... policyNames) { if (getPolicyNames() == null) setPolicyNames(new java.util.ArrayList(policyNames.length)); @@ -131,9 +125,6 @@ public BackendServerDescription withPolicyNames(String... policyNames) { * Returns a reference to this object so that method calls can be chained together. * * @param policyNames Provides a list of policy names enabled for the back-end server. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public BackendServerDescription withPolicyNames(java.util.Collection policyNames) { if (policyNames == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ConfigureHealthCheckRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ConfigureHealthCheckRequest.java index 9eb91cc2be15..44f74934027c 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ConfigureHealthCheckRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ConfigureHealthCheckRequest.java @@ -93,9 +93,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The mnemonic name associated with the LoadBalancer. This name must be * unique within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConfigureHealthCheckRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -133,9 +130,6 @@ public void setHealthCheck(HealthCheck healthCheck) { * * @param healthCheck A structure containing the configuration information for the new * healthcheck. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConfigureHealthCheckRequest withHealthCheck(HealthCheck healthCheck) { this.healthCheck = healthCheck; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ConfigureHealthCheckResult.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ConfigureHealthCheckResult.java index 2b1d3becbb32..c6557d0614b2 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ConfigureHealthCheckResult.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ConfigureHealthCheckResult.java @@ -51,9 +51,6 @@ public void setHealthCheck(HealthCheck healthCheck) { * Returns a reference to this object so that method calls can be chained together. * * @param healthCheck The updated healthcheck for the instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ConfigureHealthCheckResult withHealthCheck(HealthCheck healthCheck) { this.healthCheck = healthCheck; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateAppCookieStickinessPolicyRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateAppCookieStickinessPolicyRequest.java index 2e48748558bc..799e43fb2db2 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateAppCookieStickinessPolicyRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateAppCookieStickinessPolicyRequest.java @@ -113,9 +113,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer. The name must be unique * within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppCookieStickinessPolicyRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -153,9 +150,6 @@ public void setPolicyName(String policyName) { * * @param policyName The name of the policy being created. The name must be unique within * the set of policies for this LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppCookieStickinessPolicyRequest withPolicyName(String policyName) { this.policyName = policyName; @@ -187,9 +181,6 @@ public void setCookieName(String cookieName) { * Returns a reference to this object so that method calls can be chained together. * * @param cookieName Name of the application cookie used for stickiness. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppCookieStickinessPolicyRequest withCookieName(String cookieName) { this.cookieName = cookieName; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLBCookieStickinessPolicyRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLBCookieStickinessPolicyRequest.java index c3cc18ee6910..09a8ab215bca 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLBCookieStickinessPolicyRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLBCookieStickinessPolicyRequest.java @@ -111,9 +111,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer. The name must be unique * within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLBCookieStickinessPolicyRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -151,9 +148,6 @@ public void setPolicyName(String policyName) { * * @param policyName The name of the policy being created. The name must be unique within * the set of policies for this LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLBCookieStickinessPolicyRequest withPolicyName(String policyName) { this.policyName = policyName; @@ -197,9 +191,6 @@ public void setCookieExpirationPeriod(Long cookieExpirationPeriod) { * @param cookieExpirationPeriod The time period in seconds after which the cookie should be considered * stale. Not specifying this parameter indicates that the sticky session * will last for the duration of the browser session. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLBCookieStickinessPolicyRequest withCookieExpirationPeriod(Long cookieExpirationPeriod) { this.cookieExpirationPeriod = cookieExpirationPeriod; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerListenersRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerListenersRequest.java index 18499e1f038b..b2770b84b866 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerListenersRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerListenersRequest.java @@ -95,9 +95,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name of the new LoadBalancer. The name must be unique within your * AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerListenersRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -146,9 +143,6 @@ public void setListeners(java.util.Collection listeners) { * * @param listeners A list of LoadBalancerPort, InstancePort, * Protocol, and SSLCertificateId items. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerListenersRequest withListeners(Listener... listeners) { if (getListeners() == null) setListeners(new java.util.ArrayList(listeners.length)); @@ -166,9 +160,6 @@ public CreateLoadBalancerListenersRequest withListeners(Listener... listeners) { * * @param listeners A list of LoadBalancerPort, InstancePort, * Protocol, and SSLCertificateId items. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerListenersRequest withListeners(java.util.Collection listeners) { if (listeners == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerPolicyRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerPolicyRequest.java index 5dcf2ec183b3..5b93cce826cd 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerPolicyRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerPolicyRequest.java @@ -81,9 +81,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer for which the policy is * being created. This name must be unique within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerPolicyRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -121,9 +118,6 @@ public void setPolicyName(String policyName) { * * @param policyName The name of the LoadBalancer policy being created. The name must be * unique within the set of policies for this LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerPolicyRequest withPolicyName(String policyName) { this.policyName = policyName; @@ -167,9 +161,6 @@ public void setPolicyTypeName(String policyTypeName) { * @param policyTypeName The name of the base policy type being used to create this policy. To * get the list of policy types, use the * DescribeLoadBalancerPolicyTypes action. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerPolicyRequest withPolicyTypeName(String policyTypeName) { this.policyTypeName = policyTypeName; @@ -212,9 +203,6 @@ public void setPolicyAttributes(java.util.Collection policyAttr * Returns a reference to this object so that method calls can be chained together. * * @param policyAttributes A list of attributes associated with the policy being created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerPolicyRequest withPolicyAttributes(PolicyAttribute... policyAttributes) { if (getPolicyAttributes() == null) setPolicyAttributes(new java.util.ArrayList(policyAttributes.length)); @@ -230,9 +218,6 @@ public CreateLoadBalancerPolicyRequest withPolicyAttributes(PolicyAttribute... p * Returns a reference to this object so that method calls can be chained together. * * @param policyAttributes A list of attributes associated with the policy being created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerPolicyRequest withPolicyAttributes(java.util.Collection policyAttributes) { if (policyAttributes == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerRequest.java index abba0ac65baf..3627e869f51d 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerRequest.java @@ -158,9 +158,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer. The name must be unique * within your set of LoadBalancers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -209,9 +206,6 @@ public void setListeners(java.util.Collection listeners) { * * @param listeners A list of the following tuples: LoadBalancerPort, InstancePort, and * Protocol. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerRequest withListeners(Listener... listeners) { if (getListeners() == null) setListeners(new java.util.ArrayList(listeners.length)); @@ -229,9 +223,6 @@ public CreateLoadBalancerRequest withListeners(Listener... listeners) { * * @param listeners A list of the following tuples: LoadBalancerPort, InstancePort, and * Protocol. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerRequest withListeners(java.util.Collection listeners) { if (listeners == null) { @@ -304,9 +295,6 @@ public void setAvailabilityZones(java.util.Collection availabilityZones) * Region as the LoadBalancer. Traffic will be equally distributed across * all zones.

This list can be modified after the creation of the * LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerRequest withAvailabilityZones(String... availabilityZones) { if (getAvailabilityZones() == null) setAvailabilityZones(new java.util.ArrayList(availabilityZones.length)); @@ -330,9 +318,6 @@ public CreateLoadBalancerRequest withAvailabilityZones(String... availabilityZon * Region as the LoadBalancer. Traffic will be equally distributed across * all zones.

This list can be modified after the creation of the * LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerRequest withAvailabilityZones(java.util.Collection availabilityZones) { if (availabilityZones == null) { @@ -381,9 +366,6 @@ public void setSubnets(java.util.Collection subnets) { * Returns a reference to this object so that method calls can be chained together. * * @param subnets A list of subnet IDs in your VPC to attach to your LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerRequest withSubnets(String... subnets) { if (getSubnets() == null) setSubnets(new java.util.ArrayList(subnets.length)); @@ -399,9 +381,6 @@ public CreateLoadBalancerRequest withSubnets(String... subnets) { * Returns a reference to this object so that method calls can be chained together. * * @param subnets A list of subnet IDs in your VPC to attach to your LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerRequest withSubnets(java.util.Collection subnets) { if (subnets == null) { @@ -450,9 +429,6 @@ public void setSecurityGroups(java.util.Collection securityGroups) { * Returns a reference to this object so that method calls can be chained together. * * @param securityGroups The security groups assigned to your LoadBalancer within your VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerRequest withSecurityGroups(String... securityGroups) { if (getSecurityGroups() == null) setSecurityGroups(new java.util.ArrayList(securityGroups.length)); @@ -468,9 +444,6 @@ public CreateLoadBalancerRequest withSecurityGroups(String... securityGroups) { * Returns a reference to this object so that method calls can be chained together. * * @param securityGroups The security groups assigned to your LoadBalancer within your VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerRequest withSecurityGroups(java.util.Collection securityGroups) { if (securityGroups == null) { @@ -538,9 +511,6 @@ public void setScheme(String scheme) { * resolvable DNS name that resolves to public IP addresses. Specify the * value internal for this option to create an internal load * balancer with a DNS name that resolves to private IP addresses. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerRequest withScheme(String scheme) { this.scheme = scheme; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerResult.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerResult.java index 65c63598baa9..6b4214c034c5 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerResult.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/CreateLoadBalancerResult.java @@ -51,9 +51,6 @@ public void setDNSName(String dNSName) { * Returns a reference to this object so that method calls can be chained together. * * @param dNSName The DNS name for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLoadBalancerResult withDNSName(String dNSName) { this.dNSName = dNSName; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeleteLoadBalancerListenersRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeleteLoadBalancerListenersRequest.java index a950a884b5bb..28ec47e7f08a 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeleteLoadBalancerListenersRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeleteLoadBalancerListenersRequest.java @@ -86,9 +86,6 @@ public void setLoadBalancerName(String loadBalancerName) { * Returns a reference to this object so that method calls can be chained together. * * @param loadBalancerName The mnemonic name associated with the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteLoadBalancerListenersRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -137,9 +134,6 @@ public void setLoadBalancerPorts(java.util.Collection loadBalancerPorts * * @param loadBalancerPorts The client port number(s) of the LoadBalancerListener(s) to be * removed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteLoadBalancerListenersRequest withLoadBalancerPorts(Integer... loadBalancerPorts) { if (getLoadBalancerPorts() == null) setLoadBalancerPorts(new java.util.ArrayList(loadBalancerPorts.length)); @@ -157,9 +151,6 @@ public DeleteLoadBalancerListenersRequest withLoadBalancerPorts(Integer... loadB * * @param loadBalancerPorts The client port number(s) of the LoadBalancerListener(s) to be * removed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteLoadBalancerListenersRequest withLoadBalancerPorts(java.util.Collection loadBalancerPorts) { if (loadBalancerPorts == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeleteLoadBalancerPolicyRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeleteLoadBalancerPolicyRequest.java index 46225f5c3a35..5e32d939e5d2 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeleteLoadBalancerPolicyRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeleteLoadBalancerPolicyRequest.java @@ -91,9 +91,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The mnemonic name associated with the LoadBalancer. The name must be * unique within your AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteLoadBalancerPolicyRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -125,9 +122,6 @@ public void setPolicyName(String policyName) { * Returns a reference to this object so that method calls can be chained together. * * @param policyName The mnemonic name for the policy being deleted. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteLoadBalancerPolicyRequest withPolicyName(String policyName) { this.policyName = policyName; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeleteLoadBalancerRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeleteLoadBalancerRequest.java index 9ec1f0142762..e98eb3ad13d2 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeleteLoadBalancerRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeleteLoadBalancerRequest.java @@ -96,9 +96,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer. The name must be unique * within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteLoadBalancerRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeregisterInstancesFromLoadBalancerRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeregisterInstancesFromLoadBalancerRequest.java index 01adb3fd324f..b8710bfa2cca 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeregisterInstancesFromLoadBalancerRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeregisterInstancesFromLoadBalancerRequest.java @@ -96,9 +96,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer. The name must be unique * within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeregisterInstancesFromLoadBalancerRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -147,9 +144,6 @@ public void setInstances(java.util.Collection instances) { * * @param instances A list of EC2 instance IDs consisting of all instances to be * deregistered. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeregisterInstancesFromLoadBalancerRequest withInstances(Instance... instances) { if (getInstances() == null) setInstances(new java.util.ArrayList(instances.length)); @@ -167,9 +161,6 @@ public DeregisterInstancesFromLoadBalancerRequest withInstances(Instance... inst * * @param instances A list of EC2 instance IDs consisting of all instances to be * deregistered. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeregisterInstancesFromLoadBalancerRequest withInstances(java.util.Collection instances) { if (instances == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeregisterInstancesFromLoadBalancerResult.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeregisterInstancesFromLoadBalancerResult.java index 85304b38c776..b6b6ffa140e3 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeregisterInstancesFromLoadBalancerResult.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DeregisterInstancesFromLoadBalancerResult.java @@ -69,9 +69,6 @@ public void setInstances(java.util.Collection instances) { * * @param instances An updated list of remaining instances registered with the * LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeregisterInstancesFromLoadBalancerResult withInstances(Instance... instances) { if (getInstances() == null) setInstances(new java.util.ArrayList(instances.length)); @@ -89,9 +86,6 @@ public DeregisterInstancesFromLoadBalancerResult withInstances(Instance... insta * * @param instances An updated list of remaining instances registered with the * LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeregisterInstancesFromLoadBalancerResult withInstances(java.util.Collection instances) { if (instances == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeInstanceHealthRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeInstanceHealthRequest.java index ac3fdb97a3a7..41853b7f2d5a 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeInstanceHealthRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeInstanceHealthRequest.java @@ -94,9 +94,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer. The name must be unique * within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceHealthRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -139,9 +136,6 @@ public void setInstances(java.util.Collection instances) { * Returns a reference to this object so that method calls can be chained together. * * @param instances A list of instance IDs whose states are being queried. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceHealthRequest withInstances(Instance... instances) { if (getInstances() == null) setInstances(new java.util.ArrayList(instances.length)); @@ -157,9 +151,6 @@ public DescribeInstanceHealthRequest withInstances(Instance... instances) { * Returns a reference to this object so that method calls can be chained together. * * @param instances A list of instance IDs whose states are being queried. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceHealthRequest withInstances(java.util.Collection instances) { if (instances == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeInstanceHealthResult.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeInstanceHealthResult.java index ee01c6945f19..e893998877da 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeInstanceHealthResult.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeInstanceHealthResult.java @@ -62,9 +62,6 @@ public void setInstanceStates(java.util.Collection instanceStates * Returns a reference to this object so that method calls can be chained together. * * @param instanceStates A list containing health information for the specified instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceHealthResult withInstanceStates(InstanceState... instanceStates) { if (getInstanceStates() == null) setInstanceStates(new java.util.ArrayList(instanceStates.length)); @@ -80,9 +77,6 @@ public DescribeInstanceHealthResult withInstanceStates(InstanceState... instance * Returns a reference to this object so that method calls can be chained together. * * @param instanceStates A list containing health information for the specified instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstanceHealthResult withInstanceStates(java.util.Collection instanceStates) { if (instanceStates == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPoliciesRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPoliciesRequest.java index a0b44eadfafd..f9cf78d7e44f 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPoliciesRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPoliciesRequest.java @@ -85,9 +85,6 @@ public void setLoadBalancerName(String loadBalancerName) { * specified, the operation returns the attributes of either all the * sample policies pre-defined by Elastic Load Balancing or the specified * sample polices. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBalancerPoliciesRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -136,9 +133,6 @@ public void setPolicyNames(java.util.Collection policyNames) { * * @param policyNames The names of LoadBalancer policies you've created or Elastic Load * Balancing sample policy names. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBalancerPoliciesRequest withPolicyNames(String... policyNames) { if (getPolicyNames() == null) setPolicyNames(new java.util.ArrayList(policyNames.length)); @@ -156,9 +150,6 @@ public DescribeLoadBalancerPoliciesRequest withPolicyNames(String... policyNames * * @param policyNames The names of LoadBalancer policies you've created or Elastic Load * Balancing sample policy names. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBalancerPoliciesRequest withPolicyNames(java.util.Collection policyNames) { if (policyNames == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPoliciesResult.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPoliciesResult.java index 8d6ce35e3b0c..b21d0194e93e 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPoliciesResult.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPoliciesResult.java @@ -62,9 +62,6 @@ public void setPolicyDescriptions(java.util.Collection policy * Returns a reference to this object so that method calls can be chained together. * * @param policyDescriptions A list of policy description structures. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBalancerPoliciesResult withPolicyDescriptions(PolicyDescription... policyDescriptions) { if (getPolicyDescriptions() == null) setPolicyDescriptions(new java.util.ArrayList(policyDescriptions.length)); @@ -80,9 +77,6 @@ public DescribeLoadBalancerPoliciesResult withPolicyDescriptions(PolicyDescripti * Returns a reference to this object so that method calls can be chained together. * * @param policyDescriptions A list of policy description structures. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBalancerPoliciesResult withPolicyDescriptions(java.util.Collection policyDescriptions) { if (policyDescriptions == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPolicyTypesRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPolicyTypesRequest.java index 91ca5f09525c..2d37b04fe28b 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPolicyTypesRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPolicyTypesRequest.java @@ -82,9 +82,6 @@ public void setPolicyTypeNames(java.util.Collection policyTypeNames) { * @param policyTypeNames Specifies the name of the policy types. If no names are specified, * returns the description of all the policy types defined by Elastic * Load Balancing service. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBalancerPolicyTypesRequest withPolicyTypeNames(String... policyTypeNames) { if (getPolicyTypeNames() == null) setPolicyTypeNames(new java.util.ArrayList(policyTypeNames.length)); @@ -104,9 +101,6 @@ public DescribeLoadBalancerPolicyTypesRequest withPolicyTypeNames(String... poli * @param policyTypeNames Specifies the name of the policy types. If no names are specified, * returns the description of all the policy types defined by Elastic * Load Balancing service. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBalancerPolicyTypesRequest withPolicyTypeNames(java.util.Collection policyTypeNames) { if (policyTypeNames == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPolicyTypesResult.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPolicyTypesResult.java index 81feb42f2b33..ecfcd6c9145a 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPolicyTypesResult.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancerPolicyTypesResult.java @@ -76,9 +76,6 @@ public void setPolicyTypeDescriptions(java.util.Collection(policyTypeDescriptions.length)); @@ -98,9 +95,6 @@ public DescribeLoadBalancerPolicyTypesResult withPolicyTypeDescriptions(PolicyTy * @param policyTypeDescriptions List of policy type description structures of the specified policy * type. If no policy type names are specified, returns the description * of all the policy types defined by Elastic Load Balancing service. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBalancerPolicyTypesResult withPolicyTypeDescriptions(java.util.Collection policyTypeDescriptions) { if (policyTypeDescriptions == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancersRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancersRequest.java index 4be682bda7bd..9c229817b3f4 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancersRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancersRequest.java @@ -98,9 +98,6 @@ public void setLoadBalancerNames(java.util.Collection loadBalancerNames) * Returns a reference to this object so that method calls can be chained together. * * @param loadBalancerNames A list of names associated with the LoadBalancers at creation time. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBalancersRequest withLoadBalancerNames(String... loadBalancerNames) { if (getLoadBalancerNames() == null) setLoadBalancerNames(new java.util.ArrayList(loadBalancerNames.length)); @@ -116,9 +113,6 @@ public DescribeLoadBalancersRequest withLoadBalancerNames(String... loadBalancer * Returns a reference to this object so that method calls can be chained together. * * @param loadBalancerNames A list of names associated with the LoadBalancers at creation time. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBalancersRequest withLoadBalancerNames(java.util.Collection loadBalancerNames) { if (loadBalancerNames == null) { @@ -156,9 +150,6 @@ public void setMarker(String marker) { * Returns a reference to this object so that method calls can be chained together. * * @param marker An optional parameter reserved for future use. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBalancersRequest withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancersResult.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancersResult.java index 85aca55424fd..ee161e7d0eba 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancersResult.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DescribeLoadBalancersResult.java @@ -67,9 +67,6 @@ public void setLoadBalancerDescriptions(java.util.Collection(loadBalancerDescriptions.length)); @@ -85,9 +82,6 @@ public DescribeLoadBalancersResult withLoadBalancerDescriptions(LoadBalancerDesc * Returns a reference to this object so that method calls can be chained together. * * @param loadBalancerDescriptions A list of LoadBalancer description structures. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBalancersResult withLoadBalancerDescriptions(java.util.Collection loadBalancerDescriptions) { if (loadBalancerDescriptions == null) { @@ -125,9 +119,6 @@ public void setNextMarker(String nextMarker) { * Returns a reference to this object so that method calls can be chained together. * * @param nextMarker An optional parameter reserved for future use. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBalancersResult withNextMarker(String nextMarker) { this.nextMarker = nextMarker; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DetachLoadBalancerFromSubnetsRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DetachLoadBalancerFromSubnetsRequest.java index 2c9002fda246..7e0fa75ab59d 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DetachLoadBalancerFromSubnetsRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DetachLoadBalancerFromSubnetsRequest.java @@ -72,9 +72,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer to be detached. The name * must be unique within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachLoadBalancerFromSubnetsRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -123,9 +120,6 @@ public void setSubnets(java.util.Collection subnets) { * * @param subnets A list of subnet IDs to remove from the set of configured subnets for * the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachLoadBalancerFromSubnetsRequest withSubnets(String... subnets) { if (getSubnets() == null) setSubnets(new java.util.ArrayList(subnets.length)); @@ -143,9 +137,6 @@ public DetachLoadBalancerFromSubnetsRequest withSubnets(String... subnets) { * * @param subnets A list of subnet IDs to remove from the set of configured subnets for * the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachLoadBalancerFromSubnetsRequest withSubnets(java.util.Collection subnets) { if (subnets == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DetachLoadBalancerFromSubnetsResult.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DetachLoadBalancerFromSubnetsResult.java index ac7100b1b830..e016608388ff 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DetachLoadBalancerFromSubnetsResult.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DetachLoadBalancerFromSubnetsResult.java @@ -69,9 +69,6 @@ public void setSubnets(java.util.Collection subnets) { * * @param subnets A list of subnet IDs removed from the configured set of subnets for * the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachLoadBalancerFromSubnetsResult withSubnets(String... subnets) { if (getSubnets() == null) setSubnets(new java.util.ArrayList(subnets.length)); @@ -89,9 +86,6 @@ public DetachLoadBalancerFromSubnetsResult withSubnets(String... subnets) { * * @param subnets A list of subnet IDs removed from the configured set of subnets for * the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachLoadBalancerFromSubnetsResult withSubnets(java.util.Collection subnets) { if (subnets == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DisableAvailabilityZonesForLoadBalancerRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DisableAvailabilityZonesForLoadBalancerRequest.java index a5086c29b9fa..89d605e86499 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DisableAvailabilityZonesForLoadBalancerRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DisableAvailabilityZonesForLoadBalancerRequest.java @@ -109,9 +109,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer. The name must be unique * within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DisableAvailabilityZonesForLoadBalancerRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -178,9 +175,6 @@ public void setAvailabilityZones(java.util.Collection availabilityZones) * LoadBalancer at all times. The client cannot remove all the * Availability Zones from a LoadBalancer. Specified Availability Zones * must be in the same Region. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DisableAvailabilityZonesForLoadBalancerRequest withAvailabilityZones(String... availabilityZones) { if (getAvailabilityZones() == null) setAvailabilityZones(new java.util.ArrayList(availabilityZones.length)); @@ -204,9 +198,6 @@ public DisableAvailabilityZonesForLoadBalancerRequest withAvailabilityZones(Stri * LoadBalancer at all times. The client cannot remove all the * Availability Zones from a LoadBalancer. Specified Availability Zones * must be in the same Region. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DisableAvailabilityZonesForLoadBalancerRequest withAvailabilityZones(java.util.Collection availabilityZones) { if (availabilityZones == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DisableAvailabilityZonesForLoadBalancerResult.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DisableAvailabilityZonesForLoadBalancerResult.java index 2ba5cbfbc529..c475dff4cd8b 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DisableAvailabilityZonesForLoadBalancerResult.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/DisableAvailabilityZonesForLoadBalancerResult.java @@ -62,9 +62,6 @@ public void setAvailabilityZones(java.util.Collection availabilityZones) * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZones A list of updated Availability Zones for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DisableAvailabilityZonesForLoadBalancerResult withAvailabilityZones(String... availabilityZones) { if (getAvailabilityZones() == null) setAvailabilityZones(new java.util.ArrayList(availabilityZones.length)); @@ -80,9 +77,6 @@ public DisableAvailabilityZonesForLoadBalancerResult withAvailabilityZones(Strin * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZones A list of updated Availability Zones for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DisableAvailabilityZonesForLoadBalancerResult withAvailabilityZones(java.util.Collection availabilityZones) { if (availabilityZones == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/EnableAvailabilityZonesForLoadBalancerRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/EnableAvailabilityZonesForLoadBalancerRequest.java index 3b8cf6e9f7c5..f74b0929f652 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/EnableAvailabilityZonesForLoadBalancerRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/EnableAvailabilityZonesForLoadBalancerRequest.java @@ -102,9 +102,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer. The name must be unique * within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EnableAvailabilityZonesForLoadBalancerRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -153,9 +150,6 @@ public void setAvailabilityZones(java.util.Collection availabilityZones) * * @param availabilityZones A list of new Availability Zones for the LoadBalancer. Each * Availability Zone must be in the same Region as the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EnableAvailabilityZonesForLoadBalancerRequest withAvailabilityZones(String... availabilityZones) { if (getAvailabilityZones() == null) setAvailabilityZones(new java.util.ArrayList(availabilityZones.length)); @@ -173,9 +167,6 @@ public EnableAvailabilityZonesForLoadBalancerRequest withAvailabilityZones(Strin * * @param availabilityZones A list of new Availability Zones for the LoadBalancer. Each * Availability Zone must be in the same Region as the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EnableAvailabilityZonesForLoadBalancerRequest withAvailabilityZones(java.util.Collection availabilityZones) { if (availabilityZones == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/EnableAvailabilityZonesForLoadBalancerResult.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/EnableAvailabilityZonesForLoadBalancerResult.java index 9a399907e183..e5a7130868f7 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/EnableAvailabilityZonesForLoadBalancerResult.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/EnableAvailabilityZonesForLoadBalancerResult.java @@ -62,9 +62,6 @@ public void setAvailabilityZones(java.util.Collection availabilityZones) * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZones An updated list of Availability Zones for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EnableAvailabilityZonesForLoadBalancerResult withAvailabilityZones(String... availabilityZones) { if (getAvailabilityZones() == null) setAvailabilityZones(new java.util.ArrayList(availabilityZones.length)); @@ -80,9 +77,6 @@ public EnableAvailabilityZonesForLoadBalancerResult withAvailabilityZones(String * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZones An updated list of Availability Zones for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EnableAvailabilityZonesForLoadBalancerResult withAvailabilityZones(java.util.Collection availabilityZones) { if (availabilityZones == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/HealthCheck.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/HealthCheck.java index ff7a8faebe2c..fc2720c1fff4 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/HealthCheck.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/HealthCheck.java @@ -236,9 +236,6 @@ public void setTarget(String target) { * than "200 OK" within the timeout period is considered unhealthy.

* The total length of the HTTP ping target needs to be 1024 16-bit * Unicode characters or less. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public HealthCheck withTarget(String target) { this.target = target; @@ -285,9 +282,6 @@ public void setInterval(Integer interval) { * * @param interval Specifies the approximate interval, in seconds, between health checks * of an individual instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public HealthCheck withInterval(Integer interval) { this.interval = interval; @@ -340,9 +334,6 @@ public void setTimeout(Integer timeout) { * @param timeout Specifies the amount of time, in seconds, during which no response * means a failed health probe. This value must be less than the * Interval value. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public HealthCheck withTimeout(Integer timeout) { this.timeout = timeout; @@ -389,9 +380,6 @@ public void setUnhealthyThreshold(Integer unhealthyThreshold) { * * @param unhealthyThreshold Specifies the number of consecutive health probe failures required * before moving the instance to the Unhealthy state. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public HealthCheck withUnhealthyThreshold(Integer unhealthyThreshold) { this.unhealthyThreshold = unhealthyThreshold; @@ -438,9 +426,6 @@ public void setHealthyThreshold(Integer healthyThreshold) { * * @param healthyThreshold Specifies the number of consecutive health probe successes required * before moving the instance to the Healthy state. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public HealthCheck withHealthyThreshold(Integer healthyThreshold) { this.healthyThreshold = healthyThreshold; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/Instance.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/Instance.java index 8dff034f9ba8..1e05b2f68ef5 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/Instance.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/Instance.java @@ -72,9 +72,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId Provides an EC2 instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withInstanceId(String instanceId) { this.instanceId = instanceId; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/InstanceState.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/InstanceState.java index c4cfd29590b9..03def21ce963 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/InstanceState.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/InstanceState.java @@ -74,9 +74,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId Provides an EC2 instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceState withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -108,9 +105,6 @@ public void setState(String state) { * Returns a reference to this object so that method calls can be chained together. * * @param state Specifies the current status of the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceState withState(String state) { this.state = state; @@ -154,9 +148,6 @@ public void setReasonCode(String reasonCode) { * @param reasonCode Provides information about the cause of OutOfService instances. * Specifically, it indicates whether the cause is Elastic Load Balancing * or the instance behind the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceState withReasonCode(String reasonCode) { this.reasonCode = reasonCode; @@ -188,9 +179,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description Provides a description of the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public InstanceState withDescription(String description) { this.description = description; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/LBCookieStickinessPolicy.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/LBCookieStickinessPolicy.java index b155345b305e..b80213fd9c51 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/LBCookieStickinessPolicy.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/LBCookieStickinessPolicy.java @@ -92,9 +92,6 @@ public void setPolicyName(String policyName) { * * @param policyName The name for the policy being created. The name must be unique within * the set of policies for this LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LBCookieStickinessPolicy withPolicyName(String policyName) { this.policyName = policyName; @@ -138,9 +135,6 @@ public void setCookieExpirationPeriod(Long cookieExpirationPeriod) { * @param cookieExpirationPeriod The time period in seconds after which the cookie should be considered * stale. Not specifying this parameter indicates that the stickiness * session will last for the duration of the browser session. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LBCookieStickinessPolicy withCookieExpirationPeriod(Long cookieExpirationPeriod) { this.cookieExpirationPeriod = cookieExpirationPeriod; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/Listener.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/Listener.java index 96b2c8438e15..08e3b0177253 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/Listener.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/Listener.java @@ -136,9 +136,6 @@ public void setProtocol(String protocol) { * @param protocol Specifies the LoadBalancer transport protocol to use for routing - * HTTP, HTTPS, TCP or SSL. This property cannot be modified for the life * of the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Listener withProtocol(String protocol) { this.protocol = protocol; @@ -176,9 +173,6 @@ public void setLoadBalancerPort(Integer loadBalancerPort) { * * @param loadBalancerPort Specifies the external LoadBalancer port number. This property cannot * be modified for the life of the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Listener withLoadBalancerPort(Integer loadBalancerPort) { this.loadBalancerPort = loadBalancerPort; @@ -282,9 +276,6 @@ public void setInstanceProtocol(String instanceProtocol) { * there is another listener with the same InstancePort * whose InstanceProtocol is HTTP or TCP, the listener's * InstanceProtocol must be either HTTP or TCP. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Listener withInstanceProtocol(String instanceProtocol) { this.instanceProtocol = instanceProtocol; @@ -331,9 +322,6 @@ public void setInstancePort(Integer instancePort) { * * @param instancePort Specifies the TCP port on which the instance server is listening. This * property cannot be modified for the life of the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Listener withInstancePort(Integer instancePort) { this.instancePort = instancePort; @@ -383,9 +371,6 @@ public void setSSLCertificateId(String sSLCertificateId) { * certificate, call the AWS Identity and Access Management UploadServerCertificate * API. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Listener withSSLCertificateId(String sSLCertificateId) { this.sSLCertificateId = sSLCertificateId; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ListenerDescription.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ListenerDescription.java index 6582e4714fdc..5874678adccf 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ListenerDescription.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ListenerDescription.java @@ -63,9 +63,6 @@ public void setListener(Listener listener) { * Returns a reference to this object so that method calls can be chained together. * * @param listener The Listener data type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ListenerDescription withListener(Listener listener) { this.listener = listener; @@ -114,9 +111,6 @@ public void setPolicyNames(java.util.Collection policyNames) { * * @param policyNames A list of policies enabled for this listener. An empty list indicates * that no policies are enabled. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ListenerDescription withPolicyNames(String... policyNames) { if (getPolicyNames() == null) setPolicyNames(new java.util.ArrayList(policyNames.length)); @@ -134,9 +128,6 @@ public ListenerDescription withPolicyNames(String... policyNames) { * * @param policyNames A list of policies enabled for this listener. An empty list indicates * that no policies are enabled. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ListenerDescription withPolicyNames(java.util.Collection policyNames) { if (policyNames == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/LoadBalancerDescription.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/LoadBalancerDescription.java index e0257ad9d045..ec6e5e5d2de5 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/LoadBalancerDescription.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/LoadBalancerDescription.java @@ -154,9 +154,6 @@ public void setLoadBalancerName(String loadBalancerName) { * Returns a reference to this object so that method calls can be chained together. * * @param loadBalancerName Specifies the name associated with the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -188,9 +185,6 @@ public void setDNSName(String dNSName) { * Returns a reference to this object so that method calls can be chained together. * * @param dNSName Specifies the external DNS name associated with the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withDNSName(String dNSName) { this.dNSName = dNSName; @@ -252,9 +246,6 @@ public void setCanonicalHostedZoneName(String canonicalHostedZoneName) { * href="http://docs.amazonwebservices.com/ElasticLoadBalancing/latest/DeveloperGuide/using-domain-names-with-elb.html">Using * Domain Names With Elastic Load Balancing in the Elastic Load * Balancing Developer Guide. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withCanonicalHostedZoneName(String canonicalHostedZoneName) { this.canonicalHostedZoneName = canonicalHostedZoneName; @@ -316,9 +307,6 @@ public void setCanonicalHostedZoneNameID(String canonicalHostedZoneNameID) { * href="http://docs.amazonwebservices.com/ElasticLoadBalancing/latest/DeveloperGuide/using-domain-names-with-elb.html">Using * Domain Names With Elastic Load Balancing in the Elastic Load * Balancing Developer Guide. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withCanonicalHostedZoneNameID(String canonicalHostedZoneNameID) { this.canonicalHostedZoneNameID = canonicalHostedZoneNameID; @@ -373,9 +361,6 @@ public void setListenerDescriptions(java.util.Collection li * @param listenerDescriptions LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and * PolicyNames are returned in a list of tuples in the * ListenerDescriptions element. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withListenerDescriptions(ListenerDescription... listenerDescriptions) { if (getListenerDescriptions() == null) setListenerDescriptions(new java.util.ArrayList(listenerDescriptions.length)); @@ -395,9 +380,6 @@ public LoadBalancerDescription withListenerDescriptions(ListenerDescription... l * @param listenerDescriptions LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and * PolicyNames are returned in a list of tuples in the * ListenerDescriptions element. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withListenerDescriptions(java.util.Collection listenerDescriptions) { if (listenerDescriptions == null) { @@ -435,9 +417,6 @@ public void setPolicies(Policies policies) { * Returns a reference to this object so that method calls can be chained together. * * @param policies Provides a list of policies defined for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withPolicies(Policies policies) { this.policies = policies; @@ -480,9 +459,6 @@ public void setBackendServerDescriptions(java.util.Collection(backendServerDescriptions.length)); @@ -498,9 +474,6 @@ public LoadBalancerDescription withBackendServerDescriptions(BackendServerDescri * Returns a reference to this object so that method calls can be chained together. * * @param backendServerDescriptions Contains a list of back-end server descriptions. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withBackendServerDescriptions(java.util.Collection backendServerDescriptions) { if (backendServerDescriptions == null) { @@ -549,9 +522,6 @@ public void setAvailabilityZones(java.util.Collection availabilityZones) * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZones Specifies a list of Availability Zones. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withAvailabilityZones(String... availabilityZones) { if (getAvailabilityZones() == null) setAvailabilityZones(new java.util.ArrayList(availabilityZones.length)); @@ -567,9 +537,6 @@ public LoadBalancerDescription withAvailabilityZones(String... availabilityZones * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZones Specifies a list of Availability Zones. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withAvailabilityZones(java.util.Collection availabilityZones) { if (availabilityZones == null) { @@ -618,9 +585,6 @@ public void setSubnets(java.util.Collection subnets) { * Returns a reference to this object so that method calls can be chained together. * * @param subnets Provides a list of VPC subnet IDs for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withSubnets(String... subnets) { if (getSubnets() == null) setSubnets(new java.util.ArrayList(subnets.length)); @@ -636,9 +600,6 @@ public LoadBalancerDescription withSubnets(String... subnets) { * Returns a reference to this object so that method calls can be chained together. * * @param subnets Provides a list of VPC subnet IDs for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withSubnets(java.util.Collection subnets) { if (subnets == null) { @@ -676,9 +637,6 @@ public void setVPCId(String vPCId) { * Returns a reference to this object so that method calls can be chained together. * * @param vPCId Provides the ID of the VPC attached to the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withVPCId(String vPCId) { this.vPCId = vPCId; @@ -721,9 +679,6 @@ public void setInstances(java.util.Collection instances) { * Returns a reference to this object so that method calls can be chained together. * * @param instances Provides a list of EC2 instance IDs for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withInstances(Instance... instances) { if (getInstances() == null) setInstances(new java.util.ArrayList(instances.length)); @@ -739,9 +694,6 @@ public LoadBalancerDescription withInstances(Instance... instances) { * Returns a reference to this object so that method calls can be chained together. * * @param instances Provides a list of EC2 instance IDs for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withInstances(java.util.Collection instances) { if (instances == null) { @@ -785,9 +737,6 @@ public void setHealthCheck(HealthCheck healthCheck) { * * @param healthCheck Specifies information regarding the various health probes conducted on * the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withHealthCheck(HealthCheck healthCheck) { this.healthCheck = healthCheck; @@ -843,9 +792,6 @@ public void setSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup) { * allow traffic from LoadBalancers, add a security group rule to your * back end instance that specifies this source security group as the * inbound source. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup) { this.sourceSecurityGroup = sourceSecurityGroup; @@ -888,9 +834,6 @@ public void setSecurityGroups(java.util.Collection securityGroups) { * Returns a reference to this object so that method calls can be chained together. * * @param securityGroups The security groups the LoadBalancer is a member of (VPC only). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withSecurityGroups(String... securityGroups) { if (getSecurityGroups() == null) setSecurityGroups(new java.util.ArrayList(securityGroups.length)); @@ -906,9 +849,6 @@ public LoadBalancerDescription withSecurityGroups(String... securityGroups) { * Returns a reference to this object so that method calls can be chained together. * * @param securityGroups The security groups the LoadBalancer is a member of (VPC only). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withSecurityGroups(java.util.Collection securityGroups) { if (securityGroups == null) { @@ -946,9 +886,6 @@ public void setCreatedTime(java.util.Date createdTime) { * Returns a reference to this object so that method calls can be chained together. * * @param createdTime Provides the date and time the LoadBalancer was created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withCreatedTime(java.util.Date createdTime) { this.createdTime = createdTime; @@ -1010,9 +947,6 @@ public void setScheme(String scheme) { * internal, the load balancer has a publicly resolvable DNS name * that resolves to private IP addresses. This option is only available * for load balancers attached to a VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBalancerDescription withScheme(String scheme) { this.scheme = scheme; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/Policies.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/Policies.java index 77847c9b353c..01feaddcf442 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/Policies.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/Policies.java @@ -86,9 +86,6 @@ public void setAppCookieStickinessPolicies(java.util.CollectionAppCookieStickinessPolicy objects created with * CreateAppCookieStickinessPolicy. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Policies withAppCookieStickinessPolicies(AppCookieStickinessPolicy... appCookieStickinessPolicies) { if (getAppCookieStickinessPolicies() == null) setAppCookieStickinessPolicies(new java.util.ArrayList(appCookieStickinessPolicies.length)); @@ -106,9 +103,6 @@ public Policies withAppCookieStickinessPolicies(AppCookieStickinessPolicy... app * * @param appCookieStickinessPolicies A list of the AppCookieStickinessPolicy objects created with * CreateAppCookieStickinessPolicy. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Policies withAppCookieStickinessPolicies(java.util.Collection appCookieStickinessPolicies) { if (appCookieStickinessPolicies == null) { @@ -163,9 +157,6 @@ public void setLBCookieStickinessPolicies(java.util.CollectionLBCookieStickinessPolicy objects created with * CreateAppCookieStickinessPolicy. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Policies withLBCookieStickinessPolicies(LBCookieStickinessPolicy... lBCookieStickinessPolicies) { if (getLBCookieStickinessPolicies() == null) setLBCookieStickinessPolicies(new java.util.ArrayList(lBCookieStickinessPolicies.length)); @@ -183,9 +174,6 @@ public Policies withLBCookieStickinessPolicies(LBCookieStickinessPolicy... lBCoo * * @param lBCookieStickinessPolicies A list of LBCookieStickinessPolicy objects created with * CreateAppCookieStickinessPolicy. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Policies withLBCookieStickinessPolicies(java.util.Collection lBCookieStickinessPolicies) { if (lBCookieStickinessPolicies == null) { @@ -234,9 +222,6 @@ public void setOtherPolicies(java.util.Collection otherPolicies) { * Returns a reference to this object so that method calls can be chained together. * * @param otherPolicies A list of policy names other than the stickiness policies. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Policies withOtherPolicies(String... otherPolicies) { if (getOtherPolicies() == null) setOtherPolicies(new java.util.ArrayList(otherPolicies.length)); @@ -252,9 +237,6 @@ public Policies withOtherPolicies(String... otherPolicies) { * Returns a reference to this object so that method calls can be chained together. * * @param otherPolicies A list of policy names other than the stickiness policies. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Policies withOtherPolicies(java.util.Collection otherPolicies) { if (otherPolicies == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyAttribute.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyAttribute.java index 7771f200c66a..69536ae0e013 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyAttribute.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyAttribute.java @@ -81,9 +81,6 @@ public void setAttributeName(String attributeName) { * Returns a reference to this object so that method calls can be chained together. * * @param attributeName The name of the attribute associated with the policy. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyAttribute withAttributeName(String attributeName) { this.attributeName = attributeName; @@ -115,9 +112,6 @@ public void setAttributeValue(String attributeValue) { * Returns a reference to this object so that method calls can be chained together. * * @param attributeValue The value of the attribute associated with the policy. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyAttribute withAttributeValue(String attributeValue) { this.attributeValue = attributeValue; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyAttributeDescription.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyAttributeDescription.java index 3b01d111fc30..f241f43a2c9b 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyAttributeDescription.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyAttributeDescription.java @@ -56,9 +56,6 @@ public void setAttributeName(String attributeName) { * Returns a reference to this object so that method calls can be chained together. * * @param attributeName The name of the attribute associated with the policy. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyAttributeDescription withAttributeName(String attributeName) { this.attributeName = attributeName; @@ -90,9 +87,6 @@ public void setAttributeValue(String attributeValue) { * Returns a reference to this object so that method calls can be chained together. * * @param attributeValue The value of the attribute associated with the policy. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyAttributeDescription withAttributeValue(String attributeValue) { this.attributeValue = attributeValue; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyAttributeTypeDescription.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyAttributeTypeDescription.java index d40adb338c55..28f5ab765895 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyAttributeTypeDescription.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyAttributeTypeDescription.java @@ -75,9 +75,6 @@ public void setAttributeName(String attributeName) { * Returns a reference to this object so that method calls can be chained together. * * @param attributeName The name of the attribute associated with the policy type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyAttributeTypeDescription withAttributeName(String attributeName) { this.attributeName = attributeName; @@ -109,9 +106,6 @@ public void setAttributeType(String attributeType) { * Returns a reference to this object so that method calls can be chained together. * * @param attributeType The type of attribute. For example, Boolean, Integer, etc. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyAttributeTypeDescription withAttributeType(String attributeType) { this.attributeType = attributeType; @@ -143,9 +137,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description A human-readable description of the attribute. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyAttributeTypeDescription withDescription(String description) { this.description = description; @@ -177,9 +168,6 @@ public void setDefaultValue(String defaultValue) { * Returns a reference to this object so that method calls can be chained together. * * @param defaultValue The default value of the attribute, if applicable. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyAttributeTypeDescription withDefaultValue(String defaultValue) { this.defaultValue = defaultValue; @@ -235,9 +223,6 @@ public void setCardinality(String cardinality) { * be supplied

  • ZERO_OR_MORE(0..*) : Optional. Multiple values * are allowed
  • ONE_OR_MORE(1..*0) : Required. Multiple values * are allowed
  • - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyAttributeTypeDescription withCardinality(String cardinality) { this.cardinality = cardinality; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyDescription.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyDescription.java index 47d8ff526261..58254ccaaabb 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyDescription.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyDescription.java @@ -61,9 +61,6 @@ public void setPolicyName(String policyName) { * Returns a reference to this object so that method calls can be chained together. * * @param policyName The name mof the policy associated with the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyDescription withPolicyName(String policyName) { this.policyName = policyName; @@ -95,9 +92,6 @@ public void setPolicyTypeName(String policyTypeName) { * Returns a reference to this object so that method calls can be chained together. * * @param policyTypeName The name of the policy type associated with the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyDescription withPolicyTypeName(String policyTypeName) { this.policyTypeName = policyTypeName; @@ -140,9 +134,6 @@ public void setPolicyAttributeDescriptions(java.util.Collection(policyAttributeDescriptions.length)); @@ -158,9 +149,6 @@ public PolicyDescription withPolicyAttributeDescriptions(PolicyAttributeDescript * Returns a reference to this object so that method calls can be chained together. * * @param policyAttributeDescriptions A list of policy attribute description structures. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyDescription withPolicyAttributeDescriptions(java.util.Collection policyAttributeDescriptions) { if (policyAttributeDescriptions == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyTypeDescription.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyTypeDescription.java index 9cb1f46d8172..b41182fc3873 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyTypeDescription.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/PolicyTypeDescription.java @@ -62,9 +62,6 @@ public void setPolicyTypeName(String policyTypeName) { * Returns a reference to this object so that method calls can be chained together. * * @param policyTypeName The name of the policy type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyTypeDescription withPolicyTypeName(String policyTypeName) { this.policyTypeName = policyTypeName; @@ -96,9 +93,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description A human-readable description of the policy type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyTypeDescription withDescription(String description) { this.description = description; @@ -147,9 +141,6 @@ public void setPolicyAttributeTypeDescriptions(java.util.Collection(policyAttributeTypeDescriptions.length)); @@ -167,9 +158,6 @@ public PolicyTypeDescription withPolicyAttributeTypeDescriptions(PolicyAttribute * * @param policyAttributeTypeDescriptions The description of the policy attributes associated with the * LoadBalancer policies defined by the Elastic Load Balancing service. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PolicyTypeDescription withPolicyAttributeTypeDescriptions(java.util.Collection policyAttributeTypeDescriptions) { if (policyAttributeTypeDescriptions == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/RegisterInstancesWithLoadBalancerRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/RegisterInstancesWithLoadBalancerRequest.java index 7f1a6fe37157..6e713c051dcc 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/RegisterInstancesWithLoadBalancerRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/RegisterInstancesWithLoadBalancerRequest.java @@ -121,9 +121,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer. The name must be unique * within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterInstancesWithLoadBalancerRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -214,9 +211,6 @@ public void setInstances(java.util.Collection instances) { * instance, and then register the load balancer with your instance after * you've restarted. To de-register your instances from load balancer, * use DeregisterInstancesFromLoadBalancer action. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterInstancesWithLoadBalancerRequest withInstances(Instance... instances) { if (getInstances() == null) setInstances(new java.util.ArrayList(instances.length)); @@ -248,9 +242,6 @@ public RegisterInstancesWithLoadBalancerRequest withInstances(Instance... instan * instance, and then register the load balancer with your instance after * you've restarted. To de-register your instances from load balancer, * use DeregisterInstancesFromLoadBalancer action. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterInstancesWithLoadBalancerRequest withInstances(java.util.Collection instances) { if (instances == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/RegisterInstancesWithLoadBalancerResult.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/RegisterInstancesWithLoadBalancerResult.java index 8e15c8c2833a..45253810b182 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/RegisterInstancesWithLoadBalancerResult.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/RegisterInstancesWithLoadBalancerResult.java @@ -62,9 +62,6 @@ public void setInstances(java.util.Collection instances) { * Returns a reference to this object so that method calls can be chained together. * * @param instances An updated list of instances for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterInstancesWithLoadBalancerResult withInstances(Instance... instances) { if (getInstances() == null) setInstances(new java.util.ArrayList(instances.length)); @@ -80,9 +77,6 @@ public RegisterInstancesWithLoadBalancerResult withInstances(Instance... instanc * Returns a reference to this object so that method calls can be chained together. * * @param instances An updated list of instances for the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RegisterInstancesWithLoadBalancerResult withInstances(java.util.Collection instances) { if (instances == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SetLoadBalancerListenerSSLCertificateRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SetLoadBalancerListenerSSLCertificateRequest.java index c935a1fa7d50..54426a908bbc 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SetLoadBalancerListenerSSLCertificateRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SetLoadBalancerListenerSSLCertificateRequest.java @@ -100,9 +100,6 @@ public void setLoadBalancerName(String loadBalancerName) { * Returns a reference to this object so that method calls can be chained together. * * @param loadBalancerName The name of the the LoadBalancer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBalancerListenerSSLCertificateRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -134,9 +131,6 @@ public void setLoadBalancerPort(Integer loadBalancerPort) { * Returns a reference to this object so that method calls can be chained together. * * @param loadBalancerPort The port that uses the specified SSL certificate. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBalancerListenerSSLCertificateRequest withLoadBalancerPort(Integer loadBalancerPort) { this.loadBalancerPort = loadBalancerPort; @@ -192,9 +186,6 @@ public void setSSLCertificateId(String sSLCertificateId) { * href="http://docs.amazonwebservices.com/IAM/latest/UserGuide/ManagingServerCerts.html"> * Managing Server Certificates in the AWS Identity and Access * Management documentation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBalancerListenerSSLCertificateRequest withSSLCertificateId(String sSLCertificateId) { this.sSLCertificateId = sSLCertificateId; diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SetLoadBalancerPoliciesForBackendServerRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SetLoadBalancerPoliciesForBackendServerRequest.java index a6a63649fc0b..61b93be8efcd 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SetLoadBalancerPoliciesForBackendServerRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SetLoadBalancerPoliciesForBackendServerRequest.java @@ -75,9 +75,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The mnemonic name associated with the LoadBalancer. This name must be * unique within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBalancerPoliciesForBackendServerRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -109,9 +106,6 @@ public void setInstancePort(Integer instancePort) { * Returns a reference to this object so that method calls can be chained together. * * @param instancePort The port number associated with the back-end server. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBalancerPoliciesForBackendServerRequest withInstancePort(Integer instancePort) { this.instancePort = instancePort; @@ -160,9 +154,6 @@ public void setPolicyNames(java.util.Collection policyNames) { * * @param policyNames List of policy names to be set. If the list is empty, then all current * polices are removed from the back-end server. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBalancerPoliciesForBackendServerRequest withPolicyNames(String... policyNames) { if (getPolicyNames() == null) setPolicyNames(new java.util.ArrayList(policyNames.length)); @@ -180,9 +171,6 @@ public SetLoadBalancerPoliciesForBackendServerRequest withPolicyNames(String... * * @param policyNames List of policy names to be set. If the list is empty, then all current * polices are removed from the back-end server. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBalancerPoliciesForBackendServerRequest withPolicyNames(java.util.Collection policyNames) { if (policyNames == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SetLoadBalancerPoliciesOfListenerRequest.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SetLoadBalancerPoliciesOfListenerRequest.java index 0c45b56a93ec..9c76ee3ab86e 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SetLoadBalancerPoliciesOfListenerRequest.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SetLoadBalancerPoliciesOfListenerRequest.java @@ -104,9 +104,6 @@ public void setLoadBalancerName(String loadBalancerName) { * * @param loadBalancerName The name associated with the LoadBalancer. The name must be unique * within the client AWS account. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBalancerPoliciesOfListenerRequest withLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; @@ -144,9 +141,6 @@ public void setLoadBalancerPort(Integer loadBalancerPort) { * * @param loadBalancerPort The external port of the LoadBalancer with which this policy applies * to. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBalancerPoliciesOfListenerRequest withLoadBalancerPort(Integer loadBalancerPort) { this.loadBalancerPort = loadBalancerPort; @@ -201,9 +195,6 @@ public void setPolicyNames(java.util.Collection policyNames) { * @param policyNames List of policies to be associated with the listener. Currently this * list can have at most one policy. If the list is empty, the current * policy is removed from the listener. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBalancerPoliciesOfListenerRequest withPolicyNames(String... policyNames) { if (getPolicyNames() == null) setPolicyNames(new java.util.ArrayList(policyNames.length)); @@ -223,9 +214,6 @@ public SetLoadBalancerPoliciesOfListenerRequest withPolicyNames(String... policy * @param policyNames List of policies to be associated with the listener. Currently this * list can have at most one policy. If the list is empty, the current * policy is removed from the listener. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBalancerPoliciesOfListenerRequest withPolicyNames(java.util.Collection policyNames) { if (policyNames == null) { diff --git a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SourceSecurityGroup.java b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SourceSecurityGroup.java index 19aa67a45327..cb8da8dc4833 100644 --- a/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SourceSecurityGroup.java +++ b/src/main/java/com/amazonaws/services/elasticloadbalancing/model/SourceSecurityGroup.java @@ -83,9 +83,6 @@ public void setOwnerAlias(String ownerAlias) { * --source-group-user parameter of the * ec2-authorize command in the Amazon EC2 command line * tool. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SourceSecurityGroup withOwnerAlias(String ownerAlias) { this.ownerAlias = ownerAlias; @@ -135,9 +132,6 @@ public void setGroupName(String groupName) { * --source-group parameter of the * ec2-authorize command in the Amazon EC2 command line * tool. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SourceSecurityGroup withGroupName(String groupName) { this.groupName = groupName; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/App.java b/src/main/java/com/amazonaws/services/opsworks/model/App.java index b40fd04a1519..fc313a4a8f79 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/App.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/App.java @@ -110,9 +110,6 @@ public void setAppId(String appId) { * Returns a reference to this object so that method calls can be chained together. * * @param appId The app ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public App withAppId(String appId) { this.appId = appId; @@ -144,9 +141,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The app stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public App withStackId(String stackId) { this.stackId = stackId; @@ -178,9 +172,6 @@ public void setShortname(String shortname) { * Returns a reference to this object so that method calls can be chained together. * * @param shortname The app's short name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public App withShortname(String shortname) { this.shortname = shortname; @@ -212,9 +203,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The app name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public App withName(String name) { this.name = name; @@ -246,9 +234,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description A description of the app. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public App withDescription(String description) { this.description = description; @@ -294,9 +279,6 @@ public void setType(String type) { * * @param type The app type. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see AppType */ public App withType(String type) { @@ -329,9 +311,6 @@ public void setType(AppType type) { * * @param type The app type. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see AppType */ public App withType(AppType type) { @@ -363,9 +342,6 @@ public void setAppSource(Source appSource) { * Returns a reference to this object so that method calls can be chained together. * * @param appSource A Source object that describes the app repository. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public App withAppSource(Source appSource) { this.appSource = appSource; @@ -414,9 +390,6 @@ public void setDomains(java.util.Collection domains) { * * @param domains The app vhost settings, with multiple domains separated by commas. For * example: 'www.example.com, example.com' - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public App withDomains(String... domains) { if (getDomains() == null) setDomains(new java.util.ArrayList(domains.length)); @@ -434,9 +407,6 @@ public App withDomains(String... domains) { * * @param domains The app vhost settings, with multiple domains separated by commas. For * example: 'www.example.com, example.com' - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public App withDomains(java.util.Collection domains) { if (domains == null) { @@ -474,9 +444,6 @@ public void setEnableSsl(Boolean enableSsl) { * Returns a reference to this object so that method calls can be chained together. * * @param enableSsl Whether to enable SSL for the app. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public App withEnableSsl(Boolean enableSsl) { this.enableSsl = enableSsl; @@ -517,9 +484,6 @@ public void setSslConfiguration(SslConfiguration sslConfiguration) { * Returns a reference to this object so that method calls can be chained together. * * @param sslConfiguration An SslConfiguration object with the SSL configuration. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public App withSslConfiguration(SslConfiguration sslConfiguration) { this.sslConfiguration = sslConfiguration; @@ -538,7 +502,6 @@ public java.util.Map getAttributes() { attributes = new java.util.HashMap(); } return attributes; - } /** @@ -556,15 +519,43 @@ public void setAttributes(java.util.Map attributes) { * Returns a reference to this object so that method calls can be chained together. * * @param attributes The contents of the stack attributes bag. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public App withAttributes(java.util.Map attributes) { setAttributes(attributes); return this; } + + /** + * The contents of the stack attributes bag. + *

    + * The method adds a new key-value pair into Attributes parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Attributes. + * @param value The corresponding value of the entry to be added into Attributes. + */ + public App addAttributesEntry(String key, String value) { + if (null == this.attributes) { + this.attributes = new java.util.HashMap(); + } + if (this.attributes.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.attributes.put(key, value); + return this; + } + + /** + * Removes all the entries added into Attributes. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public App clearAttributesEntries() { + this.attributes = null; + return this; + } + /** * When the app was created. * @@ -589,9 +580,6 @@ public void setCreatedAt(String createdAt) { * Returns a reference to this object so that method calls can be chained together. * * @param createdAt When the app was created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public App withCreatedAt(String createdAt) { this.createdAt = createdAt; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/AttachElasticLoadBalancerRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/AttachElasticLoadBalancerRequest.java index 382404ee3753..1edf040e3374 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/AttachElasticLoadBalancerRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/AttachElasticLoadBalancerRequest.java @@ -65,9 +65,6 @@ public void setElasticLoadBalancerName(String elasticLoadBalancerName) { * Returns a reference to this object so that method calls can be chained together. * * @param elasticLoadBalancerName The Elastic Load Balancing instance's name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachElasticLoadBalancerRequest withElasticLoadBalancerName(String elasticLoadBalancerName) { this.elasticLoadBalancerName = elasticLoadBalancerName; @@ -105,9 +102,6 @@ public void setLayerId(String layerId) { * * @param layerId The ID of the layer that the Elastic Load Balancing instance is to be * attached to. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AttachElasticLoadBalancerRequest withLayerId(String layerId) { this.layerId = layerId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/AutoScalingThresholds.java b/src/main/java/com/amazonaws/services/opsworks/model/AutoScalingThresholds.java index ea4c0ec156d5..cdac68739d40 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/AutoScalingThresholds.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/AutoScalingThresholds.java @@ -102,9 +102,6 @@ public void setInstanceCount(Integer instanceCount) { * * @param instanceCount The number of instances to add or remove when the load exceeds a * threshold. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AutoScalingThresholds withInstanceCount(Integer instanceCount) { this.instanceCount = instanceCount; @@ -151,9 +148,6 @@ public void setThresholdsWaitTime(Integer thresholdsWaitTime) { * * @param thresholdsWaitTime The amount of time, in minutes, that the load must exceed a threshold * before more instances are added or removed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AutoScalingThresholds withThresholdsWaitTime(Integer thresholdsWaitTime) { this.thresholdsWaitTime = thresholdsWaitTime; @@ -242,9 +236,6 @@ public void setIgnoreMetricsTime(Integer ignoreMetricsTime) { * several minutes. IgnoreMetricsTime allows you to direct * OpsWorks to not raise any scaling events long enough to get the new * instances online. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AutoScalingThresholds withIgnoreMetricsTime(Integer ignoreMetricsTime) { this.ignoreMetricsTime = ignoreMetricsTime; @@ -276,9 +267,6 @@ public void setCpuThreshold(Double cpuThreshold) { * Returns a reference to this object so that method calls can be chained together. * * @param cpuThreshold The CPU utilization threshold, as a percent of the available CPU. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AutoScalingThresholds withCpuThreshold(Double cpuThreshold) { this.cpuThreshold = cpuThreshold; @@ -316,9 +304,6 @@ public void setMemoryThreshold(Double memoryThreshold) { * * @param memoryThreshold The memory utilization threshold, as a percent of the available * memory. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AutoScalingThresholds withMemoryThreshold(Double memoryThreshold) { this.memoryThreshold = memoryThreshold; @@ -362,9 +347,6 @@ public void setLoadThreshold(Double loadThreshold) { * @param loadThreshold The load threshold. For more information about how load is computed, * see Load * (computing). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AutoScalingThresholds withLoadThreshold(Double loadThreshold) { this.loadThreshold = loadThreshold; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CloneStackRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/CloneStackRequest.java index 1c98cc1a75c4..b22d4dff8a21 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CloneStackRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CloneStackRequest.java @@ -181,9 +181,6 @@ public void setSourceStackId(String sourceStackId) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceStackId The source stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withSourceStackId(String sourceStackId) { this.sourceStackId = sourceStackId; @@ -215,9 +212,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The cloned stack name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withName(String name) { this.name = name; @@ -267,9 +261,6 @@ public void setRegion(String region) { * about AWS regions, see Regions * and Endpoints. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withRegion(String region) { this.region = region; @@ -290,7 +281,6 @@ public java.util.Map getAttributes() { attributes = new java.util.HashMap(); } return attributes; - } /** @@ -312,15 +302,44 @@ public void setAttributes(java.util.Map attributes) { * * @param attributes A list of stack attributes and values as key/value pairs to be added * to the cloned stack. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withAttributes(java.util.Map attributes) { setAttributes(attributes); return this; } + + /** + * A list of stack attributes and values as key/value pairs to be added + * to the cloned stack. + *

    + * The method adds a new key-value pair into Attributes parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Attributes. + * @param value The corresponding value of the entry to be added into Attributes. + */ + public CloneStackRequest addAttributesEntry(String key, String value) { + if (null == this.attributes) { + this.attributes = new java.util.HashMap(); + } + if (this.attributes.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.attributes.put(key, value); + return this; + } + + /** + * Removes all the entries added into Attributes. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public CloneStackRequest clearAttributesEntries() { + this.attributes = null; + return this; + } + /** * The stack AWS Identity and Access Management (IAM) role, which allows * OpsWorks to work with AWS resources on your behalf. You must set this @@ -411,9 +430,6 @@ public void setServiceRoleArn(String serviceRoleArn) { * role ARN or the action will fail; there is no default value. You can * specify the source stack's service role ARN, if you prefer, but you * must do so explicitly. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withServiceRoleArn(String serviceRoleArn) { this.serviceRoleArn = serviceRoleArn; @@ -463,9 +479,6 @@ public void setDefaultInstanceProfileArn(String defaultInstanceProfileArn) { * stack's EC2 instances. For more information about IAM ARNs, see Using * Identifiers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withDefaultInstanceProfileArn(String defaultInstanceProfileArn) { this.defaultInstanceProfileArn = defaultInstanceProfileArn; @@ -503,9 +516,6 @@ public void setDefaultOs(String defaultOs) { * * @param defaultOs The cloned stack default operating system, which must be either * "Amazon Linux" or "Ubuntu 12.04 LTS". - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withDefaultOs(String defaultOs) { this.defaultOs = defaultOs; @@ -597,9 +607,6 @@ public void setHostnameTheme(String hostnameTheme) { *

  • Wild_Cats
  • To obtain a generated hostname, call * GetHostNameSuggestion, which returns a hostname based on * the current theme. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withHostnameTheme(String hostnameTheme) { this.hostnameTheme = hostnameTheme; @@ -643,9 +650,6 @@ public void setDefaultAvailabilityZone(String defaultAvailabilityZone) { * @param defaultAvailabilityZone The cloned stack's Availability Zone. For more information, see Regions * and Endpoints. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withDefaultAvailabilityZone(String defaultAvailabilityZone) { this.defaultAvailabilityZone = defaultAvailabilityZone; @@ -713,9 +717,6 @@ public void setCustomJson(String customJson) { * \"value2\",...}"

    For more information on custom JSON, see . * Use Custom JSON to Modify the Stack Configuration JSON - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withCustomJson(String customJson) { this.customJson = customJson; @@ -747,9 +748,6 @@ public void setUseCustomCookbooks(Boolean useCustomCookbooks) { * Returns a reference to this object so that method calls can be chained together. * * @param useCustomCookbooks Whether to use custom cookbooks. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withUseCustomCookbooks(Boolean useCustomCookbooks) { this.useCustomCookbooks = useCustomCookbooks; @@ -820,9 +818,6 @@ public void setCustomCookbooksSource(Source customCookbooksSource) { * Apps or Custom * Recipes and Cookbooks. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withCustomCookbooksSource(Source customCookbooksSource) { this.customCookbooksSource = customCookbooksSource; @@ -860,9 +855,6 @@ public void setDefaultSshKeyName(String defaultSshKeyName) { * * @param defaultSshKeyName A default SSH key for the stack instances. You can override this value * when you create or update an instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withDefaultSshKeyName(String defaultSshKeyName) { this.defaultSshKeyName = defaultSshKeyName; @@ -894,9 +886,6 @@ public void setClonePermissions(Boolean clonePermissions) { * Returns a reference to this object so that method calls can be chained together. * * @param clonePermissions Whether to clone the source stack's permissions. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withClonePermissions(Boolean clonePermissions) { this.clonePermissions = clonePermissions; @@ -948,9 +937,6 @@ public void setCloneAppIds(java.util.Collection cloneAppIds) { * Returns a reference to this object so that method calls can be chained together. * * @param cloneAppIds A list of source stack app IDs to be included in the cloned stack. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withCloneAppIds(String... cloneAppIds) { if (getCloneAppIds() == null) setCloneAppIds(new java.util.ArrayList(cloneAppIds.length)); @@ -966,9 +952,6 @@ public CloneStackRequest withCloneAppIds(String... cloneAppIds) { * Returns a reference to this object so that method calls can be chained together. * * @param cloneAppIds A list of source stack app IDs to be included in the cloned stack. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackRequest withCloneAppIds(java.util.Collection cloneAppIds) { if (cloneAppIds == null) { @@ -1044,9 +1027,6 @@ public void setDefaultRootDeviceType(String defaultRootDeviceType) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device">Storage * for the Root Device. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RootDeviceType */ public CloneStackRequest withDefaultRootDeviceType(String defaultRootDeviceType) { @@ -1095,9 +1075,6 @@ public void setDefaultRootDeviceType(RootDeviceType defaultRootDeviceType) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device">Storage * for the Root Device. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RootDeviceType */ public CloneStackRequest withDefaultRootDeviceType(RootDeviceType defaultRootDeviceType) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CloneStackResult.java b/src/main/java/com/amazonaws/services/opsworks/model/CloneStackResult.java index 40a014312531..4598c9637e55 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CloneStackResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CloneStackResult.java @@ -51,9 +51,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The cloned stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CloneStackResult withStackId(String stackId) { this.stackId = stackId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/Command.java b/src/main/java/com/amazonaws/services/opsworks/model/Command.java index 7126ea4e7327..1df5eceb8099 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/Command.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/Command.java @@ -100,9 +100,6 @@ public void setCommandId(String commandId) { * Returns a reference to this object so that method calls can be chained together. * * @param commandId The command ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Command withCommandId(String commandId) { this.commandId = commandId; @@ -134,9 +131,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The ID of the instance where the command was executed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Command withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -168,9 +162,6 @@ public void setDeploymentId(String deploymentId) { * Returns a reference to this object so that method calls can be chained together. * * @param deploymentId The command deployment ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Command withDeploymentId(String deploymentId) { this.deploymentId = deploymentId; @@ -202,9 +193,6 @@ public void setCreatedAt(String createdAt) { * Returns a reference to this object so that method calls can be chained together. * * @param createdAt Date and time when the command was run. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Command withCreatedAt(String createdAt) { this.createdAt = createdAt; @@ -236,9 +224,6 @@ public void setAcknowledgedAt(String acknowledgedAt) { * Returns a reference to this object so that method calls can be chained together. * * @param acknowledgedAt Date and time when the command was acknowledged. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Command withAcknowledgedAt(String acknowledgedAt) { this.acknowledgedAt = acknowledgedAt; @@ -270,9 +255,6 @@ public void setCompletedAt(String completedAt) { * Returns a reference to this object so that method calls can be chained together. * * @param completedAt Date when the command completed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Command withCompletedAt(String completedAt) { this.completedAt = completedAt; @@ -310,9 +292,6 @@ public void setStatus(String status) { * * @param status The command status:

    • failed
    • successful
    • *
    • skipped
    • pending
    - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Command withStatus(String status) { this.status = status; @@ -344,9 +323,6 @@ public void setExitCode(Integer exitCode) { * Returns a reference to this object so that method calls can be chained together. * * @param exitCode The command exit code. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Command withExitCode(Integer exitCode) { this.exitCode = exitCode; @@ -378,9 +354,6 @@ public void setLogUrl(String logUrl) { * Returns a reference to this object so that method calls can be chained together. * * @param logUrl The URL of the command log. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Command withLogUrl(String logUrl) { this.logUrl = logUrl; @@ -430,9 +403,6 @@ public void setType(String type) { *
  • start
  • stop
  • restart
  • undeploy
  • *
  • update_dependencies
  • install_dependencies
  • *
  • update_custom_cookbooks
  • execute_recipes
  • - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Command withType(String type) { this.type = type; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CreateAppRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/CreateAppRequest.java index 605e5988c749..25a0c3009304 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CreateAppRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CreateAppRequest.java @@ -109,9 +109,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppRequest withStackId(String stackId) { this.stackId = stackId; @@ -143,9 +140,6 @@ public void setShortname(String shortname) { * Returns a reference to this object so that method calls can be chained together. * * @param shortname The app's short name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppRequest withShortname(String shortname) { this.shortname = shortname; @@ -177,9 +171,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The app name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppRequest withName(String name) { this.name = name; @@ -211,9 +202,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description A description of the app. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppRequest withDescription(String description) { this.description = description; @@ -277,9 +265,6 @@ public void setType(String type) { * OpsWorks deploys an application to those instances that are members of * the corresponding layer. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see AppType */ public CreateAppRequest withType(String type) { @@ -324,9 +309,6 @@ public void setType(AppType type) { * OpsWorks deploys an application to those instances that are members of * the corresponding layer. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see AppType */ public CreateAppRequest withType(AppType type) { @@ -358,9 +340,6 @@ public void setAppSource(Source appSource) { * Returns a reference to this object so that method calls can be chained together. * * @param appSource A Source object that specifies the app repository. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppRequest withAppSource(Source appSource) { this.appSource = appSource; @@ -409,9 +388,6 @@ public void setDomains(java.util.Collection domains) { * * @param domains The app virtual host settings, with multiple domains separated by * commas. For example: 'www.example.com, example.com' - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppRequest withDomains(String... domains) { if (getDomains() == null) setDomains(new java.util.ArrayList(domains.length)); @@ -429,9 +405,6 @@ public CreateAppRequest withDomains(String... domains) { * * @param domains The app virtual host settings, with multiple domains separated by * commas. For example: 'www.example.com, example.com' - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppRequest withDomains(java.util.Collection domains) { if (domains == null) { @@ -469,9 +442,6 @@ public void setEnableSsl(Boolean enableSsl) { * Returns a reference to this object so that method calls can be chained together. * * @param enableSsl Whether to enable SSL for the app. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppRequest withEnableSsl(Boolean enableSsl) { this.enableSsl = enableSsl; @@ -512,9 +482,6 @@ public void setSslConfiguration(SslConfiguration sslConfiguration) { * Returns a reference to this object so that method calls can be chained together. * * @param sslConfiguration An SslConfiguration object with the SSL configuration. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppRequest withSslConfiguration(SslConfiguration sslConfiguration) { this.sslConfiguration = sslConfiguration; @@ -535,7 +502,6 @@ public java.util.Map getAttributes() { attributes = new java.util.HashMap(); } return attributes; - } /** @@ -557,15 +523,44 @@ public void setAttributes(java.util.Map attributes) { * * @param attributes One or more user-defined key/value pairs to be added to the stack * attributes bag. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppRequest withAttributes(java.util.Map attributes) { setAttributes(attributes); return this; } + + /** + * One or more user-defined key/value pairs to be added to the stack + * attributes bag. + *

    + * The method adds a new key-value pair into Attributes parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Attributes. + * @param value The corresponding value of the entry to be added into Attributes. + */ + public CreateAppRequest addAttributesEntry(String key, String value) { + if (null == this.attributes) { + this.attributes = new java.util.HashMap(); + } + if (this.attributes.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.attributes.put(key, value); + return this; + } + + /** + * Removes all the entries added into Attributes. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public CreateAppRequest clearAttributesEntries() { + this.attributes = null; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CreateAppResult.java b/src/main/java/com/amazonaws/services/opsworks/model/CreateAppResult.java index 54d8cd7fb779..326b4ce5ff37 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CreateAppResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CreateAppResult.java @@ -51,9 +51,6 @@ public void setAppId(String appId) { * Returns a reference to this object so that method calls can be chained together. * * @param appId The app ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateAppResult withAppId(String appId) { this.appId = appId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CreateDeploymentRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/CreateDeploymentRequest.java index 728bcf8767da..c6b049d9f366 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CreateDeploymentRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CreateDeploymentRequest.java @@ -99,9 +99,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateDeploymentRequest withStackId(String stackId) { this.stackId = stackId; @@ -139,9 +136,6 @@ public void setAppId(String appId) { * * @param appId The app ID. This parameter is required for app deployments, but not * for other deployment commands. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateDeploymentRequest withAppId(String appId) { this.appId = appId; @@ -184,9 +178,6 @@ public void setInstanceIds(java.util.Collection instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The instance IDs for the deployment targets. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateDeploymentRequest withInstanceIds(String... instanceIds) { if (getInstanceIds() == null) setInstanceIds(new java.util.ArrayList(instanceIds.length)); @@ -202,9 +193,6 @@ public CreateDeploymentRequest withInstanceIds(String... instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The instance IDs for the deployment targets. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateDeploymentRequest withInstanceIds(java.util.Collection instanceIds) { if (instanceIds == null) { @@ -248,9 +236,6 @@ public void setCommand(DeploymentCommand command) { * * @param command A DeploymentCommand object that specifies the deployment * command and any associated arguments. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateDeploymentRequest withCommand(DeploymentCommand command) { this.command = command; @@ -282,9 +267,6 @@ public void setComment(String comment) { * Returns a reference to this object so that method calls can be chained together. * * @param comment A user-defined comment. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateDeploymentRequest withComment(String comment) { this.comment = comment; @@ -352,9 +334,6 @@ public void setCustomJson(String customJson) { * \"value2\",...}"

    For more information on custom JSON, see * Use Custom JSON to Modify the Stack Configuration JSON. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateDeploymentRequest withCustomJson(String customJson) { this.customJson = customJson; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CreateDeploymentResult.java b/src/main/java/com/amazonaws/services/opsworks/model/CreateDeploymentResult.java index 5a1a1b21d37a..a1b299e155f2 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CreateDeploymentResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CreateDeploymentResult.java @@ -58,9 +58,6 @@ public void setDeploymentId(String deploymentId) { * * @param deploymentId The deployment ID, which can be used with other requests to identify * the deployment. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateDeploymentResult withDeploymentId(String deploymentId) { this.deploymentId = deploymentId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CreateInstanceRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/CreateInstanceRequest.java index c76ce54d2991..62f50bca0900 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CreateInstanceRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CreateInstanceRequest.java @@ -134,9 +134,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInstanceRequest withStackId(String stackId) { this.stackId = stackId; @@ -179,9 +176,6 @@ public void setLayerIds(java.util.Collection layerIds) { * Returns a reference to this object so that method calls can be chained together. * * @param layerIds An array that contains the instance layer IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInstanceRequest withLayerIds(String... layerIds) { if (getLayerIds() == null) setLayerIds(new java.util.ArrayList(layerIds.length)); @@ -197,9 +191,6 @@ public CreateInstanceRequest withLayerIds(String... layerIds) { * Returns a reference to this object so that method calls can be chained together. * * @param layerIds An array that contains the instance layer IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInstanceRequest withLayerIds(java.util.Collection layerIds) { if (layerIds == null) { @@ -273,9 +264,6 @@ public void setInstanceType(String instanceType) { * Families and Types. The parameter values that you use to specify * the various types are in the API Name column of the Available Instance * Types table. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInstanceRequest withInstanceType(String instanceType) { this.instanceType = instanceType; @@ -375,9 +363,6 @@ public void setAutoScalingType(String autoScalingType) { * for the instance layer and configure the thresholds by calling * SetLoadBasedAutoScaling. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see AutoScalingType */ public CreateInstanceRequest withAutoScalingType(String autoScalingType) { @@ -446,9 +431,6 @@ public void setAutoScalingType(AutoScalingType autoScalingType) { * for the instance layer and configure the thresholds by calling * SetLoadBasedAutoScaling. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see AutoScalingType */ public CreateInstanceRequest withAutoScalingType(AutoScalingType autoScalingType) { @@ -480,9 +462,6 @@ public void setHostname(String hostname) { * Returns a reference to this object so that method calls can be chained together. * * @param hostname The instance host name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInstanceRequest withHostname(String hostname) { this.hostname = hostname; @@ -520,9 +499,6 @@ public void setOs(String os) { * * @param os The instance's operating system, which must be either "Amazon Linux" * or "Ubuntu 12.04 LTS". - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInstanceRequest withOs(String os) { this.os = os; @@ -554,9 +530,6 @@ public void setSshKeyName(String sshKeyName) { * Returns a reference to this object so that method calls can be chained together. * * @param sshKeyName The instance SSH key name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInstanceRequest withSshKeyName(String sshKeyName) { this.sshKeyName = sshKeyName; @@ -600,9 +573,6 @@ public void setAvailabilityZone(String availabilityZone) { * @param availabilityZone The instance Availability Zone. For more information, see Regions * and Endpoints. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInstanceRequest withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -672,9 +642,6 @@ public void setArchitecture(String architecture) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance * Families and Types. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see Architecture */ public CreateInstanceRequest withArchitecture(String architecture) { @@ -723,9 +690,6 @@ public void setArchitecture(Architecture architecture) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance * Families and Types. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see Architecture */ public CreateInstanceRequest withArchitecture(Architecture architecture) { @@ -783,9 +747,6 @@ public void setRootDeviceType(String rootDeviceType) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device">Storage * for the Root Device. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RootDeviceType */ public CreateInstanceRequest withRootDeviceType(String rootDeviceType) { @@ -826,9 +787,6 @@ public void setRootDeviceType(RootDeviceType rootDeviceType) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device">Storage * for the Root Device. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RootDeviceType */ public CreateInstanceRequest withRootDeviceType(RootDeviceType rootDeviceType) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CreateInstanceResult.java b/src/main/java/com/amazonaws/services/opsworks/model/CreateInstanceResult.java index 219b816efcfb..a0d55deb49a5 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CreateInstanceResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CreateInstanceResult.java @@ -51,9 +51,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateInstanceResult withInstanceId(String instanceId) { this.instanceId = instanceId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CreateLayerRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/CreateLayerRequest.java index 3483cc950a39..5a6b6b5bce60 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CreateLayerRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CreateLayerRequest.java @@ -139,9 +139,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The layer stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withStackId(String stackId) { this.stackId = stackId; @@ -229,9 +226,6 @@ public void setType(String type) { * layer

  • monitoring-master: A Ganglia layer
  • custom: A * custom layer
  • * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see LayerType */ public CreateLayerRequest withType(String type) { @@ -292,9 +286,6 @@ public void setType(LayerType type) { * layer
  • monitoring-master: A Ganglia layer
  • custom: A * custom layer
  • * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see LayerType */ public CreateLayerRequest withType(LayerType type) { @@ -326,9 +317,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The layer name, which is used by the console. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withName(String name) { this.name = name; @@ -384,9 +372,6 @@ public void setShortname(String shortname) { * where your app files are installed. It can have a maximum of 200 * characters, which are limited to the alphanumeric characters, '-', * '_', and '.'. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withShortname(String shortname) { this.shortname = shortname; @@ -407,7 +392,6 @@ public java.util.Map getAttributes() { attributes = new java.util.HashMap(); } return attributes; - } /** @@ -429,15 +413,44 @@ public void setAttributes(java.util.Map attributes) { * * @param attributes One or more user-defined key/value pairs to be added to the stack * attributes bag. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withAttributes(java.util.Map attributes) { setAttributes(attributes); return this; } + + /** + * One or more user-defined key/value pairs to be added to the stack + * attributes bag. + *

    + * The method adds a new key-value pair into Attributes parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Attributes. + * @param value The corresponding value of the entry to be added into Attributes. + */ + public CreateLayerRequest addAttributesEntry(String key, String value) { + if (null == this.attributes) { + this.attributes = new java.util.HashMap(); + } + if (this.attributes.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.attributes.put(key, value); + return this; + } + + /** + * Removes all the entries added into Attributes. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public CreateLayerRequest clearAttributesEntries() { + this.attributes = null; + return this; + } + /** * The ARN of an IAM profile that to be used for the layer's EC2 * instances. For more information about IAM ARNs, see Using * Identifiers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withCustomInstanceProfileArn(String customInstanceProfileArn) { this.customInstanceProfileArn = customInstanceProfileArn; @@ -525,9 +535,6 @@ public void setCustomSecurityGroupIds(java.util.Collection customSecurit * Returns a reference to this object so that method calls can be chained together. * * @param customSecurityGroupIds An array containing the layer custom security group IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withCustomSecurityGroupIds(String... customSecurityGroupIds) { if (getCustomSecurityGroupIds() == null) setCustomSecurityGroupIds(new java.util.ArrayList(customSecurityGroupIds.length)); @@ -543,9 +550,6 @@ public CreateLayerRequest withCustomSecurityGroupIds(String... customSecurityGro * Returns a reference to this object so that method calls can be chained together. * * @param customSecurityGroupIds An array containing the layer custom security group IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withCustomSecurityGroupIds(java.util.Collection customSecurityGroupIds) { if (customSecurityGroupIds == null) { @@ -600,9 +604,6 @@ public void setPackages(java.util.Collection packages) { * * @param packages An array of Package objects that describe the layer * packages. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withPackages(String... packages) { if (getPackages() == null) setPackages(new java.util.ArrayList(packages.length)); @@ -620,9 +621,6 @@ public CreateLayerRequest withPackages(String... packages) { * * @param packages An array of Package objects that describe the layer * packages. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withPackages(java.util.Collection packages) { if (packages == null) { @@ -677,9 +675,6 @@ public void setVolumeConfigurations(java.util.Collection vo * * @param volumeConfigurations A VolumeConfigurations object that describes the layer * Amazon EBS volumes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withVolumeConfigurations(VolumeConfiguration... volumeConfigurations) { if (getVolumeConfigurations() == null) setVolumeConfigurations(new java.util.ArrayList(volumeConfigurations.length)); @@ -697,9 +692,6 @@ public CreateLayerRequest withVolumeConfigurations(VolumeConfiguration... volume * * @param volumeConfigurations A VolumeConfigurations object that describes the layer * Amazon EBS volumes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withVolumeConfigurations(java.util.Collection volumeConfigurations) { if (volumeConfigurations == null) { @@ -737,9 +729,6 @@ public void setEnableAutoHealing(Boolean enableAutoHealing) { * Returns a reference to this object so that method calls can be chained together. * * @param enableAutoHealing Whether to disable auto healing for the layer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withEnableAutoHealing(Boolean enableAutoHealing) { this.enableAutoHealing = enableAutoHealing; @@ -792,9 +781,6 @@ public void setAutoAssignElasticIps(Boolean autoAssignElasticIps) { * @param autoAssignElasticIps Whether to automatically assign an Elastic * IP address to the layer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withAutoAssignElasticIps(Boolean autoAssignElasticIps) { this.autoAssignElasticIps = autoAssignElasticIps; @@ -845,9 +831,6 @@ public void setCustomRecipes(Recipes customRecipes) { * * @param customRecipes A LayerCustomRecipes object that specifies the layer * custom recipes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerRequest withCustomRecipes(Recipes customRecipes) { this.customRecipes = customRecipes; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CreateLayerResult.java b/src/main/java/com/amazonaws/services/opsworks/model/CreateLayerResult.java index 791a6aad6265..cebbb51a7562 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CreateLayerResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CreateLayerResult.java @@ -51,9 +51,6 @@ public void setLayerId(String layerId) { * Returns a reference to this object so that method calls can be chained together. * * @param layerId The layer ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateLayerResult withLayerId(String layerId) { this.layerId = layerId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CreateStackRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/CreateStackRequest.java index 929fca3f3608..324216195095 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CreateStackRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CreateStackRequest.java @@ -160,9 +160,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The stack name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateStackRequest withName(String name) { this.name = name; @@ -212,9 +209,6 @@ public void setRegion(String region) { * Amazon regions, see Regions * and Endpoints. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateStackRequest withRegion(String region) { this.region = region; @@ -235,7 +229,6 @@ public java.util.Map getAttributes() { attributes = new java.util.HashMap(); } return attributes; - } /** @@ -257,15 +250,44 @@ public void setAttributes(java.util.Map attributes) { * * @param attributes One or more user-defined key/value pairs to be added to the stack * attributes bag. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateStackRequest withAttributes(java.util.Map attributes) { setAttributes(attributes); return this; } + + /** + * One or more user-defined key/value pairs to be added to the stack + * attributes bag. + *

    + * The method adds a new key-value pair into Attributes parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Attributes. + * @param value The corresponding value of the entry to be added into Attributes. + */ + public CreateStackRequest addAttributesEntry(String key, String value) { + if (null == this.attributes) { + this.attributes = new java.util.HashMap(); + } + if (this.attributes.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.attributes.put(key, value); + return this; + } + + /** + * Removes all the entries added into Attributes. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public CreateStackRequest clearAttributesEntries() { + this.attributes = null; + return this; + } + /** * The stack AWS Identity and Access Management (IAM) role, which allows * OpsWorks to work with AWS resources on your behalf. You must set this @@ -320,9 +342,6 @@ public void setServiceRoleArn(String serviceRoleArn) { * For more information about IAM ARNs, see Using * Identifiers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateStackRequest withServiceRoleArn(String serviceRoleArn) { this.serviceRoleArn = serviceRoleArn; @@ -372,9 +391,6 @@ public void setDefaultInstanceProfileArn(String defaultInstanceProfileArn) { * stack's EC2 instances. For more information about IAM ARNs, see Using * Identifiers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateStackRequest withDefaultInstanceProfileArn(String defaultInstanceProfileArn) { this.defaultInstanceProfileArn = defaultInstanceProfileArn; @@ -412,9 +428,6 @@ public void setDefaultOs(String defaultOs) { * * @param defaultOs The cloned stack default operating system, which must be either * "Amazon Linux" or "Ubuntu 12.04 LTS". - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateStackRequest withDefaultOs(String defaultOs) { this.defaultOs = defaultOs; @@ -506,9 +519,6 @@ public void setHostnameTheme(String hostnameTheme) { *

  • Wild_Cats
  • To obtain a generated hostname, call * GetHostNameSuggestion, which returns a hostname based on * the current theme. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateStackRequest withHostnameTheme(String hostnameTheme) { this.hostnameTheme = hostnameTheme; @@ -552,9 +562,6 @@ public void setDefaultAvailabilityZone(String defaultAvailabilityZone) { * @param defaultAvailabilityZone The stack default Availability Zone. For more information, see Regions * and Endpoints. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateStackRequest withDefaultAvailabilityZone(String defaultAvailabilityZone) { this.defaultAvailabilityZone = defaultAvailabilityZone; @@ -622,9 +629,6 @@ public void setCustomJson(String customJson) { * \"value2\",...}"

    For more information on custom JSON, see * Use Custom JSON to Modify the Stack Configuration JSON. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateStackRequest withCustomJson(String customJson) { this.customJson = customJson; @@ -656,9 +660,6 @@ public void setUseCustomCookbooks(Boolean useCustomCookbooks) { * Returns a reference to this object so that method calls can be chained together. * * @param useCustomCookbooks Whether the stack uses custom cookbooks. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateStackRequest withUseCustomCookbooks(Boolean useCustomCookbooks) { this.useCustomCookbooks = useCustomCookbooks; @@ -729,9 +730,6 @@ public void setCustomCookbooksSource(Source customCookbooksSource) { * Apps or Custom * Recipes and Cookbooks. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateStackRequest withCustomCookbooksSource(Source customCookbooksSource) { this.customCookbooksSource = customCookbooksSource; @@ -769,9 +767,6 @@ public void setDefaultSshKeyName(String defaultSshKeyName) { * * @param defaultSshKeyName A default SSH key for the stack instances. You can override this value * when you create or update an instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateStackRequest withDefaultSshKeyName(String defaultSshKeyName) { this.defaultSshKeyName = defaultSshKeyName; @@ -841,9 +836,6 @@ public void setDefaultRootDeviceType(String defaultRootDeviceType) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device">Storage * for the Root Device. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RootDeviceType */ public CreateStackRequest withDefaultRootDeviceType(String defaultRootDeviceType) { @@ -892,9 +884,6 @@ public void setDefaultRootDeviceType(RootDeviceType defaultRootDeviceType) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device">Storage * for the Root Device. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RootDeviceType */ public CreateStackRequest withDefaultRootDeviceType(RootDeviceType defaultRootDeviceType) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CreateStackResult.java b/src/main/java/com/amazonaws/services/opsworks/model/CreateStackResult.java index 7b2cf94dc66c..dbd0db5a00e8 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CreateStackResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CreateStackResult.java @@ -58,9 +58,6 @@ public void setStackId(String stackId) { * * @param stackId The stack ID, which is an opaque string that you use to identify the * stack when performing actions such as DescribeStacks. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateStackResult withStackId(String stackId) { this.stackId = stackId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CreateUserProfileRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/CreateUserProfileRequest.java index 07a8eaad35ef..7c307cad0047 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CreateUserProfileRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CreateUserProfileRequest.java @@ -65,9 +65,6 @@ public void setIamUserArn(String iamUserArn) { * Returns a reference to this object so that method calls can be chained together. * * @param iamUserArn The user's IAM ARN. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateUserProfileRequest withIamUserArn(String iamUserArn) { this.iamUserArn = iamUserArn; @@ -99,9 +96,6 @@ public void setSshUsername(String sshUsername) { * Returns a reference to this object so that method calls can be chained together. * * @param sshUsername The user's SSH user name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateUserProfileRequest withSshUsername(String sshUsername) { this.sshUsername = sshUsername; @@ -133,9 +127,6 @@ public void setSshPublicKey(String sshPublicKey) { * Returns a reference to this object so that method calls can be chained together. * * @param sshPublicKey The user's public SSH key. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateUserProfileRequest withSshPublicKey(String sshPublicKey) { this.sshPublicKey = sshPublicKey; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/CreateUserProfileResult.java b/src/main/java/com/amazonaws/services/opsworks/model/CreateUserProfileResult.java index 1b5a2ce0f229..b9d489b311b3 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/CreateUserProfileResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/CreateUserProfileResult.java @@ -51,9 +51,6 @@ public void setIamUserArn(String iamUserArn) { * Returns a reference to this object so that method calls can be chained together. * * @param iamUserArn The user's IAM ARN. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateUserProfileResult withIamUserArn(String iamUserArn) { this.iamUserArn = iamUserArn; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DeleteAppRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DeleteAppRequest.java index 0f6a9a16f00c..d073d3f533c3 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DeleteAppRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DeleteAppRequest.java @@ -55,9 +55,6 @@ public void setAppId(String appId) { * Returns a reference to this object so that method calls can be chained together. * * @param appId The app ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteAppRequest withAppId(String appId) { this.appId = appId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DeleteInstanceRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DeleteInstanceRequest.java index 5be274252e1b..b04cd34bfcb2 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DeleteInstanceRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DeleteInstanceRequest.java @@ -66,9 +66,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteInstanceRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -100,9 +97,6 @@ public void setDeleteElasticIp(Boolean deleteElasticIp) { * Returns a reference to this object so that method calls can be chained together. * * @param deleteElasticIp Whether to delete the instance Elastic IP address. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteInstanceRequest withDeleteElasticIp(Boolean deleteElasticIp) { this.deleteElasticIp = deleteElasticIp; @@ -143,9 +137,6 @@ public void setDeleteVolumes(Boolean deleteVolumes) { * Returns a reference to this object so that method calls can be chained together. * * @param deleteVolumes Whether to delete the instance Amazon EBS volumes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteInstanceRequest withDeleteVolumes(Boolean deleteVolumes) { this.deleteVolumes = deleteVolumes; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DeleteLayerRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DeleteLayerRequest.java index 743a8d0b2e35..1d9c2071a756 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DeleteLayerRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DeleteLayerRequest.java @@ -56,9 +56,6 @@ public void setLayerId(String layerId) { * Returns a reference to this object so that method calls can be chained together. * * @param layerId The layer ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteLayerRequest withLayerId(String layerId) { this.layerId = layerId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DeleteStackRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DeleteStackRequest.java index b2ca97086267..b426557d37f2 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DeleteStackRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DeleteStackRequest.java @@ -56,9 +56,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteStackRequest withStackId(String stackId) { this.stackId = stackId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DeleteUserProfileRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DeleteUserProfileRequest.java index d0516625928e..a40c9938c9b3 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DeleteUserProfileRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DeleteUserProfileRequest.java @@ -55,9 +55,6 @@ public void setIamUserArn(String iamUserArn) { * Returns a reference to this object so that method calls can be chained together. * * @param iamUserArn The user's IAM ARN. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteUserProfileRequest withIamUserArn(String iamUserArn) { this.iamUserArn = iamUserArn; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/Deployment.java b/src/main/java/com/amazonaws/services/opsworks/model/Deployment.java index 42b58bf7e0b0..7c60cbcd403b 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/Deployment.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/Deployment.java @@ -113,9 +113,6 @@ public void setDeploymentId(String deploymentId) { * Returns a reference to this object so that method calls can be chained together. * * @param deploymentId The deployment ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Deployment withDeploymentId(String deploymentId) { this.deploymentId = deploymentId; @@ -147,9 +144,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Deployment withStackId(String stackId) { this.stackId = stackId; @@ -181,9 +175,6 @@ public void setAppId(String appId) { * Returns a reference to this object so that method calls can be chained together. * * @param appId The app ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Deployment withAppId(String appId) { this.appId = appId; @@ -215,9 +206,6 @@ public void setCreatedAt(String createdAt) { * Returns a reference to this object so that method calls can be chained together. * * @param createdAt Date when the deployment was created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Deployment withCreatedAt(String createdAt) { this.createdAt = createdAt; @@ -249,9 +237,6 @@ public void setCompletedAt(String completedAt) { * Returns a reference to this object so that method calls can be chained together. * * @param completedAt Date when the deployment completed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Deployment withCompletedAt(String completedAt) { this.completedAt = completedAt; @@ -283,9 +268,6 @@ public void setDuration(Integer duration) { * Returns a reference to this object so that method calls can be chained together. * * @param duration The deployment duration. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Deployment withDuration(Integer duration) { this.duration = duration; @@ -317,9 +299,6 @@ public void setIamUserArn(String iamUserArn) { * Returns a reference to this object so that method calls can be chained together. * * @param iamUserArn The user's IAM ARN. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Deployment withIamUserArn(String iamUserArn) { this.iamUserArn = iamUserArn; @@ -351,9 +330,6 @@ public void setComment(String comment) { * Returns a reference to this object so that method calls can be chained together. * * @param comment A user-defined comment. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Deployment withComment(String comment) { this.comment = comment; @@ -385,9 +361,6 @@ public void setCommand(DeploymentCommand command) { * Returns a reference to this object so that method calls can be chained together. * * @param command Used to specify a deployment operation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Deployment withCommand(DeploymentCommand command) { this.command = command; @@ -425,9 +398,6 @@ public void setStatus(String status) { * * @param status The deployment status:

    • running
    • successful
    • *
    • failed
    - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Deployment withStatus(String status) { this.status = status; @@ -495,9 +465,6 @@ public void setCustomJson(String customJson) { * \"value2\",...}"

    For more information on custom JSON, see * Use Custom JSON to Modify the Stack Configuration JSON. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Deployment withCustomJson(String customJson) { this.customJson = customJson; @@ -540,9 +507,6 @@ public void setInstanceIds(java.util.Collection instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The IDs of the target instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Deployment withInstanceIds(String... instanceIds) { if (getInstanceIds() == null) setInstanceIds(new java.util.ArrayList(instanceIds.length)); @@ -558,9 +522,6 @@ public Deployment withInstanceIds(String... instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds The IDs of the target instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Deployment withInstanceIds(java.util.Collection instanceIds) { if (instanceIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DeploymentCommand.java b/src/main/java/com/amazonaws/services/opsworks/model/DeploymentCommand.java index be6856b8bf58..6a22e405efa5 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DeploymentCommand.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DeploymentCommand.java @@ -194,9 +194,6 @@ public void setName(String name) { * app's web or application server.

  • undeploy: * Undeploy the app.
  • * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see DeploymentCommandName */ public DeploymentCommand withName(String name) { @@ -297,9 +294,6 @@ public void setName(DeploymentCommandName name) { * app's web or application server.
  • undeploy: * Undeploy the app.
  • * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see DeploymentCommandName */ public DeploymentCommand withName(DeploymentCommandName name) { @@ -322,7 +316,6 @@ public java.util.Map> getArgs() { args = new java.util.HashMap>(); } return args; - } /** @@ -348,15 +341,45 @@ public void setArgs(java.util.Map> args) { * @param args An array of command arguments. This parameter is currently used only * to specify the list of recipes to be executed by the * ExecuteRecipes command. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeploymentCommand withArgs(java.util.Map> args) { setArgs(args); return this; } + + /** + * An array of command arguments. This parameter is currently used only + * to specify the list of recipes to be executed by the + * ExecuteRecipes command. + *

    + * The method adds a new key-value pair into Args parameter, and returns + * a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Args. + * @param value The corresponding value of the entry to be added into Args. + */ + public DeploymentCommand addArgsEntry(String key, java.util.List value) { + if (null == this.args) { + this.args = new java.util.HashMap>(); + } + if (this.args.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.args.put(key, value); + return this; + } + + /** + * Removes all the entries added into Args. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public DeploymentCommand clearArgsEntries() { + this.args = null; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeAppsRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeAppsRequest.java index 293c8287c47f..37cfb0289d19 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeAppsRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeAppsRequest.java @@ -69,9 +69,6 @@ public void setStackId(String stackId) { * * @param stackId The app stack ID. If you use this parameter, DescribeApps * returns a description of the apps in the specified stack. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAppsRequest withStackId(String stackId) { this.stackId = stackId; @@ -126,9 +123,6 @@ public void setAppIds(java.util.Collection appIds) { * @param appIds An array of app IDs for the apps to be described. If you use this * parameter, DescribeApps returns a description of the * specified apps. Otherwise, it returns a description of every app. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAppsRequest withAppIds(String... appIds) { if (getAppIds() == null) setAppIds(new java.util.ArrayList(appIds.length)); @@ -148,9 +142,6 @@ public DescribeAppsRequest withAppIds(String... appIds) { * @param appIds An array of app IDs for the apps to be described. If you use this * parameter, DescribeApps returns a description of the * specified apps. Otherwise, it returns a description of every app. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAppsRequest withAppIds(java.util.Collection appIds) { if (appIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeAppsResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeAppsResult.java index 9cb84cd6fe87..a70b56e2743f 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeAppsResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeAppsResult.java @@ -62,9 +62,6 @@ public void setApps(java.util.Collection apps) { * Returns a reference to this object so that method calls can be chained together. * * @param apps An array of App objects that describe the specified apps. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAppsResult withApps(App... apps) { if (getApps() == null) setApps(new java.util.ArrayList(apps.length)); @@ -80,9 +77,6 @@ public DescribeAppsResult withApps(App... apps) { * Returns a reference to this object so that method calls can be chained together. * * @param apps An array of App objects that describe the specified apps. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeAppsResult withApps(java.util.Collection apps) { if (apps == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeCommandsRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeCommandsRequest.java index 791c1114fec0..289f75a47ede 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeCommandsRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeCommandsRequest.java @@ -83,9 +83,6 @@ public void setDeploymentId(String deploymentId) { * @param deploymentId The deployment ID. If you include this parameter, * DescribeCommands returns a description of the commands * associated with the specified deployment. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeCommandsRequest withDeploymentId(String deploymentId) { this.deploymentId = deploymentId; @@ -129,9 +126,6 @@ public void setInstanceId(String instanceId) { * @param instanceId The instance ID. If you include this parameter, * DescribeCommands returns a description of the commands * associated with the specified instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeCommandsRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -186,9 +180,6 @@ public void setCommandIds(java.util.Collection commandIds) { * @param commandIds An array of command IDs. If you include this parameter, * DescribeCommands returns a description of the specified * commands. Otherwise, it returns a description of every command. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeCommandsRequest withCommandIds(String... commandIds) { if (getCommandIds() == null) setCommandIds(new java.util.ArrayList(commandIds.length)); @@ -208,9 +199,6 @@ public DescribeCommandsRequest withCommandIds(String... commandIds) { * @param commandIds An array of command IDs. If you include this parameter, * DescribeCommands returns a description of the specified * commands. Otherwise, it returns a description of every command. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeCommandsRequest withCommandIds(java.util.Collection commandIds) { if (commandIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeCommandsResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeCommandsResult.java index 0a76c1d3f113..a274f6466280 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeCommandsResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeCommandsResult.java @@ -69,9 +69,6 @@ public void setCommands(java.util.Collection commands) { * * @param commands An array of Command objects that describe each of the * specified commands. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeCommandsResult withCommands(Command... commands) { if (getCommands() == null) setCommands(new java.util.ArrayList(commands.length)); @@ -89,9 +86,6 @@ public DescribeCommandsResult withCommands(Command... commands) { * * @param commands An array of Command objects that describe each of the * specified commands. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeCommandsResult withCommands(java.util.Collection commands) { if (commands == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeDeploymentsRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeDeploymentsRequest.java index c863352a0290..aa15c7c29fba 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeDeploymentsRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeDeploymentsRequest.java @@ -84,9 +84,6 @@ public void setStackId(String stackId) { * @param stackId The stack ID. If you include this parameter, * DescribeDeployments returns a description of the commands * associated with the specified stack. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDeploymentsRequest withStackId(String stackId) { this.stackId = stackId; @@ -130,9 +127,6 @@ public void setAppId(String appId) { * @param appId The app ID. If you include this parameter, * DescribeDeployments returns a description of the commands * associated with the specified app. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDeploymentsRequest withAppId(String appId) { this.appId = appId; @@ -193,9 +187,6 @@ public void setDeploymentIds(java.util.Collection deploymentIds) { * parameter, DescribeDeployments returns a description of * the specified deployments. Otherwise, it returns a description of * every deployment. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDeploymentsRequest withDeploymentIds(String... deploymentIds) { if (getDeploymentIds() == null) setDeploymentIds(new java.util.ArrayList(deploymentIds.length)); @@ -217,9 +208,6 @@ public DescribeDeploymentsRequest withDeploymentIds(String... deploymentIds) { * parameter, DescribeDeployments returns a description of * the specified deployments. Otherwise, it returns a description of * every deployment. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDeploymentsRequest withDeploymentIds(java.util.Collection deploymentIds) { if (deploymentIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeDeploymentsResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeDeploymentsResult.java index 6cab444c87a4..38e149ee3f95 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeDeploymentsResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeDeploymentsResult.java @@ -69,9 +69,6 @@ public void setDeployments(java.util.Collection deployments) { * * @param deployments An array of Deployment objects that describe the * deployments. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDeploymentsResult withDeployments(Deployment... deployments) { if (getDeployments() == null) setDeployments(new java.util.ArrayList(deployments.length)); @@ -89,9 +86,6 @@ public DescribeDeploymentsResult withDeployments(Deployment... deployments) { * * @param deployments An array of Deployment objects that describe the * deployments. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDeploymentsResult withDeployments(java.util.Collection deployments) { if (deployments == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticIpsRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticIpsRequest.java index f687168782a8..9a4531f27773 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticIpsRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticIpsRequest.java @@ -77,9 +77,6 @@ public void setInstanceId(String instanceId) { * @param instanceId The instance ID. If you include this parameter, * DescribeElasticIps returns a description of the Elastic * IP addresses associated with the specified instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeElasticIpsRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -140,9 +137,6 @@ public void setIps(java.util.Collection ips) { * parameter, DescribeElasticIps returns a description of * the specified Elastic IP addresses. Otherwise, it returns a * description of every Elastic IP address. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeElasticIpsRequest withIps(String... ips) { if (getIps() == null) setIps(new java.util.ArrayList(ips.length)); @@ -164,9 +158,6 @@ public DescribeElasticIpsRequest withIps(String... ips) { * parameter, DescribeElasticIps returns a description of * the specified Elastic IP addresses. Otherwise, it returns a * description of every Elastic IP address. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeElasticIpsRequest withIps(java.util.Collection ips) { if (ips == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticIpsResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticIpsResult.java index 4ec5a91cfae2..c8ab5b4a57b3 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticIpsResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticIpsResult.java @@ -69,9 +69,6 @@ public void setElasticIps(java.util.Collection elasticIps) { * * @param elasticIps An ElasticIps object that describes the specified Elastic * IP addresses. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeElasticIpsResult withElasticIps(ElasticIp... elasticIps) { if (getElasticIps() == null) setElasticIps(new java.util.ArrayList(elasticIps.length)); @@ -89,9 +86,6 @@ public DescribeElasticIpsResult withElasticIps(ElasticIp... elasticIps) { * * @param elasticIps An ElasticIps object that describes the specified Elastic * IP addresses. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeElasticIpsResult withElasticIps(java.util.Collection elasticIps) { if (elasticIps == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticLoadBalancersRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticLoadBalancersRequest.java index e1082a787a4d..3a6e8f1a5b87 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticLoadBalancersRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticLoadBalancersRequest.java @@ -68,9 +68,6 @@ public void setStackId(String stackId) { * * @param stackId A stack ID. The action describes the Elastic Load Balancing instances * for the stack. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeElasticLoadBalancersRequest withStackId(String stackId) { this.stackId = stackId; @@ -119,9 +116,6 @@ public void setLayerIds(java.util.Collection layerIds) { * * @param layerIds A list of layer IDs. The action describes the Elastic Load Balancing * instances for the specified layers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeElasticLoadBalancersRequest withLayerIds(String... layerIds) { if (getLayerIds() == null) setLayerIds(new java.util.ArrayList(layerIds.length)); @@ -139,9 +133,6 @@ public DescribeElasticLoadBalancersRequest withLayerIds(String... layerIds) { * * @param layerIds A list of layer IDs. The action describes the Elastic Load Balancing * instances for the specified layers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeElasticLoadBalancersRequest withLayerIds(java.util.Collection layerIds) { if (layerIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticLoadBalancersResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticLoadBalancersResult.java index efb048edc83b..ace494c78e31 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticLoadBalancersResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeElasticLoadBalancersResult.java @@ -69,9 +69,6 @@ public void setElasticLoadBalancers(java.util.Collection el * * @param elasticLoadBalancers A list of ElasticLoadBalancer objects that describe the * specified Elastic Load Balancing instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeElasticLoadBalancersResult withElasticLoadBalancers(ElasticLoadBalancer... elasticLoadBalancers) { if (getElasticLoadBalancers() == null) setElasticLoadBalancers(new java.util.ArrayList(elasticLoadBalancers.length)); @@ -89,9 +86,6 @@ public DescribeElasticLoadBalancersResult withElasticLoadBalancers(ElasticLoadBa * * @param elasticLoadBalancers A list of ElasticLoadBalancer objects that describe the * specified Elastic Load Balancing instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeElasticLoadBalancersResult withElasticLoadBalancers(java.util.Collection elasticLoadBalancers) { if (elasticLoadBalancers == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeInstancesRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeInstancesRequest.java index 7380b4d5d5b7..750853bddcda 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeInstancesRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeInstancesRequest.java @@ -83,9 +83,6 @@ public void setStackId(String stackId) { * @param stackId A stack ID. If you use this parameter, DescribeInstances * returns descriptions of the instances associated with the specified * stack. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstancesRequest withStackId(String stackId) { this.stackId = stackId; @@ -129,9 +126,6 @@ public void setLayerId(String layerId) { * @param layerId A layer ID. If you use this parameter, DescribeInstances * returns descriptions of the instances associated with the specified * layer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstancesRequest withLayerId(String layerId) { this.layerId = layerId; @@ -186,9 +180,6 @@ public void setInstanceIds(java.util.Collection instanceIds) { * @param instanceIds An array of instance IDs to be described. If you use this parameter, * DescribeInstances returns a description of the specified * instances. Otherwise, it returns a description of every instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstancesRequest withInstanceIds(String... instanceIds) { if (getInstanceIds() == null) setInstanceIds(new java.util.ArrayList(instanceIds.length)); @@ -208,9 +199,6 @@ public DescribeInstancesRequest withInstanceIds(String... instanceIds) { * @param instanceIds An array of instance IDs to be described. If you use this parameter, * DescribeInstances returns a description of the specified * instances. Otherwise, it returns a description of every instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstancesRequest withInstanceIds(java.util.Collection instanceIds) { if (instanceIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeInstancesResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeInstancesResult.java index ab810d3029fd..4f5ba496030e 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeInstancesResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeInstancesResult.java @@ -62,9 +62,6 @@ public void setInstances(java.util.Collection instances) { * Returns a reference to this object so that method calls can be chained together. * * @param instances An array of Instance objects that describe the instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstancesResult withInstances(Instance... instances) { if (getInstances() == null) setInstances(new java.util.ArrayList(instances.length)); @@ -80,9 +77,6 @@ public DescribeInstancesResult withInstances(Instance... instances) { * Returns a reference to this object so that method calls can be chained together. * * @param instances An array of Instance objects that describe the instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeInstancesResult withInstances(java.util.Collection instances) { if (instances == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeLayersRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeLayersRequest.java index 86ff84725f6b..f8dc8e55fa72 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeLayersRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeLayersRequest.java @@ -62,9 +62,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLayersRequest withStackId(String stackId) { this.stackId = stackId; @@ -119,9 +116,6 @@ public void setLayerIds(java.util.Collection layerIds) { * @param layerIds An array of layer IDs that specify the layers to be described. If you * omit this parameter, DescribeLayers returns a description * of every layer in the specified stack. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLayersRequest withLayerIds(String... layerIds) { if (getLayerIds() == null) setLayerIds(new java.util.ArrayList(layerIds.length)); @@ -141,9 +135,6 @@ public DescribeLayersRequest withLayerIds(String... layerIds) { * @param layerIds An array of layer IDs that specify the layers to be described. If you * omit this parameter, DescribeLayers returns a description * of every layer in the specified stack. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLayersRequest withLayerIds(java.util.Collection layerIds) { if (layerIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeLayersResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeLayersResult.java index 21fe7884ca2d..c7d41bd8c850 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeLayersResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeLayersResult.java @@ -62,9 +62,6 @@ public void setLayers(java.util.Collection layers) { * Returns a reference to this object so that method calls can be chained together. * * @param layers An array of Layer objects that describe the layers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLayersResult withLayers(Layer... layers) { if (getLayers() == null) setLayers(new java.util.ArrayList(layers.length)); @@ -80,9 +77,6 @@ public DescribeLayersResult withLayers(Layer... layers) { * Returns a reference to this object so that method calls can be chained together. * * @param layers An array of Layer objects that describe the layers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLayersResult withLayers(java.util.Collection layers) { if (layers == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeLoadBasedAutoScalingRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeLoadBasedAutoScalingRequest.java index 4c0e05614ba4..a3a7fdac80f2 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeLoadBasedAutoScalingRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeLoadBasedAutoScalingRequest.java @@ -66,9 +66,6 @@ public void setLayerIds(java.util.Collection layerIds) { * Returns a reference to this object so that method calls can be chained together. * * @param layerIds An array of layer IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBasedAutoScalingRequest withLayerIds(String... layerIds) { if (getLayerIds() == null) setLayerIds(new java.util.ArrayList(layerIds.length)); @@ -84,9 +81,6 @@ public DescribeLoadBasedAutoScalingRequest withLayerIds(String... layerIds) { * Returns a reference to this object so that method calls can be chained together. * * @param layerIds An array of layer IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBasedAutoScalingRequest withLayerIds(java.util.Collection layerIds) { if (layerIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeLoadBasedAutoScalingResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeLoadBasedAutoScalingResult.java index 8c7cec5430fd..5c78a01acf2c 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeLoadBasedAutoScalingResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeLoadBasedAutoScalingResult.java @@ -69,9 +69,6 @@ public void setLoadBasedAutoScalingConfigurations(java.util.CollectionLoadBasedAutoScalingConfiguration objects * that describe each layer's configuration. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBasedAutoScalingResult withLoadBasedAutoScalingConfigurations(LoadBasedAutoScalingConfiguration... loadBasedAutoScalingConfigurations) { if (getLoadBasedAutoScalingConfigurations() == null) setLoadBasedAutoScalingConfigurations(new java.util.ArrayList(loadBasedAutoScalingConfigurations.length)); @@ -89,9 +86,6 @@ public DescribeLoadBasedAutoScalingResult withLoadBasedAutoScalingConfigurations * * @param loadBasedAutoScalingConfigurations An array of LoadBasedAutoScalingConfiguration objects * that describe each layer's configuration. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeLoadBasedAutoScalingResult withLoadBasedAutoScalingConfigurations(java.util.Collection loadBasedAutoScalingConfigurations) { if (loadBasedAutoScalingConfigurations == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribePermissionsRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribePermissionsRequest.java index 98a1ff292747..ba431b6e666d 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribePermissionsRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribePermissionsRequest.java @@ -74,9 +74,6 @@ public void setIamUserArn(String iamUserArn) { * @param iamUserArn The user's IAM ARN. For more information about IAM ARNs, see Using * Identifiers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribePermissionsRequest withIamUserArn(String iamUserArn) { this.iamUserArn = iamUserArn; @@ -108,9 +105,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribePermissionsRequest withStackId(String stackId) { this.stackId = stackId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribePermissionsResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribePermissionsResult.java index 4655d075ed47..1d30dd2a759b 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribePermissionsResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribePermissionsResult.java @@ -118,9 +118,6 @@ public void setPermissions(java.util.Collection permissions) { * the request contains a stack ID and an IAM ARN, the array contains a * single Permission object with permissions for the * specified stack and IAM ARN. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribePermissionsResult withPermissions(Permission... permissions) { if (getPermissions() == null) setPermissions(new java.util.ArrayList(permissions.length)); @@ -152,9 +149,6 @@ public DescribePermissionsResult withPermissions(Permission... permissions) { * the request contains a stack ID and an IAM ARN, the array contains a * single Permission object with permissions for the * specified stack and IAM ARN. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribePermissionsResult withPermissions(java.util.Collection permissions) { if (permissions == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeRaidArraysRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeRaidArraysRequest.java index 35bac02c723c..0d34575f9cda 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeRaidArraysRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeRaidArraysRequest.java @@ -76,9 +76,6 @@ public void setInstanceId(String instanceId) { * @param instanceId The instance ID. If you use this parameter, * DescribeRaidArrays returns descriptions of the RAID * arrays associated with the specified instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRaidArraysRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -133,9 +130,6 @@ public void setRaidArrayIds(java.util.Collection raidArrayIds) { * @param raidArrayIds An array of RAID array IDs. If you use this parameter, * DescribeRaidArrays returns descriptions of the specified * arrays. Otherwise, it returns a description of every array. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRaidArraysRequest withRaidArrayIds(String... raidArrayIds) { if (getRaidArrayIds() == null) setRaidArrayIds(new java.util.ArrayList(raidArrayIds.length)); @@ -155,9 +149,6 @@ public DescribeRaidArraysRequest withRaidArrayIds(String... raidArrayIds) { * @param raidArrayIds An array of RAID array IDs. If you use this parameter, * DescribeRaidArrays returns descriptions of the specified * arrays. Otherwise, it returns a description of every array. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRaidArraysRequest withRaidArrayIds(java.util.Collection raidArrayIds) { if (raidArrayIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeRaidArraysResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeRaidArraysResult.java index 1439409a6764..370ef3302026 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeRaidArraysResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeRaidArraysResult.java @@ -69,9 +69,6 @@ public void setRaidArrays(java.util.Collection raidArrays) { * * @param raidArrays A RaidArrays object that describes the specified RAID * arrays. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRaidArraysResult withRaidArrays(RaidArray... raidArrays) { if (getRaidArrays() == null) setRaidArrays(new java.util.ArrayList(raidArrays.length)); @@ -89,9 +86,6 @@ public DescribeRaidArraysResult withRaidArrays(RaidArray... raidArrays) { * * @param raidArrays A RaidArrays object that describes the specified RAID * arrays. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeRaidArraysResult withRaidArrays(java.util.Collection raidArrays) { if (raidArrays == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeServiceErrorsRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeServiceErrorsRequest.java index 728197ff7e8b..419716ba34e7 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeServiceErrorsRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeServiceErrorsRequest.java @@ -83,9 +83,6 @@ public void setStackId(String stackId) { * @param stackId The stack ID. If you use this parameter, * DescribeServiceErrors returns descriptions of the errors * associated with the specified stack. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeServiceErrorsRequest withStackId(String stackId) { this.stackId = stackId; @@ -129,9 +126,6 @@ public void setInstanceId(String instanceId) { * @param instanceId The instance ID. If you use this parameter, * DescribeServiceErrors returns descriptions of the errors * associated with the specified instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeServiceErrorsRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -186,9 +180,6 @@ public void setServiceErrorIds(java.util.Collection serviceErrorIds) { * @param serviceErrorIds An array of service error IDs. If you use this parameter, * DescribeServiceErrors returns descriptions of the * specified errors. Otherwise, it returns a description of every error. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeServiceErrorsRequest withServiceErrorIds(String... serviceErrorIds) { if (getServiceErrorIds() == null) setServiceErrorIds(new java.util.ArrayList(serviceErrorIds.length)); @@ -208,9 +199,6 @@ public DescribeServiceErrorsRequest withServiceErrorIds(String... serviceErrorId * @param serviceErrorIds An array of service error IDs. If you use this parameter, * DescribeServiceErrors returns descriptions of the * specified errors. Otherwise, it returns a description of every error. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeServiceErrorsRequest withServiceErrorIds(java.util.Collection serviceErrorIds) { if (serviceErrorIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeServiceErrorsResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeServiceErrorsResult.java index 3851335eb2b4..2ab56c85fc27 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeServiceErrorsResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeServiceErrorsResult.java @@ -69,9 +69,6 @@ public void setServiceErrors(java.util.Collection serviceErrors) { * * @param serviceErrors An array of ServiceError objects that describe the * specified service errors. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeServiceErrorsResult withServiceErrors(ServiceError... serviceErrors) { if (getServiceErrors() == null) setServiceErrors(new java.util.ArrayList(serviceErrors.length)); @@ -89,9 +86,6 @@ public DescribeServiceErrorsResult withServiceErrors(ServiceError... serviceErro * * @param serviceErrors An array of ServiceError objects that describe the * specified service errors. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeServiceErrorsResult withServiceErrors(java.util.Collection serviceErrors) { if (serviceErrors == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeStacksRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeStacksRequest.java index da29e5cc1ed0..b595571be01b 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeStacksRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeStacksRequest.java @@ -80,9 +80,6 @@ public void setStackIds(java.util.Collection stackIds) { * @param stackIds An array of stack IDs that specify the stacks to be described. If you * omit this parameter, DescribeStacks returns a description * of every stack. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeStacksRequest withStackIds(String... stackIds) { if (getStackIds() == null) setStackIds(new java.util.ArrayList(stackIds.length)); @@ -102,9 +99,6 @@ public DescribeStacksRequest withStackIds(String... stackIds) { * @param stackIds An array of stack IDs that specify the stacks to be described. If you * omit this parameter, DescribeStacks returns a description * of every stack. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeStacksRequest withStackIds(java.util.Collection stackIds) { if (stackIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeStacksResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeStacksResult.java index 9713724060e4..bec3d463661f 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeStacksResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeStacksResult.java @@ -62,9 +62,6 @@ public void setStacks(java.util.Collection stacks) { * Returns a reference to this object so that method calls can be chained together. * * @param stacks An array of Stack objects that describe the stacks. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeStacksResult withStacks(Stack... stacks) { if (getStacks() == null) setStacks(new java.util.ArrayList(stacks.length)); @@ -80,9 +77,6 @@ public DescribeStacksResult withStacks(Stack... stacks) { * Returns a reference to this object so that method calls can be chained together. * * @param stacks An array of Stack objects that describe the stacks. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeStacksResult withStacks(java.util.Collection stacks) { if (stacks == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeTimeBasedAutoScalingRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeTimeBasedAutoScalingRequest.java index 77ee3a178b60..5319c7474b14 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeTimeBasedAutoScalingRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeTimeBasedAutoScalingRequest.java @@ -66,9 +66,6 @@ public void setInstanceIds(java.util.Collection instanceIds) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds An array of instance IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeTimeBasedAutoScalingRequest withInstanceIds(String... instanceIds) { if (getInstanceIds() == null) setInstanceIds(new java.util.ArrayList(instanceIds.length)); @@ -84,9 +81,6 @@ public DescribeTimeBasedAutoScalingRequest withInstanceIds(String... instanceIds * Returns a reference to this object so that method calls can be chained together. * * @param instanceIds An array of instance IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeTimeBasedAutoScalingRequest withInstanceIds(java.util.Collection instanceIds) { if (instanceIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeTimeBasedAutoScalingResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeTimeBasedAutoScalingResult.java index 05e335e5bc61..2e14c85d1157 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeTimeBasedAutoScalingResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeTimeBasedAutoScalingResult.java @@ -69,9 +69,6 @@ public void setTimeBasedAutoScalingConfigurations(java.util.CollectionTimeBasedAutoScalingConfiguration objects * that describe the configuration for the specified instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeTimeBasedAutoScalingResult withTimeBasedAutoScalingConfigurations(TimeBasedAutoScalingConfiguration... timeBasedAutoScalingConfigurations) { if (getTimeBasedAutoScalingConfigurations() == null) setTimeBasedAutoScalingConfigurations(new java.util.ArrayList(timeBasedAutoScalingConfigurations.length)); @@ -89,9 +86,6 @@ public DescribeTimeBasedAutoScalingResult withTimeBasedAutoScalingConfigurations * * @param timeBasedAutoScalingConfigurations An array of TimeBasedAutoScalingConfiguration objects * that describe the configuration for the specified instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeTimeBasedAutoScalingResult withTimeBasedAutoScalingConfigurations(java.util.Collection timeBasedAutoScalingConfigurations) { if (timeBasedAutoScalingConfigurations == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeUserProfilesRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeUserProfilesRequest.java index 2959055bcbcf..f644f8b17713 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeUserProfilesRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeUserProfilesRequest.java @@ -66,9 +66,6 @@ public void setIamUserArns(java.util.Collection iamUserArns) { * Returns a reference to this object so that method calls can be chained together. * * @param iamUserArns An array of IAM user ARNs that identify the users to be described. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeUserProfilesRequest withIamUserArns(String... iamUserArns) { if (getIamUserArns() == null) setIamUserArns(new java.util.ArrayList(iamUserArns.length)); @@ -84,9 +81,6 @@ public DescribeUserProfilesRequest withIamUserArns(String... iamUserArns) { * Returns a reference to this object so that method calls can be chained together. * * @param iamUserArns An array of IAM user ARNs that identify the users to be described. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeUserProfilesRequest withIamUserArns(java.util.Collection iamUserArns) { if (iamUserArns == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeUserProfilesResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeUserProfilesResult.java index cadcf9e81a56..d16e86f1bf69 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeUserProfilesResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeUserProfilesResult.java @@ -62,9 +62,6 @@ public void setUserProfiles(java.util.Collection userProfiles) { * Returns a reference to this object so that method calls can be chained together. * * @param userProfiles A Users object that describes the specified users. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeUserProfilesResult withUserProfiles(UserProfile... userProfiles) { if (getUserProfiles() == null) setUserProfiles(new java.util.ArrayList(userProfiles.length)); @@ -80,9 +77,6 @@ public DescribeUserProfilesResult withUserProfiles(UserProfile... userProfiles) * Returns a reference to this object so that method calls can be chained together. * * @param userProfiles A Users object that describes the specified users. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeUserProfilesResult withUserProfiles(java.util.Collection userProfiles) { if (userProfiles == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeVolumesRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeVolumesRequest.java index 1469c246dade..817c14e48a4e 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeVolumesRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeVolumesRequest.java @@ -83,9 +83,6 @@ public void setInstanceId(String instanceId) { * @param instanceId The instance ID. If you use this parameter, * DescribeVolumes returns descriptions of the volumes * associated with the specified instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumesRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -129,9 +126,6 @@ public void setRaidArrayId(String raidArrayId) { * @param raidArrayId The RAID array ID. If you use this parameter, * DescribeVolumes returns descriptions of the volumes * associated with the specified RAID array. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumesRequest withRaidArrayId(String raidArrayId) { this.raidArrayId = raidArrayId; @@ -186,9 +180,6 @@ public void setVolumeIds(java.util.Collection volumeIds) { * @param volumeIds Am array of volume IDs. If you use this parameter, * DescribeVolumes returns descriptions of the specified * volumes. Otherwise, it returns a description of every volume. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumesRequest withVolumeIds(String... volumeIds) { if (getVolumeIds() == null) setVolumeIds(new java.util.ArrayList(volumeIds.length)); @@ -208,9 +199,6 @@ public DescribeVolumesRequest withVolumeIds(String... volumeIds) { * @param volumeIds Am array of volume IDs. If you use this parameter, * DescribeVolumes returns descriptions of the specified * volumes. Otherwise, it returns a description of every volume. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumesRequest withVolumeIds(java.util.Collection volumeIds) { if (volumeIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DescribeVolumesResult.java b/src/main/java/com/amazonaws/services/opsworks/model/DescribeVolumesResult.java index 7167e36e0423..9f3d6eec84c3 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DescribeVolumesResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DescribeVolumesResult.java @@ -62,9 +62,6 @@ public void setVolumes(java.util.Collection volumes) { * Returns a reference to this object so that method calls can be chained together. * * @param volumes An array of volume IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumesResult withVolumes(Volume... volumes) { if (getVolumes() == null) setVolumes(new java.util.ArrayList(volumes.length)); @@ -80,9 +77,6 @@ public DescribeVolumesResult withVolumes(Volume... volumes) { * Returns a reference to this object so that method calls can be chained together. * * @param volumes An array of volume IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeVolumesResult withVolumes(java.util.Collection volumes) { if (volumes == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/DetachElasticLoadBalancerRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/DetachElasticLoadBalancerRequest.java index 444d3126fddd..ab5a2c0dec68 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/DetachElasticLoadBalancerRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/DetachElasticLoadBalancerRequest.java @@ -61,9 +61,6 @@ public void setElasticLoadBalancerName(String elasticLoadBalancerName) { * Returns a reference to this object so that method calls can be chained together. * * @param elasticLoadBalancerName The Elastic Load Balancing instance's name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachElasticLoadBalancerRequest withElasticLoadBalancerName(String elasticLoadBalancerName) { this.elasticLoadBalancerName = elasticLoadBalancerName; @@ -101,9 +98,6 @@ public void setLayerId(String layerId) { * * @param layerId The ID of the layer that the Elastic Load Balancing instance is * attached to. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DetachElasticLoadBalancerRequest withLayerId(String layerId) { this.layerId = layerId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/ElasticIp.java b/src/main/java/com/amazonaws/services/opsworks/model/ElasticIp.java index 1bd57e6e2d6c..e5e09248c689 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/ElasticIp.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/ElasticIp.java @@ -63,9 +63,6 @@ public void setIp(String ip) { * Returns a reference to this object so that method calls can be chained together. * * @param ip The Elastic IP address - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ElasticIp withIp(String ip) { this.ip = ip; @@ -97,9 +94,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The Elastic IP address name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ElasticIp withName(String name) { this.name = name; @@ -143,9 +137,6 @@ public void setRegion(String region) { * @param region The AWS region. For more information, see Regions * and Endpoints. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ElasticIp withRegion(String region) { this.region = region; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/ElasticLoadBalancer.java b/src/main/java/com/amazonaws/services/opsworks/model/ElasticLoadBalancer.java index fbe433cbfeea..79547514464f 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/ElasticLoadBalancer.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/ElasticLoadBalancer.java @@ -82,9 +82,6 @@ public void setElasticLoadBalancerName(String elasticLoadBalancerName) { * Returns a reference to this object so that method calls can be chained together. * * @param elasticLoadBalancerName The Elastic Load Balancing instance's name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ElasticLoadBalancer withElasticLoadBalancerName(String elasticLoadBalancerName) { this.elasticLoadBalancerName = elasticLoadBalancerName; @@ -116,9 +113,6 @@ public void setRegion(String region) { * Returns a reference to this object so that method calls can be chained together. * * @param region The instance's AWS region. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ElasticLoadBalancer withRegion(String region) { this.region = region; @@ -150,9 +144,6 @@ public void setDnsName(String dnsName) { * Returns a reference to this object so that method calls can be chained together. * * @param dnsName The instance's public DNS name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ElasticLoadBalancer withDnsName(String dnsName) { this.dnsName = dnsName; @@ -184,9 +175,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The ID of the stack that the instance is associated with. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ElasticLoadBalancer withStackId(String stackId) { this.stackId = stackId; @@ -218,9 +206,6 @@ public void setLayerId(String layerId) { * Returns a reference to this object so that method calls can be chained together. * * @param layerId The ID of the layer that the instance is attached to. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ElasticLoadBalancer withLayerId(String layerId) { this.layerId = layerId; @@ -263,9 +248,6 @@ public void setAvailabilityZones(java.util.Collection availabilityZones) * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZones The instance's Availability Zones. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ElasticLoadBalancer withAvailabilityZones(String... availabilityZones) { if (getAvailabilityZones() == null) setAvailabilityZones(new java.util.ArrayList(availabilityZones.length)); @@ -281,9 +263,6 @@ public ElasticLoadBalancer withAvailabilityZones(String... availabilityZones) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZones The instance's Availability Zones. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ElasticLoadBalancer withAvailabilityZones(java.util.Collection availabilityZones) { if (availabilityZones == null) { @@ -338,9 +317,6 @@ public void setEc2InstanceIds(java.util.Collection ec2InstanceIds) { * * @param ec2InstanceIds A list of the EC2 instances that the Elastic Load Balancing instance * is managing traffic for. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ElasticLoadBalancer withEc2InstanceIds(String... ec2InstanceIds) { if (getEc2InstanceIds() == null) setEc2InstanceIds(new java.util.ArrayList(ec2InstanceIds.length)); @@ -358,9 +334,6 @@ public ElasticLoadBalancer withEc2InstanceIds(String... ec2InstanceIds) { * * @param ec2InstanceIds A list of the EC2 instances that the Elastic Load Balancing instance * is managing traffic for. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ElasticLoadBalancer withEc2InstanceIds(java.util.Collection ec2InstanceIds) { if (ec2InstanceIds == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/GetHostnameSuggestionRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/GetHostnameSuggestionRequest.java index 89880e320d36..336eeb257216 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/GetHostnameSuggestionRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/GetHostnameSuggestionRequest.java @@ -55,9 +55,6 @@ public void setLayerId(String layerId) { * Returns a reference to this object so that method calls can be chained together. * * @param layerId The layer ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public GetHostnameSuggestionRequest withLayerId(String layerId) { this.layerId = layerId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/GetHostnameSuggestionResult.java b/src/main/java/com/amazonaws/services/opsworks/model/GetHostnameSuggestionResult.java index dd63d782a4d6..54405a0eb48c 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/GetHostnameSuggestionResult.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/GetHostnameSuggestionResult.java @@ -56,9 +56,6 @@ public void setLayerId(String layerId) { * Returns a reference to this object so that method calls can be chained together. * * @param layerId The layer ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public GetHostnameSuggestionResult withLayerId(String layerId) { this.layerId = layerId; @@ -90,9 +87,6 @@ public void setHostname(String hostname) { * Returns a reference to this object so that method calls can be chained together. * * @param hostname The generated hostname. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public GetHostnameSuggestionResult withHostname(String hostname) { this.hostname = hostname; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/Instance.java b/src/main/java/com/amazonaws/services/opsworks/model/Instance.java index d39e6f673358..1cfef7908925 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/Instance.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/Instance.java @@ -205,9 +205,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -239,9 +236,6 @@ public void setEc2InstanceId(String ec2InstanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param ec2InstanceId The ID of the associated Amazon EC2 instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withEc2InstanceId(String ec2InstanceId) { this.ec2InstanceId = ec2InstanceId; @@ -273,9 +267,6 @@ public void setHostname(String hostname) { * Returns a reference to this object so that method calls can be chained together. * * @param hostname The instance host name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withHostname(String hostname) { this.hostname = hostname; @@ -307,9 +298,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withStackId(String stackId) { this.stackId = stackId; @@ -352,9 +340,6 @@ public void setLayerIds(java.util.Collection layerIds) { * Returns a reference to this object so that method calls can be chained together. * * @param layerIds An array containing the instance layer IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withLayerIds(String... layerIds) { if (getLayerIds() == null) setLayerIds(new java.util.ArrayList(layerIds.length)); @@ -370,9 +355,6 @@ public Instance withLayerIds(String... layerIds) { * Returns a reference to this object so that method calls can be chained together. * * @param layerIds An array containing the instance layer IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withLayerIds(java.util.Collection layerIds) { if (layerIds == null) { @@ -421,9 +403,6 @@ public void setSecurityGroupIds(java.util.Collection securityGroupIds) { * Returns a reference to this object so that method calls can be chained together. * * @param securityGroupIds An array containing the instance security group IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withSecurityGroupIds(String... securityGroupIds) { if (getSecurityGroupIds() == null) setSecurityGroupIds(new java.util.ArrayList(securityGroupIds.length)); @@ -439,9 +418,6 @@ public Instance withSecurityGroupIds(String... securityGroupIds) { * Returns a reference to this object so that method calls can be chained together. * * @param securityGroupIds An array containing the instance security group IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withSecurityGroupIds(java.util.Collection securityGroupIds) { if (securityGroupIds == null) { @@ -515,9 +491,6 @@ public void setInstanceType(String instanceType) { * Families and Types. The parameter values that specify the various * types are in the API Name column of the Available Instance Types * table. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withInstanceType(String instanceType) { this.instanceType = instanceType; @@ -567,9 +540,6 @@ public void setInstanceProfileArn(String instanceProfileArn) { * ARNs, see Using * Identifiers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withInstanceProfileArn(String instanceProfileArn) { this.instanceProfileArn = instanceProfileArn; @@ -619,9 +589,6 @@ public void setStatus(String status) { *

  • running_setup
  • online
  • setup_failed
  • *
  • start_failed
  • terminating
  • terminated
  • *
  • stopped
  • connection_lost
  • - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withStatus(String status) { this.status = status; @@ -653,9 +620,6 @@ public void setOs(String os) { * Returns a reference to this object so that method calls can be chained together. * * @param os The instance operating system. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withOs(String os) { this.os = os; @@ -699,9 +663,6 @@ public void setAvailabilityZone(String availabilityZone) { * @param availabilityZone The instance Availability Zone. For more information, see Regions * and Endpoints. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -733,9 +694,6 @@ public void setPublicDns(String publicDns) { * Returns a reference to this object so that method calls can be chained together. * * @param publicDns The instance public DNS name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withPublicDns(String publicDns) { this.publicDns = publicDns; @@ -767,9 +725,6 @@ public void setPrivateDns(String privateDns) { * Returns a reference to this object so that method calls can be chained together. * * @param privateDns The instance private DNS name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withPrivateDns(String privateDns) { this.privateDns = privateDns; @@ -801,9 +756,6 @@ public void setPublicIp(String publicIp) { * Returns a reference to this object so that method calls can be chained together. * * @param publicIp The instance public IP address. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withPublicIp(String publicIp) { this.publicIp = publicIp; @@ -835,9 +787,6 @@ public void setPrivateIp(String privateIp) { * Returns a reference to this object so that method calls can be chained together. * * @param privateIp The instance private IP address. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withPrivateIp(String privateIp) { this.privateIp = privateIp; @@ -881,9 +830,6 @@ public void setElasticIp(String elasticIp) { * @param elasticIp The instance Elastic * IP address . - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withElasticIp(String elasticIp) { this.elasticIp = elasticIp; @@ -965,9 +911,6 @@ public void setAutoScalingType(String autoScalingType) { * auto scaling instance, which is started and stopped based on load * metrics. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see AutoScalingType */ public Instance withAutoScalingType(String autoScalingType) { @@ -1024,9 +967,6 @@ public void setAutoScalingType(AutoScalingType autoScalingType) { * auto scaling instance, which is started and stopped based on load * metrics. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see AutoScalingType */ public Instance withAutoScalingType(AutoScalingType autoScalingType) { @@ -1058,9 +998,6 @@ public void setSshKeyName(String sshKeyName) { * Returns a reference to this object so that method calls can be chained together. * * @param sshKeyName The instance SSH key name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withSshKeyName(String sshKeyName) { this.sshKeyName = sshKeyName; @@ -1092,9 +1029,6 @@ public void setSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint) { * Returns a reference to this object so that method calls can be chained together. * * @param sshHostRsaKeyFingerprint The SSH key's RSA fingerprint. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withSshHostRsaKeyFingerprint(String sshHostRsaKeyFingerprint) { this.sshHostRsaKeyFingerprint = sshHostRsaKeyFingerprint; @@ -1126,9 +1060,6 @@ public void setSshHostDsaKeyFingerprint(String sshHostDsaKeyFingerprint) { * Returns a reference to this object so that method calls can be chained together. * * @param sshHostDsaKeyFingerprint The SSH key's DSA fingerprint. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withSshHostDsaKeyFingerprint(String sshHostDsaKeyFingerprint) { this.sshHostDsaKeyFingerprint = sshHostDsaKeyFingerprint; @@ -1160,9 +1091,6 @@ public void setCreatedAt(String createdAt) { * Returns a reference to this object so that method calls can be chained together. * * @param createdAt The time that the instance was created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withCreatedAt(String createdAt) { this.createdAt = createdAt; @@ -1200,9 +1128,6 @@ public void setLastServiceErrorId(String lastServiceErrorId) { * * @param lastServiceErrorId The ID of the last service error. For more information, call * DescribeServiceErrors. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withLastServiceErrorId(String lastServiceErrorId) { this.lastServiceErrorId = lastServiceErrorId; @@ -1248,9 +1173,6 @@ public void setArchitecture(String architecture) { * * @param architecture The instance architecture, "i386" or "x86_64". * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see Architecture */ public Instance withArchitecture(String architecture) { @@ -1283,9 +1205,6 @@ public void setArchitecture(Architecture architecture) { * * @param architecture The instance architecture, "i386" or "x86_64". * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see Architecture */ public Instance withArchitecture(Architecture architecture) { @@ -1343,9 +1262,6 @@ public void setRootDeviceType(String rootDeviceType) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device">Storage * for the Root Device. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RootDeviceType */ public Instance withRootDeviceType(String rootDeviceType) { @@ -1386,9 +1302,6 @@ public void setRootDeviceType(RootDeviceType rootDeviceType) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device">Storage * for the Root Device. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RootDeviceType */ public Instance withRootDeviceType(RootDeviceType rootDeviceType) { @@ -1420,9 +1333,6 @@ public void setRootDeviceVolumeId(String rootDeviceVolumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param rootDeviceVolumeId The root device volume ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Instance withRootDeviceVolumeId(String rootDeviceVolumeId) { this.rootDeviceVolumeId = rootDeviceVolumeId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/Layer.java b/src/main/java/com/amazonaws/services/opsworks/model/Layer.java index ae8fee50b309..b20efc6d930a 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/Layer.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/Layer.java @@ -151,9 +151,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The layer stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withStackId(String stackId) { this.stackId = stackId; @@ -185,9 +182,6 @@ public void setLayerId(String layerId) { * Returns a reference to this object so that method calls can be chained together. * * @param layerId The layer ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withLayerId(String layerId) { this.layerId = layerId; @@ -251,9 +245,6 @@ public void setType(String type) { *
  • MemcachedServer
  • MySqlMaster
  • NodeJsAppServer
  • *
  • PhpAppServer
  • RailsAppServer
  • WebServer
  • * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see LayerType */ public Layer withType(String type) { @@ -298,9 +289,6 @@ public void setType(LayerType type) { *
  • MemcachedServer
  • MySqlMaster
  • NodeJsAppServer
  • *
  • PhpAppServer
  • RailsAppServer
  • WebServer
  • * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see LayerType */ public Layer withType(LayerType type) { @@ -332,9 +320,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The layer name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withName(String name) { this.name = name; @@ -366,9 +351,6 @@ public void setShortname(String shortname) { * Returns a reference to this object so that method calls can be chained together. * * @param shortname The layer short name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withShortname(String shortname) { this.shortname = shortname; @@ -387,7 +369,6 @@ public java.util.Map getAttributes() { attributes = new java.util.HashMap(); } return attributes; - } /** @@ -405,15 +386,43 @@ public void setAttributes(java.util.Map attributes) { * Returns a reference to this object so that method calls can be chained together. * * @param attributes The layer attributes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withAttributes(java.util.Map attributes) { setAttributes(attributes); return this; } + + /** + * The layer attributes. + *

    + * The method adds a new key-value pair into Attributes parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Attributes. + * @param value The corresponding value of the entry to be added into Attributes. + */ + public Layer addAttributesEntry(String key, String value) { + if (null == this.attributes) { + this.attributes = new java.util.HashMap(); + } + if (this.attributes.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.attributes.put(key, value); + return this; + } + + /** + * Removes all the entries added into Attributes. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public Layer clearAttributesEntries() { + this.attributes = null; + return this; + } + /** * The ARN of the default IAM profile to be used for the layer's EC2 * instances. For more information about IAM ARNs, see Using * Identifiers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withCustomInstanceProfileArn(String customInstanceProfileArn) { this.customInstanceProfileArn = customInstanceProfileArn; @@ -501,9 +507,6 @@ public void setCustomSecurityGroupIds(java.util.Collection customSecurit * Returns a reference to this object so that method calls can be chained together. * * @param customSecurityGroupIds An array containing the layer's custom security group IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withCustomSecurityGroupIds(String... customSecurityGroupIds) { if (getCustomSecurityGroupIds() == null) setCustomSecurityGroupIds(new java.util.ArrayList(customSecurityGroupIds.length)); @@ -519,9 +522,6 @@ public Layer withCustomSecurityGroupIds(String... customSecurityGroupIds) { * Returns a reference to this object so that method calls can be chained together. * * @param customSecurityGroupIds An array containing the layer's custom security group IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withCustomSecurityGroupIds(java.util.Collection customSecurityGroupIds) { if (customSecurityGroupIds == null) { @@ -570,9 +570,6 @@ public void setDefaultSecurityGroupNames(java.util.Collection defaultSec * Returns a reference to this object so that method calls can be chained together. * * @param defaultSecurityGroupNames An array containing the layer's security group names. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withDefaultSecurityGroupNames(String... defaultSecurityGroupNames) { if (getDefaultSecurityGroupNames() == null) setDefaultSecurityGroupNames(new java.util.ArrayList(defaultSecurityGroupNames.length)); @@ -588,9 +585,6 @@ public Layer withDefaultSecurityGroupNames(String... defaultSecurityGroupNames) * Returns a reference to this object so that method calls can be chained together. * * @param defaultSecurityGroupNames An array containing the layer's security group names. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withDefaultSecurityGroupNames(java.util.Collection defaultSecurityGroupNames) { if (defaultSecurityGroupNames == null) { @@ -645,9 +639,6 @@ public void setPackages(java.util.Collection packages) { * * @param packages An array of Package objects that describe the layer's * packages. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withPackages(String... packages) { if (getPackages() == null) setPackages(new java.util.ArrayList(packages.length)); @@ -665,9 +656,6 @@ public Layer withPackages(String... packages) { * * @param packages An array of Package objects that describe the layer's * packages. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withPackages(java.util.Collection packages) { if (packages == null) { @@ -722,9 +710,6 @@ public void setVolumeConfigurations(java.util.Collection vo * * @param volumeConfigurations A VolumeConfigurations object that describes the layer's * Amazon EBS volumes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withVolumeConfigurations(VolumeConfiguration... volumeConfigurations) { if (getVolumeConfigurations() == null) setVolumeConfigurations(new java.util.ArrayList(volumeConfigurations.length)); @@ -742,9 +727,6 @@ public Layer withVolumeConfigurations(VolumeConfiguration... volumeConfiguration * * @param volumeConfigurations A VolumeConfigurations object that describes the layer's * Amazon EBS volumes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withVolumeConfigurations(java.util.Collection volumeConfigurations) { if (volumeConfigurations == null) { @@ -782,9 +764,6 @@ public void setEnableAutoHealing(Boolean enableAutoHealing) { * Returns a reference to this object so that method calls can be chained together. * * @param enableAutoHealing Whether auto healing is disabled for the layer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withEnableAutoHealing(Boolean enableAutoHealing) { this.enableAutoHealing = enableAutoHealing; @@ -837,9 +816,6 @@ public void setAutoAssignElasticIps(Boolean autoAssignElasticIps) { * @param autoAssignElasticIps Whether the layer has an automatically assigned Elastic * IP address. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withAutoAssignElasticIps(Boolean autoAssignElasticIps) { this.autoAssignElasticIps = autoAssignElasticIps; @@ -950,9 +926,6 @@ public void setDefaultRecipes(Recipes defaultRecipes) { * name, which is the recipe's file name without the .rb extension. For * example: phpapp2::dbsetup specifies the dbsetup.rb recipe in the * repository's phpapp2 folder. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withDefaultRecipes(Recipes defaultRecipes) { this.defaultRecipes = defaultRecipes; @@ -990,9 +963,6 @@ public void setCustomRecipes(Recipes customRecipes) { * * @param customRecipes A LayerCustomRecipes object that specifies the layer's * custom recipes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withCustomRecipes(Recipes customRecipes) { this.customRecipes = customRecipes; @@ -1024,9 +994,6 @@ public void setCreatedAt(String createdAt) { * Returns a reference to this object so that method calls can be chained together. * * @param createdAt Date when the layer was created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Layer withCreatedAt(String createdAt) { this.createdAt = createdAt; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/LoadBasedAutoScalingConfiguration.java b/src/main/java/com/amazonaws/services/opsworks/model/LoadBasedAutoScalingConfiguration.java index e7fa18871974..c855126266c9 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/LoadBasedAutoScalingConfiguration.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/LoadBasedAutoScalingConfiguration.java @@ -70,9 +70,6 @@ public void setLayerId(String layerId) { * Returns a reference to this object so that method calls can be chained together. * * @param layerId The layer ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBasedAutoScalingConfiguration withLayerId(String layerId) { this.layerId = layerId; @@ -104,9 +101,6 @@ public void setEnable(Boolean enable) { * Returns a reference to this object so that method calls can be chained together. * * @param enable Whether load-based auto scaling is enabled for the layer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBasedAutoScalingConfiguration withEnable(Boolean enable) { this.enable = enable; @@ -159,9 +153,6 @@ public void setUpScaling(AutoScalingThresholds upScaling) { * @param upScaling A LoadBasedAutoscalingInstruction object that describes * the upscaling configuration, which defines how and when OpsWorks * increases the number of instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBasedAutoScalingConfiguration withUpScaling(AutoScalingThresholds upScaling) { this.upScaling = upScaling; @@ -205,9 +196,6 @@ public void setDownScaling(AutoScalingThresholds downScaling) { * @param downScaling A LoadBasedAutoscalingInstruction object that describes * the downscaling configuration, which defines how and when OpsWorks * reduces the number of instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public LoadBasedAutoScalingConfiguration withDownScaling(AutoScalingThresholds downScaling) { this.downScaling = downScaling; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/Permission.java b/src/main/java/com/amazonaws/services/opsworks/model/Permission.java index cba72b4eaf9f..c2edb03922e3 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/Permission.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/Permission.java @@ -69,9 +69,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId A stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Permission withStackId(String stackId) { this.stackId = stackId; @@ -121,9 +118,6 @@ public void setIamUserArn(String iamUserArn) { * Management (IAM) role. For more information about IAM ARNs, see Using * Identifiers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Permission withIamUserArn(String iamUserArn) { this.iamUserArn = iamUserArn; @@ -155,9 +149,6 @@ public void setAllowSsh(Boolean allowSsh) { * Returns a reference to this object so that method calls can be chained together. * * @param allowSsh Whether the user can use SSH. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Permission withAllowSsh(Boolean allowSsh) { this.allowSsh = allowSsh; @@ -198,9 +189,6 @@ public void setAllowSudo(Boolean allowSudo) { * Returns a reference to this object so that method calls can be chained together. * * @param allowSudo Whether the user can use sudo. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Permission withAllowSudo(Boolean allowSudo) { this.allowSudo = allowSudo; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/RaidArray.java b/src/main/java/com/amazonaws/services/opsworks/model/RaidArray.java index 112e3a7fafc8..58e34639993a 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/RaidArray.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/RaidArray.java @@ -99,9 +99,6 @@ public void setRaidArrayId(String raidArrayId) { * Returns a reference to this object so that method calls can be chained together. * * @param raidArrayId The array ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RaidArray withRaidArrayId(String raidArrayId) { this.raidArrayId = raidArrayId; @@ -133,9 +130,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RaidArray withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -167,9 +161,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The array name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RaidArray withName(String name) { this.name = name; @@ -207,9 +198,6 @@ public void setRaidLevel(Integer raidLevel) { * * @param raidLevel The RAID * level. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RaidArray withRaidLevel(Integer raidLevel) { this.raidLevel = raidLevel; @@ -241,9 +229,6 @@ public void setNumberOfDisks(Integer numberOfDisks) { * Returns a reference to this object so that method calls can be chained together. * * @param numberOfDisks The number of disks in the array. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RaidArray withNumberOfDisks(Integer numberOfDisks) { this.numberOfDisks = numberOfDisks; @@ -275,9 +260,6 @@ public void setSize(Integer size) { * Returns a reference to this object so that method calls can be chained together. * * @param size The array's size. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RaidArray withSize(Integer size) { this.size = size; @@ -309,9 +291,6 @@ public void setDevice(String device) { * Returns a reference to this object so that method calls can be chained together. * * @param device The array's Linux device. For example /dev/mdadm0. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RaidArray withDevice(String device) { this.device = device; @@ -343,9 +322,6 @@ public void setMountPoint(String mountPoint) { * Returns a reference to this object so that method calls can be chained together. * * @param mountPoint The array's mount point. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RaidArray withMountPoint(String mountPoint) { this.mountPoint = mountPoint; @@ -389,9 +365,6 @@ public void setAvailabilityZone(String availabilityZone) { * @param availabilityZone The array's Availability Zone. For more information, see Regions * and Endpoints. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RaidArray withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -423,9 +396,6 @@ public void setCreatedAt(String createdAt) { * Returns a reference to this object so that method calls can be chained together. * * @param createdAt When the RAID array was created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RaidArray withCreatedAt(String createdAt) { this.createdAt = createdAt; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/RebootInstanceRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/RebootInstanceRequest.java index 53250dbc06b6..9b885de20902 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/RebootInstanceRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/RebootInstanceRequest.java @@ -56,9 +56,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RebootInstanceRequest withInstanceId(String instanceId) { this.instanceId = instanceId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/Recipes.java b/src/main/java/com/amazonaws/services/opsworks/model/Recipes.java index 92e3ac640961..adabe3a19c55 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/Recipes.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/Recipes.java @@ -103,9 +103,6 @@ public void setSetup(java.util.Collection setup) { * * @param setup An array of custom recipe names to be run following a * setup event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Recipes withSetup(String... setup) { if (getSetup() == null) setSetup(new java.util.ArrayList(setup.length)); @@ -123,9 +120,6 @@ public Recipes withSetup(String... setup) { * * @param setup An array of custom recipe names to be run following a * setup event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Recipes withSetup(java.util.Collection setup) { if (setup == null) { @@ -180,9 +174,6 @@ public void setConfigure(java.util.Collection configure) { * * @param configure An array of custom recipe names to be run following a * configure event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Recipes withConfigure(String... configure) { if (getConfigure() == null) setConfigure(new java.util.ArrayList(configure.length)); @@ -200,9 +191,6 @@ public Recipes withConfigure(String... configure) { * * @param configure An array of custom recipe names to be run following a * configure event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Recipes withConfigure(java.util.Collection configure) { if (configure == null) { @@ -257,9 +245,6 @@ public void setDeploy(java.util.Collection deploy) { * * @param deploy An array of custom recipe names to be run following a * deploy event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Recipes withDeploy(String... deploy) { if (getDeploy() == null) setDeploy(new java.util.ArrayList(deploy.length)); @@ -277,9 +262,6 @@ public Recipes withDeploy(String... deploy) { * * @param deploy An array of custom recipe names to be run following a * deploy event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Recipes withDeploy(java.util.Collection deploy) { if (deploy == null) { @@ -334,9 +316,6 @@ public void setUndeploy(java.util.Collection undeploy) { * * @param undeploy An array of custom recipe names to be run following a * undeploy event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Recipes withUndeploy(String... undeploy) { if (getUndeploy() == null) setUndeploy(new java.util.ArrayList(undeploy.length)); @@ -354,9 +333,6 @@ public Recipes withUndeploy(String... undeploy) { * * @param undeploy An array of custom recipe names to be run following a * undeploy event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Recipes withUndeploy(java.util.Collection undeploy) { if (undeploy == null) { @@ -411,9 +387,6 @@ public void setShutdown(java.util.Collection shutdown) { * * @param shutdown An array of custom recipe names to be run following a * shutdown event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Recipes withShutdown(String... shutdown) { if (getShutdown() == null) setShutdown(new java.util.ArrayList(shutdown.length)); @@ -431,9 +404,6 @@ public Recipes withShutdown(String... shutdown) { * * @param shutdown An array of custom recipe names to be run following a * shutdown event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Recipes withShutdown(java.util.Collection shutdown) { if (shutdown == null) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/ServiceError.java b/src/main/java/com/amazonaws/services/opsworks/model/ServiceError.java index 4bb54afec327..f42d2a10dbd1 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/ServiceError.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/ServiceError.java @@ -76,9 +76,6 @@ public void setServiceErrorId(String serviceErrorId) { * Returns a reference to this object so that method calls can be chained together. * * @param serviceErrorId The error ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ServiceError withServiceErrorId(String serviceErrorId) { this.serviceErrorId = serviceErrorId; @@ -110,9 +107,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ServiceError withStackId(String stackId) { this.stackId = stackId; @@ -144,9 +138,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ServiceError withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -178,9 +169,6 @@ public void setType(String type) { * Returns a reference to this object so that method calls can be chained together. * * @param type The error type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ServiceError withType(String type) { this.type = type; @@ -212,9 +200,6 @@ public void setMessage(String message) { * Returns a reference to this object so that method calls can be chained together. * * @param message A message that describes the error. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ServiceError withMessage(String message) { this.message = message; @@ -246,9 +231,6 @@ public void setCreatedAt(String createdAt) { * Returns a reference to this object so that method calls can be chained together. * * @param createdAt When the error occurred. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ServiceError withCreatedAt(String createdAt) { this.createdAt = createdAt; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/SetLoadBasedAutoScalingRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/SetLoadBasedAutoScalingRequest.java index f20b592fd983..bab75982ba9e 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/SetLoadBasedAutoScalingRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/SetLoadBasedAutoScalingRequest.java @@ -82,9 +82,6 @@ public void setLayerId(String layerId) { * Returns a reference to this object so that method calls can be chained together. * * @param layerId The layer ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBasedAutoScalingRequest withLayerId(String layerId) { this.layerId = layerId; @@ -116,9 +113,6 @@ public void setEnable(Boolean enable) { * Returns a reference to this object so that method calls can be chained together. * * @param enable Enables load-based auto scaling for the layer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBasedAutoScalingRequest withEnable(Boolean enable) { this.enable = enable; @@ -177,9 +171,6 @@ public void setUpScaling(AutoScalingThresholds upScaling) { * threshold configuration. If the load exceeds these thresholds for a * specified amount of time, OpsWorks starts a specified number of * instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBasedAutoScalingRequest withUpScaling(AutoScalingThresholds upScaling) { this.upScaling = upScaling; @@ -229,9 +220,6 @@ public void setDownScaling(AutoScalingThresholds downScaling) { * threshold configuration. If the load falls below these thresholds for * a specified amount of time, OpsWorks stops a specified number of * instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetLoadBasedAutoScalingRequest withDownScaling(AutoScalingThresholds downScaling) { this.downScaling = downScaling; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/SetPermissionRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/SetPermissionRequest.java index 69ab13bc2a50..a427a3bd6157 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/SetPermissionRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/SetPermissionRequest.java @@ -71,9 +71,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetPermissionRequest withStackId(String stackId) { this.stackId = stackId; @@ -105,9 +102,6 @@ public void setIamUserArn(String iamUserArn) { * Returns a reference to this object so that method calls can be chained together. * * @param iamUserArn The user's IAM ARN. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetPermissionRequest withIamUserArn(String iamUserArn) { this.iamUserArn = iamUserArn; @@ -139,9 +133,6 @@ public void setAllowSsh(Boolean allowSsh) { * Returns a reference to this object so that method calls can be chained together. * * @param allowSsh The user is allowed to use SSH to communicate with the instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetPermissionRequest withAllowSsh(Boolean allowSsh) { this.allowSsh = allowSsh; @@ -182,9 +173,6 @@ public void setAllowSudo(Boolean allowSudo) { * Returns a reference to this object so that method calls can be chained together. * * @param allowSudo The user is allowed to use sudo to elevate privileges. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetPermissionRequest withAllowSudo(Boolean allowSudo) { this.allowSudo = allowSudo; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/SetTimeBasedAutoScalingRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/SetTimeBasedAutoScalingRequest.java index 51cabbf4cf52..63bf0ef5ece6 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/SetTimeBasedAutoScalingRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/SetTimeBasedAutoScalingRequest.java @@ -62,9 +62,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetTimeBasedAutoScalingRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -96,9 +93,6 @@ public void setAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule * Returns a reference to this object so that method calls can be chained together. * * @param autoScalingSchedule An AutoScalingSchedule with the instance schedule. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SetTimeBasedAutoScalingRequest withAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule) { this.autoScalingSchedule = autoScalingSchedule; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/Source.java b/src/main/java/com/amazonaws/services/opsworks/model/Source.java index 9bfd5d2d7823..f14ef04302f0 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/Source.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/Source.java @@ -104,9 +104,6 @@ public void setType(String type) { * * @param type The repository type. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SourceType */ public Source withType(String type) { @@ -139,9 +136,6 @@ public void setType(SourceType type) { * * @param type The repository type. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SourceType */ public Source withType(SourceType type) { @@ -173,9 +167,6 @@ public void setUrl(String url) { * Returns a reference to this object so that method calls can be chained together. * * @param url The source URL. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Source withUrl(String url) { this.url = url; @@ -225,9 +216,6 @@ public void setUsername(String username) { * bundles, set Username to the appropriate AWS access * key.

  • For HTTP bundles, Git repositories, and Subversion * repositories, set Username to the user name.
  • - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Source withUsername(String username) { this.username = username; @@ -277,9 +265,6 @@ public void setPassword(String password) { * bundles, set Password to the appropriate AWS secret * key.
  • For HTTP bundles, Git repositories, and Subversion * repositories, set Password to the password.
  • - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Source withPassword(String password) { this.password = password; @@ -311,9 +296,6 @@ public void setSshKey(String sshKey) { * Returns a reference to this object so that method calls can be chained together. * * @param sshKey The repository's SSH key. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Source withSshKey(String sshKey) { this.sshKey = sshKey; @@ -363,9 +345,6 @@ public void setRevision(String revision) { * versions of an application. One of the simplest approaches is to have * branches or revisions in your repository that represent different * versions that can potentially be deployed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Source withRevision(String revision) { this.revision = revision; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/SslConfiguration.java b/src/main/java/com/amazonaws/services/opsworks/model/SslConfiguration.java index 0e78899abbe2..c8a180430369 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/SslConfiguration.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/SslConfiguration.java @@ -62,9 +62,6 @@ public void setCertificate(String certificate) { * Returns a reference to this object so that method calls can be chained together. * * @param certificate The contents of the certificate's domain.crt file. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SslConfiguration withCertificate(String certificate) { this.certificate = certificate; @@ -96,9 +93,6 @@ public void setPrivateKey(String privateKey) { * Returns a reference to this object so that method calls can be chained together. * * @param privateKey The private key; the contents of the certificate's domain.kex file. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SslConfiguration withPrivateKey(String privateKey) { this.privateKey = privateKey; @@ -136,9 +130,6 @@ public void setChain(String chain) { * * @param chain Optional. Can be used to specify an intermediate certificate authority * key or client authentication. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public SslConfiguration withChain(String chain) { this.chain = chain; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/Stack.java b/src/main/java/com/amazonaws/services/opsworks/model/Stack.java index f0a238df0f8b..ed43bc8dd399 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/Stack.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/Stack.java @@ -149,9 +149,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withStackId(String stackId) { this.stackId = stackId; @@ -183,9 +180,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The stack name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withName(String name) { this.name = name; @@ -235,9 +229,6 @@ public void setRegion(String region) { * AWS regions, see Regions * and Endpoints. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withRegion(String region) { this.region = region; @@ -256,7 +247,6 @@ public java.util.Map getAttributes() { attributes = new java.util.HashMap(); } return attributes; - } /** @@ -274,15 +264,43 @@ public void setAttributes(java.util.Map attributes) { * Returns a reference to this object so that method calls can be chained together. * * @param attributes The contents of the stack's attributes bag. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withAttributes(java.util.Map attributes) { setAttributes(attributes); return this; } + + /** + * The contents of the stack's attributes bag. + *

    + * The method adds a new key-value pair into Attributes parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Attributes. + * @param value The corresponding value of the entry to be added into Attributes. + */ + public Stack addAttributesEntry(String key, String value) { + if (null == this.attributes) { + this.attributes = new java.util.HashMap(); + } + if (this.attributes.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.attributes.put(key, value); + return this; + } + + /** + * Removes all the entries added into Attributes. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public Stack clearAttributesEntries() { + this.attributes = null; + return this; + } + /** * The stack AWS Identity and Access Management (IAM) role. * @@ -307,9 +325,6 @@ public void setServiceRoleArn(String serviceRoleArn) { * Returns a reference to this object so that method calls can be chained together. * * @param serviceRoleArn The stack AWS Identity and Access Management (IAM) role. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withServiceRoleArn(String serviceRoleArn) { this.serviceRoleArn = serviceRoleArn; @@ -359,9 +374,6 @@ public void setDefaultInstanceProfileArn(String defaultInstanceProfileArn) { * stack's EC2 instances. For more information about IAM ARNs, see Using * Identifiers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withDefaultInstanceProfileArn(String defaultInstanceProfileArn) { this.defaultInstanceProfileArn = defaultInstanceProfileArn; @@ -399,9 +411,6 @@ public void setDefaultOs(String defaultOs) { * * @param defaultOs The cloned stack default operating system, which must be either * "Amazon Linux" or "Ubuntu 12.04 LTS". - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withDefaultOs(String defaultOs) { this.defaultOs = defaultOs; @@ -433,9 +442,6 @@ public void setHostnameTheme(String hostnameTheme) { * Returns a reference to this object so that method calls can be chained together. * * @param hostnameTheme The stack host name theme, with spaces replaced by underscores. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withHostnameTheme(String hostnameTheme) { this.hostnameTheme = hostnameTheme; @@ -479,9 +485,6 @@ public void setDefaultAvailabilityZone(String defaultAvailabilityZone) { * @param defaultAvailabilityZone The stack's default Availability Zone. For more information, see Regions * and Endpoints. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withDefaultAvailabilityZone(String defaultAvailabilityZone) { this.defaultAvailabilityZone = defaultAvailabilityZone; @@ -549,9 +552,6 @@ public void setCustomJson(String customJson) { * \"value2\",...}"

    For more information on custom JSON, see * Use Custom JSON to Modify the Stack Configuration JSON. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withCustomJson(String customJson) { this.customJson = customJson; @@ -583,9 +583,6 @@ public void setUseCustomCookbooks(Boolean useCustomCookbooks) { * Returns a reference to this object so that method calls can be chained together. * * @param useCustomCookbooks Whether the stack uses custom cookbooks. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withUseCustomCookbooks(Boolean useCustomCookbooks) { this.useCustomCookbooks = useCustomCookbooks; @@ -656,9 +653,6 @@ public void setCustomCookbooksSource(Source customCookbooksSource) { * Apps or Custom * Recipes and Cookbooks. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withCustomCookbooksSource(Source customCookbooksSource) { this.customCookbooksSource = customCookbooksSource; @@ -696,9 +690,6 @@ public void setDefaultSshKeyName(String defaultSshKeyName) { * * @param defaultSshKeyName A default SSH key for the stack's instances. You can override this * value when you create or update an instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withDefaultSshKeyName(String defaultSshKeyName) { this.defaultSshKeyName = defaultSshKeyName; @@ -730,9 +721,6 @@ public void setCreatedAt(String createdAt) { * Returns a reference to this object so that method calls can be chained together. * * @param createdAt Date when the stack was created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Stack withCreatedAt(String createdAt) { this.createdAt = createdAt; @@ -802,9 +790,6 @@ public void setDefaultRootDeviceType(String defaultRootDeviceType) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device">Storage * for the Root Device. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RootDeviceType */ public Stack withDefaultRootDeviceType(String defaultRootDeviceType) { @@ -853,9 +838,6 @@ public void setDefaultRootDeviceType(RootDeviceType defaultRootDeviceType) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device">Storage * for the Root Device. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RootDeviceType */ public Stack withDefaultRootDeviceType(RootDeviceType defaultRootDeviceType) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/StartInstanceRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/StartInstanceRequest.java index 28ea919a498e..55002bf89ab5 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/StartInstanceRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/StartInstanceRequest.java @@ -56,9 +56,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StartInstanceRequest withInstanceId(String instanceId) { this.instanceId = instanceId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/StartStackRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/StartStackRequest.java index 5db4531a98b5..d12fe27a44b1 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/StartStackRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/StartStackRequest.java @@ -55,9 +55,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StartStackRequest withStackId(String stackId) { this.stackId = stackId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/StopInstanceRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/StopInstanceRequest.java index 61d6dbe75147..503721ff0c4e 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/StopInstanceRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/StopInstanceRequest.java @@ -57,9 +57,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StopInstanceRequest withInstanceId(String instanceId) { this.instanceId = instanceId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/StopStackRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/StopStackRequest.java index f515656d28ff..d5249b448eb7 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/StopStackRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/StopStackRequest.java @@ -55,9 +55,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public StopStackRequest withStackId(String stackId) { this.stackId = stackId; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/TimeBasedAutoScalingConfiguration.java b/src/main/java/com/amazonaws/services/opsworks/model/TimeBasedAutoScalingConfiguration.java index 5d5817924b65..11457cea1b1c 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/TimeBasedAutoScalingConfiguration.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/TimeBasedAutoScalingConfiguration.java @@ -57,9 +57,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public TimeBasedAutoScalingConfiguration withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -97,9 +94,6 @@ public void setAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule * * @param autoScalingSchedule A WeeklyAutoScalingSchedule object with the instance * schedule. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public TimeBasedAutoScalingConfiguration withAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule) { this.autoScalingSchedule = autoScalingSchedule; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/UpdateAppRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/UpdateAppRequest.java index 131ffd0c5017..a73448580689 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/UpdateAppRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/UpdateAppRequest.java @@ -100,9 +100,6 @@ public void setAppId(String appId) { * Returns a reference to this object so that method calls can be chained together. * * @param appId The app ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateAppRequest withAppId(String appId) { this.appId = appId; @@ -134,9 +131,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The app name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateAppRequest withName(String name) { this.name = name; @@ -168,9 +162,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description A description of the app. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateAppRequest withDescription(String description) { this.description = description; @@ -216,9 +207,6 @@ public void setType(String type) { * * @param type The app type. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see AppType */ public UpdateAppRequest withType(String type) { @@ -251,9 +239,6 @@ public void setType(AppType type) { * * @param type The app type. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see AppType */ public UpdateAppRequest withType(AppType type) { @@ -285,9 +270,6 @@ public void setAppSource(Source appSource) { * Returns a reference to this object so that method calls can be chained together. * * @param appSource A Source object that specifies the app repository. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateAppRequest withAppSource(Source appSource) { this.appSource = appSource; @@ -336,9 +318,6 @@ public void setDomains(java.util.Collection domains) { * * @param domains The app's virtual host settings, with multiple domains separated by * commas. For example: 'www.example.com, example.com' - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateAppRequest withDomains(String... domains) { if (getDomains() == null) setDomains(new java.util.ArrayList(domains.length)); @@ -356,9 +335,6 @@ public UpdateAppRequest withDomains(String... domains) { * * @param domains The app's virtual host settings, with multiple domains separated by * commas. For example: 'www.example.com, example.com' - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateAppRequest withDomains(java.util.Collection domains) { if (domains == null) { @@ -396,9 +372,6 @@ public void setEnableSsl(Boolean enableSsl) { * Returns a reference to this object so that method calls can be chained together. * * @param enableSsl Whether SSL is enabled for the app. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateAppRequest withEnableSsl(Boolean enableSsl) { this.enableSsl = enableSsl; @@ -439,9 +412,6 @@ public void setSslConfiguration(SslConfiguration sslConfiguration) { * Returns a reference to this object so that method calls can be chained together. * * @param sslConfiguration An SslConfiguration object with the SSL configuration. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateAppRequest withSslConfiguration(SslConfiguration sslConfiguration) { this.sslConfiguration = sslConfiguration; @@ -462,7 +432,6 @@ public java.util.Map getAttributes() { attributes = new java.util.HashMap(); } return attributes; - } /** @@ -484,15 +453,44 @@ public void setAttributes(java.util.Map attributes) { * * @param attributes One or more user-defined key/value pairs to be added to the stack * attributes bag. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateAppRequest withAttributes(java.util.Map attributes) { setAttributes(attributes); return this; } + + /** + * One or more user-defined key/value pairs to be added to the stack + * attributes bag. + *

    + * The method adds a new key-value pair into Attributes parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Attributes. + * @param value The corresponding value of the entry to be added into Attributes. + */ + public UpdateAppRequest addAttributesEntry(String key, String value) { + if (null == this.attributes) { + this.attributes = new java.util.HashMap(); + } + if (this.attributes.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.attributes.put(key, value); + return this; + } + + /** + * Removes all the entries added into Attributes. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public UpdateAppRequest clearAttributesEntries() { + this.attributes = null; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. diff --git a/src/main/java/com/amazonaws/services/opsworks/model/UpdateInstanceRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/UpdateInstanceRequest.java index 2ac14848b662..651c1e89b75b 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/UpdateInstanceRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/UpdateInstanceRequest.java @@ -112,9 +112,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateInstanceRequest withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -157,9 +154,6 @@ public void setLayerIds(java.util.Collection layerIds) { * Returns a reference to this object so that method calls can be chained together. * * @param layerIds The instance's layer IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateInstanceRequest withLayerIds(String... layerIds) { if (getLayerIds() == null) setLayerIds(new java.util.ArrayList(layerIds.length)); @@ -175,9 +169,6 @@ public UpdateInstanceRequest withLayerIds(String... layerIds) { * Returns a reference to this object so that method calls can be chained together. * * @param layerIds The instance's layer IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateInstanceRequest withLayerIds(java.util.Collection layerIds) { if (layerIds == null) { @@ -251,9 +242,6 @@ public void setInstanceType(String instanceType) { * Families and Types. The parameter values that you use to specify * the various types are in the API Name column of the Available Instance * Types table. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateInstanceRequest withInstanceType(String instanceType) { this.instanceType = instanceType; @@ -335,9 +323,6 @@ public void setAutoScalingType(String autoScalingType) { * auto scaling instance, which is started and stopped based on load * metrics. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see AutoScalingType */ public UpdateInstanceRequest withAutoScalingType(String autoScalingType) { @@ -394,9 +379,6 @@ public void setAutoScalingType(AutoScalingType autoScalingType) { * auto scaling instance, which is started and stopped based on load * metrics. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see AutoScalingType */ public UpdateInstanceRequest withAutoScalingType(AutoScalingType autoScalingType) { @@ -428,9 +410,6 @@ public void setHostname(String hostname) { * Returns a reference to this object so that method calls can be chained together. * * @param hostname The instance host name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateInstanceRequest withHostname(String hostname) { this.hostname = hostname; @@ -462,9 +441,6 @@ public void setOs(String os) { * Returns a reference to this object so that method calls can be chained together. * * @param os The instance operating system. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateInstanceRequest withOs(String os) { this.os = os; @@ -496,9 +472,6 @@ public void setSshKeyName(String sshKeyName) { * Returns a reference to this object so that method calls can be chained together. * * @param sshKeyName The instance SSH key name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateInstanceRequest withSshKeyName(String sshKeyName) { this.sshKeyName = sshKeyName; @@ -568,9 +541,6 @@ public void setArchitecture(String architecture) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance * Families and Types. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see Architecture */ public UpdateInstanceRequest withArchitecture(String architecture) { @@ -619,9 +589,6 @@ public void setArchitecture(Architecture architecture) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance * Families and Types. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see Architecture */ public UpdateInstanceRequest withArchitecture(Architecture architecture) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/UpdateLayerRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/UpdateLayerRequest.java index fb60a2ec2c80..542827d34bde 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/UpdateLayerRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/UpdateLayerRequest.java @@ -117,9 +117,6 @@ public void setLayerId(String layerId) { * Returns a reference to this object so that method calls can be chained together. * * @param layerId The layer ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withLayerId(String layerId) { this.layerId = layerId; @@ -151,9 +148,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The layer name, which is used by the console. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withName(String name) { this.name = name; @@ -203,9 +197,6 @@ public void setShortname(String shortname) { * The shortname is also used as the name for the directory where your * app files are installed. It can have a maximum of 200 characters and * must be in the following format: /\A[a-z0-9\-\_\.]+\Z/. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withShortname(String shortname) { this.shortname = shortname; @@ -226,7 +217,6 @@ public java.util.Map getAttributes() { attributes = new java.util.HashMap(); } return attributes; - } /** @@ -248,15 +238,44 @@ public void setAttributes(java.util.Map attributes) { * * @param attributes One or more user-defined key/value pairs to be added to the stack * attributes bag. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withAttributes(java.util.Map attributes) { setAttributes(attributes); return this; } + + /** + * One or more user-defined key/value pairs to be added to the stack + * attributes bag. + *

    + * The method adds a new key-value pair into Attributes parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Attributes. + * @param value The corresponding value of the entry to be added into Attributes. + */ + public UpdateLayerRequest addAttributesEntry(String key, String value) { + if (null == this.attributes) { + this.attributes = new java.util.HashMap(); + } + if (this.attributes.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.attributes.put(key, value); + return this; + } + + /** + * Removes all the entries added into Attributes. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public UpdateLayerRequest clearAttributesEntries() { + this.attributes = null; + return this; + } + /** * The ARN of an IAM profile to be used for all of the layer's EC2 * instances. For more information about IAM ARNs, see Using * Identifiers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withCustomInstanceProfileArn(String customInstanceProfileArn) { this.customInstanceProfileArn = customInstanceProfileArn; @@ -344,9 +360,6 @@ public void setCustomSecurityGroupIds(java.util.Collection customSecurit * Returns a reference to this object so that method calls can be chained together. * * @param customSecurityGroupIds An array containing the layer's custom security group IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withCustomSecurityGroupIds(String... customSecurityGroupIds) { if (getCustomSecurityGroupIds() == null) setCustomSecurityGroupIds(new java.util.ArrayList(customSecurityGroupIds.length)); @@ -362,9 +375,6 @@ public UpdateLayerRequest withCustomSecurityGroupIds(String... customSecurityGro * Returns a reference to this object so that method calls can be chained together. * * @param customSecurityGroupIds An array containing the layer's custom security group IDs. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withCustomSecurityGroupIds(java.util.Collection customSecurityGroupIds) { if (customSecurityGroupIds == null) { @@ -419,9 +429,6 @@ public void setPackages(java.util.Collection packages) { * * @param packages An array of Package objects that describe the layer's * packages. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withPackages(String... packages) { if (getPackages() == null) setPackages(new java.util.ArrayList(packages.length)); @@ -439,9 +446,6 @@ public UpdateLayerRequest withPackages(String... packages) { * * @param packages An array of Package objects that describe the layer's * packages. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withPackages(java.util.Collection packages) { if (packages == null) { @@ -496,9 +500,6 @@ public void setVolumeConfigurations(java.util.Collection vo * * @param volumeConfigurations A VolumeConfigurations object that describes the layer's * Amazon EBS volumes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withVolumeConfigurations(VolumeConfiguration... volumeConfigurations) { if (getVolumeConfigurations() == null) setVolumeConfigurations(new java.util.ArrayList(volumeConfigurations.length)); @@ -516,9 +517,6 @@ public UpdateLayerRequest withVolumeConfigurations(VolumeConfiguration... volume * * @param volumeConfigurations A VolumeConfigurations object that describes the layer's * Amazon EBS volumes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withVolumeConfigurations(java.util.Collection volumeConfigurations) { if (volumeConfigurations == null) { @@ -556,9 +554,6 @@ public void setEnableAutoHealing(Boolean enableAutoHealing) { * Returns a reference to this object so that method calls can be chained together. * * @param enableAutoHealing Whether to disable auto healing for the layer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withEnableAutoHealing(Boolean enableAutoHealing) { this.enableAutoHealing = enableAutoHealing; @@ -611,9 +606,6 @@ public void setAutoAssignElasticIps(Boolean autoAssignElasticIps) { * @param autoAssignElasticIps Whether to automatically assign an Elastic * IP address to the layer. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withAutoAssignElasticIps(Boolean autoAssignElasticIps) { this.autoAssignElasticIps = autoAssignElasticIps; @@ -664,9 +656,6 @@ public void setCustomRecipes(Recipes customRecipes) { * * @param customRecipes A LayerCustomRecipes object that specifies the layer's * custom recipes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateLayerRequest withCustomRecipes(Recipes customRecipes) { this.customRecipes = customRecipes; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/UpdateStackRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/UpdateStackRequest.java index 7770a28317be..c3b228a2e3fd 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/UpdateStackRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/UpdateStackRequest.java @@ -160,9 +160,6 @@ public void setStackId(String stackId) { * Returns a reference to this object so that method calls can be chained together. * * @param stackId The stack ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateStackRequest withStackId(String stackId) { this.stackId = stackId; @@ -194,9 +191,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The stack's new name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateStackRequest withName(String name) { this.name = name; @@ -217,7 +211,6 @@ public java.util.Map getAttributes() { attributes = new java.util.HashMap(); } return attributes; - } /** @@ -239,15 +232,44 @@ public void setAttributes(java.util.Map attributes) { * * @param attributes One or more user-defined key/value pairs to be added to the stack * attributes bag. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateStackRequest withAttributes(java.util.Map attributes) { setAttributes(attributes); return this; } + + /** + * One or more user-defined key/value pairs to be added to the stack + * attributes bag. + *

    + * The method adds a new key-value pair into Attributes parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Attributes. + * @param value The corresponding value of the entry to be added into Attributes. + */ + public UpdateStackRequest addAttributesEntry(String key, String value) { + if (null == this.attributes) { + this.attributes = new java.util.HashMap(); + } + if (this.attributes.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.attributes.put(key, value); + return this; + } + + /** + * Removes all the entries added into Attributes. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public UpdateStackRequest clearAttributesEntries() { + this.attributes = null; + return this; + } + /** * The stack AWS Identity and Access Management (IAM) role, which allows * OpsWorks to work with AWS resources on your behalf. You must set this @@ -320,9 +342,6 @@ public void setServiceRoleArn(String serviceRoleArn) { * role ARN or the action will fail; there is no default value. You can * specify the stack's current service role ARN, if you prefer, but you * must do so explicitly. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateStackRequest withServiceRoleArn(String serviceRoleArn) { this.serviceRoleArn = serviceRoleArn; @@ -372,9 +391,6 @@ public void setDefaultInstanceProfileArn(String defaultInstanceProfileArn) { * stack's EC2 instances. For more information about IAM ARNs, see Using * Identifiers. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateStackRequest withDefaultInstanceProfileArn(String defaultInstanceProfileArn) { this.defaultInstanceProfileArn = defaultInstanceProfileArn; @@ -412,9 +428,6 @@ public void setDefaultOs(String defaultOs) { * * @param defaultOs The cloned stack default operating system, which must be either * "Amazon Linux" or "Ubuntu 12.04 LTS". - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateStackRequest withDefaultOs(String defaultOs) { this.defaultOs = defaultOs; @@ -512,9 +525,6 @@ public void setHostnameTheme(String hostnameTheme) { *

    To obtain a generated hostname, call * GetHostNameSuggestion, which returns a hostname based on * the current theme. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateStackRequest withHostnameTheme(String hostnameTheme) { this.hostnameTheme = hostnameTheme; @@ -558,9 +568,6 @@ public void setDefaultAvailabilityZone(String defaultAvailabilityZone) { * @param defaultAvailabilityZone The stack new default Availability Zone. For more information, see Regions * and Endpoints. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateStackRequest withDefaultAvailabilityZone(String defaultAvailabilityZone) { this.defaultAvailabilityZone = defaultAvailabilityZone; @@ -628,9 +635,6 @@ public void setCustomJson(String customJson) { * \"value2\",...}"

    For more information on custom JSON, see * Use Custom JSON to Modify the Stack Configuration JSON. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateStackRequest withCustomJson(String customJson) { this.customJson = customJson; @@ -662,9 +666,6 @@ public void setUseCustomCookbooks(Boolean useCustomCookbooks) { * Returns a reference to this object so that method calls can be chained together. * * @param useCustomCookbooks Whether the stack uses custom cookbooks. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateStackRequest withUseCustomCookbooks(Boolean useCustomCookbooks) { this.useCustomCookbooks = useCustomCookbooks; @@ -735,9 +736,6 @@ public void setCustomCookbooksSource(Source customCookbooksSource) { * Apps or Custom * Recipes and Cookbooks. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateStackRequest withCustomCookbooksSource(Source customCookbooksSource) { this.customCookbooksSource = customCookbooksSource; @@ -775,9 +773,6 @@ public void setDefaultSshKeyName(String defaultSshKeyName) { * * @param defaultSshKeyName A default SSH key for the stack instances. You can override this value * when you create or update an instance. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateStackRequest withDefaultSshKeyName(String defaultSshKeyName) { this.defaultSshKeyName = defaultSshKeyName; @@ -847,9 +842,6 @@ public void setDefaultRootDeviceType(String defaultRootDeviceType) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device">Storage * for the Root Device. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RootDeviceType */ public UpdateStackRequest withDefaultRootDeviceType(String defaultRootDeviceType) { @@ -898,9 +890,6 @@ public void setDefaultRootDeviceType(RootDeviceType defaultRootDeviceType) { * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device">Storage * for the Root Device. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see RootDeviceType */ public UpdateStackRequest withDefaultRootDeviceType(RootDeviceType defaultRootDeviceType) { diff --git a/src/main/java/com/amazonaws/services/opsworks/model/UpdateUserProfileRequest.java b/src/main/java/com/amazonaws/services/opsworks/model/UpdateUserProfileRequest.java index 2f2bf3c410bc..24d6e68fa66c 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/UpdateUserProfileRequest.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/UpdateUserProfileRequest.java @@ -65,9 +65,6 @@ public void setIamUserArn(String iamUserArn) { * Returns a reference to this object so that method calls can be chained together. * * @param iamUserArn The user IAM ARN. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateUserProfileRequest withIamUserArn(String iamUserArn) { this.iamUserArn = iamUserArn; @@ -99,9 +96,6 @@ public void setSshUsername(String sshUsername) { * Returns a reference to this object so that method calls can be chained together. * * @param sshUsername The user's new SSH user name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateUserProfileRequest withSshUsername(String sshUsername) { this.sshUsername = sshUsername; @@ -133,9 +127,6 @@ public void setSshPublicKey(String sshPublicKey) { * Returns a reference to this object so that method calls can be chained together. * * @param sshPublicKey The user's new SSH public key. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UpdateUserProfileRequest withSshPublicKey(String sshPublicKey) { this.sshPublicKey = sshPublicKey; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/UserProfile.java b/src/main/java/com/amazonaws/services/opsworks/model/UserProfile.java index 1f439b1f98df..e62ca88c4fcc 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/UserProfile.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/UserProfile.java @@ -66,9 +66,6 @@ public void setIamUserArn(String iamUserArn) { * Returns a reference to this object so that method calls can be chained together. * * @param iamUserArn The user IAM ARN. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UserProfile withIamUserArn(String iamUserArn) { this.iamUserArn = iamUserArn; @@ -100,9 +97,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The user name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UserProfile withName(String name) { this.name = name; @@ -134,9 +128,6 @@ public void setSshUsername(String sshUsername) { * Returns a reference to this object so that method calls can be chained together. * * @param sshUsername The user's SSH user name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UserProfile withSshUsername(String sshUsername) { this.sshUsername = sshUsername; @@ -168,9 +159,6 @@ public void setSshPublicKey(String sshPublicKey) { * Returns a reference to this object so that method calls can be chained together. * * @param sshPublicKey The user's SSH public key. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public UserProfile withSshPublicKey(String sshPublicKey) { this.sshPublicKey = sshPublicKey; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/Volume.java b/src/main/java/com/amazonaws/services/opsworks/model/Volume.java index 0093231354b4..96e4a6ce5e6c 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/Volume.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/Volume.java @@ -106,9 +106,6 @@ public void setVolumeId(String volumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param volumeId The volume ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withVolumeId(String volumeId) { this.volumeId = volumeId; @@ -140,9 +137,6 @@ public void setEc2VolumeId(String ec2VolumeId) { * Returns a reference to this object so that method calls can be chained together. * * @param ec2VolumeId The Amazon EC2 volume ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withEc2VolumeId(String ec2VolumeId) { this.ec2VolumeId = ec2VolumeId; @@ -174,9 +168,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The volume name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withName(String name) { this.name = name; @@ -208,9 +199,6 @@ public void setRaidArrayId(String raidArrayId) { * Returns a reference to this object so that method calls can be chained together. * * @param raidArrayId The RAID array ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withRaidArrayId(String raidArrayId) { this.raidArrayId = raidArrayId; @@ -242,9 +230,6 @@ public void setInstanceId(String instanceId) { * Returns a reference to this object so that method calls can be chained together. * * @param instanceId The instance ID. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withInstanceId(String instanceId) { this.instanceId = instanceId; @@ -282,9 +267,6 @@ public void setStatus(String status) { * * @param status The value returned by DescribeVolumes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withStatus(String status) { this.status = status; @@ -316,9 +298,6 @@ public void setSize(Integer size) { * Returns a reference to this object so that method calls can be chained together. * * @param size The volume size. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withSize(Integer size) { this.size = size; @@ -350,9 +329,6 @@ public void setDevice(String device) { * Returns a reference to this object so that method calls can be chained together. * * @param device The device name. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withDevice(String device) { this.device = device; @@ -384,9 +360,6 @@ public void setMountPoint(String mountPoint) { * Returns a reference to this object so that method calls can be chained together. * * @param mountPoint The volume mount point. For example "/dev/sdh". - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withMountPoint(String mountPoint) { this.mountPoint = mountPoint; @@ -430,9 +403,6 @@ public void setRegion(String region) { * @param region The AWS region. For more information about AWS regions, see Regions * and Endpoints. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withRegion(String region) { this.region = region; @@ -476,9 +446,6 @@ public void setAvailabilityZone(String availabilityZone) { * @param availabilityZone The volume Availability Zone. For more information, see Regions * and Endpoints. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Volume withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/VolumeConfiguration.java b/src/main/java/com/amazonaws/services/opsworks/model/VolumeConfiguration.java index c00ad5e9dc95..b84adc011733 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/VolumeConfiguration.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/VolumeConfiguration.java @@ -68,9 +68,6 @@ public void setMountPoint(String mountPoint) { * Returns a reference to this object so that method calls can be chained together. * * @param mountPoint The volume mount point. For example "/dev/sdh". - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeConfiguration withMountPoint(String mountPoint) { this.mountPoint = mountPoint; @@ -114,9 +111,6 @@ public void setRaidLevel(Integer raidLevel) { * @param raidLevel The volume RAID * level. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeConfiguration withRaidLevel(Integer raidLevel) { this.raidLevel = raidLevel; @@ -148,9 +142,6 @@ public void setNumberOfDisks(Integer numberOfDisks) { * Returns a reference to this object so that method calls can be chained together. * * @param numberOfDisks The number of disks in the volume. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeConfiguration withNumberOfDisks(Integer numberOfDisks) { this.numberOfDisks = numberOfDisks; @@ -182,9 +173,6 @@ public void setSize(Integer size) { * Returns a reference to this object so that method calls can be chained together. * * @param size The volume size. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VolumeConfiguration withSize(Integer size) { this.size = size; diff --git a/src/main/java/com/amazonaws/services/opsworks/model/WeeklyAutoScalingSchedule.java b/src/main/java/com/amazonaws/services/opsworks/model/WeeklyAutoScalingSchedule.java index 8770cf229b6b..60c7c0313b1a 100644 --- a/src/main/java/com/amazonaws/services/opsworks/model/WeeklyAutoScalingSchedule.java +++ b/src/main/java/com/amazonaws/services/opsworks/model/WeeklyAutoScalingSchedule.java @@ -84,7 +84,6 @@ public java.util.Map getMonday() { monday = new java.util.HashMap(); } return monday; - } /** @@ -102,15 +101,43 @@ public void setMonday(java.util.Map monday) { * Returns a reference to this object so that method calls can be chained together. * * @param monday The schedule for Monday. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public WeeklyAutoScalingSchedule withMonday(java.util.Map monday) { setMonday(monday); return this; } + + /** + * The schedule for Monday. + *

    + * The method adds a new key-value pair into Monday parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Monday. + * @param value The corresponding value of the entry to be added into Monday. + */ + public WeeklyAutoScalingSchedule addMondayEntry(String key, String value) { + if (null == this.monday) { + this.monday = new java.util.HashMap(); + } + if (this.monday.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.monday.put(key, value); + return this; + } + + /** + * Removes all the entries added into Monday. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public WeeklyAutoScalingSchedule clearMondayEntries() { + this.monday = null; + return this; + } + /** * The schedule for Tuesday. * @@ -122,7 +149,6 @@ public java.util.Map getTuesday() { tuesday = new java.util.HashMap(); } return tuesday; - } /** @@ -140,15 +166,43 @@ public void setTuesday(java.util.Map tuesday) { * Returns a reference to this object so that method calls can be chained together. * * @param tuesday The schedule for Tuesday. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public WeeklyAutoScalingSchedule withTuesday(java.util.Map tuesday) { setTuesday(tuesday); return this; } + + /** + * The schedule for Tuesday. + *

    + * The method adds a new key-value pair into Tuesday parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Tuesday. + * @param value The corresponding value of the entry to be added into Tuesday. + */ + public WeeklyAutoScalingSchedule addTuesdayEntry(String key, String value) { + if (null == this.tuesday) { + this.tuesday = new java.util.HashMap(); + } + if (this.tuesday.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.tuesday.put(key, value); + return this; + } + + /** + * Removes all the entries added into Tuesday. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public WeeklyAutoScalingSchedule clearTuesdayEntries() { + this.tuesday = null; + return this; + } + /** * The schedule for Wednesday. * @@ -160,7 +214,6 @@ public java.util.Map getWednesday() { wednesday = new java.util.HashMap(); } return wednesday; - } /** @@ -178,15 +231,43 @@ public void setWednesday(java.util.Map wednesday) { * Returns a reference to this object so that method calls can be chained together. * * @param wednesday The schedule for Wednesday. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public WeeklyAutoScalingSchedule withWednesday(java.util.Map wednesday) { setWednesday(wednesday); return this; } + + /** + * The schedule for Wednesday. + *

    + * The method adds a new key-value pair into Wednesday parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Wednesday. + * @param value The corresponding value of the entry to be added into Wednesday. + */ + public WeeklyAutoScalingSchedule addWednesdayEntry(String key, String value) { + if (null == this.wednesday) { + this.wednesday = new java.util.HashMap(); + } + if (this.wednesday.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.wednesday.put(key, value); + return this; + } + + /** + * Removes all the entries added into Wednesday. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public WeeklyAutoScalingSchedule clearWednesdayEntries() { + this.wednesday = null; + return this; + } + /** * The schedule for Thursday. * @@ -198,7 +279,6 @@ public java.util.Map getThursday() { thursday = new java.util.HashMap(); } return thursday; - } /** @@ -216,15 +296,43 @@ public void setThursday(java.util.Map thursday) { * Returns a reference to this object so that method calls can be chained together. * * @param thursday The schedule for Thursday. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public WeeklyAutoScalingSchedule withThursday(java.util.Map thursday) { setThursday(thursday); return this; } + + /** + * The schedule for Thursday. + *

    + * The method adds a new key-value pair into Thursday parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Thursday. + * @param value The corresponding value of the entry to be added into Thursday. + */ + public WeeklyAutoScalingSchedule addThursdayEntry(String key, String value) { + if (null == this.thursday) { + this.thursday = new java.util.HashMap(); + } + if (this.thursday.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.thursday.put(key, value); + return this; + } + + /** + * Removes all the entries added into Thursday. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public WeeklyAutoScalingSchedule clearThursdayEntries() { + this.thursday = null; + return this; + } + /** * The schedule for Friday. * @@ -236,7 +344,6 @@ public java.util.Map getFriday() { friday = new java.util.HashMap(); } return friday; - } /** @@ -254,15 +361,43 @@ public void setFriday(java.util.Map friday) { * Returns a reference to this object so that method calls can be chained together. * * @param friday The schedule for Friday. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public WeeklyAutoScalingSchedule withFriday(java.util.Map friday) { setFriday(friday); return this; } + + /** + * The schedule for Friday. + *

    + * The method adds a new key-value pair into Friday parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Friday. + * @param value The corresponding value of the entry to be added into Friday. + */ + public WeeklyAutoScalingSchedule addFridayEntry(String key, String value) { + if (null == this.friday) { + this.friday = new java.util.HashMap(); + } + if (this.friday.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.friday.put(key, value); + return this; + } + + /** + * Removes all the entries added into Friday. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public WeeklyAutoScalingSchedule clearFridayEntries() { + this.friday = null; + return this; + } + /** * The schedule for Saturday. * @@ -274,7 +409,6 @@ public java.util.Map getSaturday() { saturday = new java.util.HashMap(); } return saturday; - } /** @@ -292,15 +426,43 @@ public void setSaturday(java.util.Map saturday) { * Returns a reference to this object so that method calls can be chained together. * * @param saturday The schedule for Saturday. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public WeeklyAutoScalingSchedule withSaturday(java.util.Map saturday) { setSaturday(saturday); return this; } + + /** + * The schedule for Saturday. + *

    + * The method adds a new key-value pair into Saturday parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Saturday. + * @param value The corresponding value of the entry to be added into Saturday. + */ + public WeeklyAutoScalingSchedule addSaturdayEntry(String key, String value) { + if (null == this.saturday) { + this.saturday = new java.util.HashMap(); + } + if (this.saturday.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.saturday.put(key, value); + return this; + } + + /** + * Removes all the entries added into Saturday. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public WeeklyAutoScalingSchedule clearSaturdayEntries() { + this.saturday = null; + return this; + } + /** * The schedule for Sunday. * @@ -312,7 +474,6 @@ public java.util.Map getSunday() { sunday = new java.util.HashMap(); } return sunday; - } /** @@ -330,15 +491,43 @@ public void setSunday(java.util.Map sunday) { * Returns a reference to this object so that method calls can be chained together. * * @param sunday The schedule for Sunday. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public WeeklyAutoScalingSchedule withSunday(java.util.Map sunday) { setSunday(sunday); return this; } + + /** + * The schedule for Sunday. + *

    + * The method adds a new key-value pair into Sunday parameter, and + * returns a reference to this object so that method calls can be chained + * together. + * + * @param key The key of the entry to be added into Sunday. + * @param value The corresponding value of the entry to be added into Sunday. + */ + public WeeklyAutoScalingSchedule addSundayEntry(String key, String value) { + if (null == this.sunday) { + this.sunday = new java.util.HashMap(); + } + if (this.sunday.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); + this.sunday.put(key, value); + return this; + } + + /** + * Removes all the entries added into Sunday. + *

    + * Returns a reference to this object so that method calls can be chained together. + */ + public WeeklyAutoScalingSchedule clearSundayEntries() { + this.sunday = null; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. diff --git a/src/main/java/com/amazonaws/services/redshift/AmazonRedshift.java b/src/main/java/com/amazonaws/services/redshift/AmazonRedshift.java index 5ba70cb6f24c..4f19e8741f4b 100644 --- a/src/main/java/com/amazonaws/services/redshift/AmazonRedshift.java +++ b/src/main/java/com/amazonaws/services/redshift/AmazonRedshift.java @@ -79,8 +79,8 @@ * *

  • * Amazon Redshift Database Database Developer - If you are a database developer, the Amazon Redshift Database Developer Guide explains how to design, build, query, and - * maintain the databases that make up your data warehouse. + * href="http://docs.aws.amazon.com/redshift/latest/dg/"> Database Developer Guide explains how to design, build, query, and maintain the databases + * that make up your data warehouse. *

    *
  • * @@ -150,6 +150,41 @@ public interface AmazonRedshift { */ public void setRegion(Region region) throws java.lang.IllegalArgumentException; + /** + *

    + * Removes the ability of the specified AWS customer account to restore + * the specified snapshot. If the account is currently restoring the + * snapshot, the restore will run to completion. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management + * Guide . + *

    + * + * @param revokeSnapshotAccessRequest Container for the necessary + * parameters to execute the RevokeSnapshotAccess service method on + * AmazonRedshift. + * + * @return The response from the RevokeSnapshotAccess service method, as + * returned by AmazonRedshift. + * + * @throws AccessToSnapshotDeniedException + * @throws ClusterSnapshotNotFoundException + * @throws AuthorizationNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonRedshift indicating + * either a problem with the data in the request, or a server side issue. + */ + public Snapshot revokeSnapshotAccess(RevokeSnapshotAccessRequest revokeSnapshotAccessRequest) + throws AmazonServiceException, AmazonClientException; + /** *

    * Modifies a cluster subnet group to include the specified list of VPC @@ -166,6 +201,7 @@ public interface AmazonRedshift { * * @throws SubnetAlreadyInUseException * @throws InvalidSubnetException + * @throws UnauthorizedOperationException * @throws ClusterSubnetQuotaExceededException * @throws ClusterSubnetGroupNotFoundException * @@ -249,6 +285,7 @@ public ReservedNode purchaseReservedNodeOffering(PurchaseReservedNodeOfferingReq * * @throws InvalidClusterSecurityGroupStateException * @throws InsufficientClusterCapacityException + * @throws UnauthorizedOperationException * @throws InvalidClusterStateException * @throws NumberOfNodesQuotaExceededException * @throws ClusterNotFoundException @@ -418,7 +455,7 @@ public DescribeOrderableClusterOptionsResult describeOrderableClusterOptions(Des *

    *

    * For information about subnet groups, go to + * zon.com/redshift/latest/mgmt/working-with-cluster-subnet-groups.html"> * Amazon Redshift Cluster Subnet Groups in the Amazon Redshift * Management Guide . * @@ -432,6 +469,7 @@ public DescribeOrderableClusterOptionsResult describeOrderableClusterOptions(Des * as returned by AmazonRedshift. * * @throws InvalidSubnetException + * @throws UnauthorizedOperationException * @throws ClusterSubnetQuotaExceededException * @throws ClusterSubnetGroupAlreadyExistsException * @throws ClusterSubnetGroupQuotaExceededException @@ -534,21 +572,24 @@ public DescribeClusterSubnetGroupsResult describeClusterSubnetGroups(DescribeClu /** *

    - * Creates a manual snapshot of the specified cluster. The cluster must - * be in the "available" state. - *

    - *

    - * For more information about working with snapshots, go to - * Amazon Redshift Snapshots in the Amazon Redshift Management + * Deletes a previously provisioned cluster. A successful response from + * the web service indicates that the request was received correctly. If + * a final cluster snapshot is requested the status of the cluster will + * be "final-snapshot" while the snapshot is being taken, then it's + * "deleting" once Amazon Redshift begins deleting the cluster. Use + * DescribeClusters to monitor the status of the deletion. The delete + * operation cannot be canceled or reverted once submitted. For more + * information about managing clusters, go to + * Amazon Redshift Clusters in the Amazon Redshift Management * Guide . + * *

    * - * @param createClusterSnapshotRequest Container for the necessary - * parameters to execute the CreateClusterSnapshot service method on - * AmazonRedshift. + * @param deleteClusterRequest Container for the necessary parameters to + * execute the DeleteCluster service method on AmazonRedshift. * - * @return The response from the CreateClusterSnapshot service method, as + * @return The response from the DeleteCluster service method, as * returned by AmazonRedshift. * * @throws ClusterSnapshotAlreadyExistsException @@ -564,29 +605,26 @@ public DescribeClusterSubnetGroupsResult describeClusterSubnetGroups(DescribeClu * If an error response is returned by AmazonRedshift indicating * either a problem with the data in the request, or a server side issue. */ - public Snapshot createClusterSnapshot(CreateClusterSnapshotRequest createClusterSnapshotRequest) + public Cluster deleteCluster(DeleteClusterRequest deleteClusterRequest) throws AmazonServiceException, AmazonClientException; /** *

    - * Deletes a previously provisioned cluster. A successful response from - * the web service indicates that the request was received correctly. If - * a final cluster snapshot is requested the status of the cluster will - * be "final-snapshot" while the snapshot is being taken, then it's - * "deleting" once Amazon Redshift begins deleting the cluster. Use - * DescribeClusters to monitor the status of the deletion. The delete - * operation cannot be canceled or reverted once submitted. For more - * information about managing clusters, go to - * Amazon Redshift Clusters in the Amazon Redshift Management + * Creates a manual snapshot of the specified cluster. The cluster must + * be in the "available" state. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management * Guide . - * *

    * - * @param deleteClusterRequest Container for the necessary parameters to - * execute the DeleteCluster service method on AmazonRedshift. + * @param createClusterSnapshotRequest Container for the necessary + * parameters to execute the CreateClusterSnapshot service method on + * AmazonRedshift. * - * @return The response from the DeleteCluster service method, as + * @return The response from the CreateClusterSnapshot service method, as * returned by AmazonRedshift. * * @throws ClusterSnapshotAlreadyExistsException @@ -602,7 +640,7 @@ public Snapshot createClusterSnapshot(CreateClusterSnapshotRequest createCluster * If an error response is returned by AmazonRedshift indicating * either a problem with the data in the request, or a server side issue. */ - public Cluster deleteCluster(DeleteClusterRequest deleteClusterRequest) + public Snapshot createClusterSnapshot(CreateClusterSnapshotRequest createClusterSnapshotRequest) throws AmazonServiceException, AmazonClientException; /** @@ -625,10 +663,13 @@ public Cluster deleteCluster(DeleteClusterRequest deleteClusterRequest) * @return The response from the CreateCluster service method, as * returned by AmazonRedshift. * + * @throws InvalidSubnetException * @throws InsufficientClusterCapacityException + * @throws UnauthorizedOperationException * @throws NumberOfNodesQuotaExceededException * @throws NumberOfNodesPerClusterLimitExceededException * @throws ClusterSubnetGroupNotFoundException + * @throws InvalidClusterSubnetGroupStateException * @throws ClusterAlreadyExistsException * @throws ClusterSecurityGroupNotFoundException * @throws ClusterQuotaExceededException @@ -649,13 +690,16 @@ public Cluster createCluster(CreateClusterRequest createClusterRequest) /** *

    * Deletes the specified manual snapshot. The snapshot must be in the - * "available" state. + * "available" state, with no other users authorized to access the + * snapshot. *

    *

    * Unlike automated snapshots, manual snapshots are retained even after * you delete your cluster. Amazon Redshift does not delete your manual * snapshots. You must delete manual snapshot explicitly to avoid getting - * charged. + * charged. If other accounts are authorized to access the snapshot, you + * must revoke all of the authorizations before you can delete the + * snapshot. *

    * * @param deleteClusterSnapshotRequest Container for the necessary @@ -937,6 +981,40 @@ public DefaultClusterParameters describeDefaultClusterParameters(DescribeDefault public ClusterSecurityGroup createClusterSecurityGroup(CreateClusterSecurityGroupRequest createClusterSecurityGroupRequest) throws AmazonServiceException, AmazonClientException; + /** + *

    + * Authorizes the specified AWS customer account to restore the + * specified snapshot. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management + * Guide . + *

    + * + * @param authorizeSnapshotAccessRequest Container for the necessary + * parameters to execute the AuthorizeSnapshotAccess service method on + * AmazonRedshift. + * + * @return The response from the AuthorizeSnapshotAccess service method, + * as returned by AmazonRedshift. + * + * @throws AuthorizationAlreadyExistsException + * @throws ClusterSnapshotNotFoundException + * @throws AuthorizationQuotaExceededException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonRedshift indicating + * either a problem with the data in the request, or a server side issue. + */ + public Snapshot authorizeSnapshotAccess(AuthorizeSnapshotAccessRequest authorizeSnapshotAccessRequest) + throws AmazonServiceException, AmazonClientException; + /** *

    * Returns a list of the available reserved node offerings by Amazon @@ -1149,7 +1227,9 @@ public DescribeClustersResult describeClusters(DescribeClustersRequest describeC *

    * Returns one or more snapshot objects, which contain metadata about * your cluster snapshots. By default, this operation returns information - * about all snapshots of all clusters that are owned by the AWS account. + * about all snapshots of all clusters that are owned by you AWS customer + * account. No information is returned for snapshots owned by inactive + * AWS customer accounts. *

    * * @param describeClusterSnapshotsRequest Container for the necessary @@ -1279,14 +1359,20 @@ public DescribeClusterParameterGroupsResult describeClusterParameterGroups(Descr * @return The response from the RestoreFromClusterSnapshot service * method, as returned by AmazonRedshift. * + * @throws InvalidSubnetException + * @throws ClusterSubnetGroupNotFoundException + * @throws InvalidClusterSubnetGroupStateException + * @throws ClusterAlreadyExistsException + * @throws InvalidVPCNetworkStateException + * @throws InvalidClusterSnapshotStateException + * @throws AccessToSnapshotDeniedException * @throws InvalidRestoreException + * @throws UnauthorizedOperationException * @throws InsufficientClusterCapacityException * @throws NumberOfNodesQuotaExceededException * @throws NumberOfNodesPerClusterLimitExceededException * @throws ClusterSnapshotNotFoundException - * @throws ClusterAlreadyExistsException * @throws ClusterQuotaExceededException - * @throws InvalidClusterSnapshotStateException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -1513,7 +1599,9 @@ public Cluster restoreFromClusterSnapshot(RestoreFromClusterSnapshotRequest rest *

    * Returns one or more snapshot objects, which contain metadata about * your cluster snapshots. By default, this operation returns information - * about all snapshots of all clusters that are owned by the AWS account. + * about all snapshots of all clusters that are owned by you AWS customer + * account. No information is returned for snapshots owned by inactive + * AWS customer accounts. *

    * * @return The response from the DescribeClusterSnapshots service method, diff --git a/src/main/java/com/amazonaws/services/redshift/AmazonRedshiftAsync.java b/src/main/java/com/amazonaws/services/redshift/AmazonRedshiftAsync.java index c4a51de26f6b..a1e7cf164f18 100644 --- a/src/main/java/com/amazonaws/services/redshift/AmazonRedshiftAsync.java +++ b/src/main/java/com/amazonaws/services/redshift/AmazonRedshiftAsync.java @@ -84,8 +84,8 @@ * *
  • * Amazon Redshift Database Database Developer - If you are a database developer, the Amazon Redshift Database Developer Guide explains how to design, build, query, and - * maintain the databases that make up your data warehouse. + * href="http://docs.aws.amazon.com/redshift/latest/dg/"> Database Developer Guide explains how to design, build, query, and maintain the databases + * that make up your data warehouse. *

    *
  • * @@ -97,6 +97,73 @@ *

    */ public interface AmazonRedshiftAsync extends AmazonRedshift { + /** + *

    + * Removes the ability of the specified AWS customer account to restore + * the specified snapshot. If the account is currently restoring the + * snapshot, the restore will run to completion. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management + * Guide . + *

    + * + * @param revokeSnapshotAccessRequest Container for the necessary + * parameters to execute the RevokeSnapshotAccess operation on + * AmazonRedshift. + * + * @return A Java Future object containing the response from the + * RevokeSnapshotAccess service method, as returned by AmazonRedshift. + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonRedshift indicating + * either a problem with the data in the request, or a server side issue. + */ + public Future revokeSnapshotAccessAsync(RevokeSnapshotAccessRequest revokeSnapshotAccessRequest) + throws AmazonServiceException, AmazonClientException; + + /** + *

    + * Removes the ability of the specified AWS customer account to restore + * the specified snapshot. If the account is currently restoring the + * snapshot, the restore will run to completion. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management + * Guide . + *

    + * + * @param revokeSnapshotAccessRequest Container for the necessary + * parameters to execute the RevokeSnapshotAccess operation on + * AmazonRedshift. + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the implementation of + * the four callback methods in this interface to process the operation + * result or handle the exception. + * + * @return A Java Future object containing the response from the + * RevokeSnapshotAccess service method, as returned by AmazonRedshift. + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonRedshift indicating + * either a problem with the data in the request, or a server side issue. + */ + public Future revokeSnapshotAccessAsync(RevokeSnapshotAccessRequest revokeSnapshotAccessRequest, + AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException; + /** *

    * Modifies a cluster subnet group to include the specified list of VPC @@ -612,7 +679,7 @@ public Future describeOrderableClusterOpt *

    *

    * For information about subnet groups, go to + * zon.com/redshift/latest/mgmt/working-with-cluster-subnet-groups.html"> * Amazon Redshift Cluster Subnet Groups in the Amazon Redshift * Management Guide . * @@ -645,7 +712,7 @@ public Future createClusterSubnetGroupAsync(CreateClusterSub *

    *

    * For information about subnet groups, go to + * zon.com/redshift/latest/mgmt/working-with-cluster-subnet-groups.html"> * Amazon Redshift Cluster Subnet Groups in the Amazon Redshift * Management Guide . * @@ -854,22 +921,25 @@ public Future describeClusterSubnetGroupsAsyn /** *

    - * Creates a manual snapshot of the specified cluster. The cluster must - * be in the "available" state. - *

    - *

    - * For more information about working with snapshots, go to - * Amazon Redshift Snapshots in the Amazon Redshift Management + * Deletes a previously provisioned cluster. A successful response from + * the web service indicates that the request was received correctly. If + * a final cluster snapshot is requested the status of the cluster will + * be "final-snapshot" while the snapshot is being taken, then it's + * "deleting" once Amazon Redshift begins deleting the cluster. Use + * DescribeClusters to monitor the status of the deletion. The delete + * operation cannot be canceled or reverted once submitted. For more + * information about managing clusters, go to + * Amazon Redshift Clusters in the Amazon Redshift Management * Guide . + * *

    * - * @param createClusterSnapshotRequest Container for the necessary - * parameters to execute the CreateClusterSnapshot operation on - * AmazonRedshift. + * @param deleteClusterRequest Container for the necessary parameters to + * execute the DeleteCluster operation on AmazonRedshift. * * @return A Java Future object containing the response from the - * CreateClusterSnapshot service method, as returned by AmazonRedshift. + * DeleteCluster service method, as returned by AmazonRedshift. * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -879,31 +949,34 @@ public Future describeClusterSubnetGroupsAsyn * If an error response is returned by AmazonRedshift indicating * either a problem with the data in the request, or a server side issue. */ - public Future createClusterSnapshotAsync(CreateClusterSnapshotRequest createClusterSnapshotRequest) + public Future deleteClusterAsync(DeleteClusterRequest deleteClusterRequest) throws AmazonServiceException, AmazonClientException; /** *

    - * Creates a manual snapshot of the specified cluster. The cluster must - * be in the "available" state. - *

    - *

    - * For more information about working with snapshots, go to - * Amazon Redshift Snapshots in the Amazon Redshift Management + * Deletes a previously provisioned cluster. A successful response from + * the web service indicates that the request was received correctly. If + * a final cluster snapshot is requested the status of the cluster will + * be "final-snapshot" while the snapshot is being taken, then it's + * "deleting" once Amazon Redshift begins deleting the cluster. Use + * DescribeClusters to monitor the status of the deletion. The delete + * operation cannot be canceled or reverted once submitted. For more + * information about managing clusters, go to + * Amazon Redshift Clusters in the Amazon Redshift Management * Guide . + * *

    * - * @param createClusterSnapshotRequest Container for the necessary - * parameters to execute the CreateClusterSnapshot operation on - * AmazonRedshift. + * @param deleteClusterRequest Container for the necessary parameters to + * execute the DeleteCluster operation on AmazonRedshift. * @param asyncHandler Asynchronous callback handler for events in the * life-cycle of the request. Users could provide the implementation of * the four callback methods in this interface to process the operation * result or handle the exception. * * @return A Java Future object containing the response from the - * CreateClusterSnapshot service method, as returned by AmazonRedshift. + * DeleteCluster service method, as returned by AmazonRedshift. * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -913,31 +986,28 @@ public Future createClusterSnapshotAsync(CreateClusterSnapshotRequest * If an error response is returned by AmazonRedshift indicating * either a problem with the data in the request, or a server side issue. */ - public Future createClusterSnapshotAsync(CreateClusterSnapshotRequest createClusterSnapshotRequest, - AsyncHandler asyncHandler) + public Future deleteClusterAsync(DeleteClusterRequest deleteClusterRequest, + AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

    - * Deletes a previously provisioned cluster. A successful response from - * the web service indicates that the request was received correctly. If - * a final cluster snapshot is requested the status of the cluster will - * be "final-snapshot" while the snapshot is being taken, then it's - * "deleting" once Amazon Redshift begins deleting the cluster. Use - * DescribeClusters to monitor the status of the deletion. The delete - * operation cannot be canceled or reverted once submitted. For more - * information about managing clusters, go to - * Amazon Redshift Clusters in the Amazon Redshift Management + * Creates a manual snapshot of the specified cluster. The cluster must + * be in the "available" state. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management * Guide . - * *

    * - * @param deleteClusterRequest Container for the necessary parameters to - * execute the DeleteCluster operation on AmazonRedshift. + * @param createClusterSnapshotRequest Container for the necessary + * parameters to execute the CreateClusterSnapshot operation on + * AmazonRedshift. * * @return A Java Future object containing the response from the - * DeleteCluster service method, as returned by AmazonRedshift. + * CreateClusterSnapshot service method, as returned by AmazonRedshift. * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -947,34 +1017,31 @@ public Future createClusterSnapshotAsync(CreateClusterSnapshotRequest * If an error response is returned by AmazonRedshift indicating * either a problem with the data in the request, or a server side issue. */ - public Future deleteClusterAsync(DeleteClusterRequest deleteClusterRequest) + public Future createClusterSnapshotAsync(CreateClusterSnapshotRequest createClusterSnapshotRequest) throws AmazonServiceException, AmazonClientException; /** *

    - * Deletes a previously provisioned cluster. A successful response from - * the web service indicates that the request was received correctly. If - * a final cluster snapshot is requested the status of the cluster will - * be "final-snapshot" while the snapshot is being taken, then it's - * "deleting" once Amazon Redshift begins deleting the cluster. Use - * DescribeClusters to monitor the status of the deletion. The delete - * operation cannot be canceled or reverted once submitted. For more - * information about managing clusters, go to - * Amazon Redshift Clusters in the Amazon Redshift Management + * Creates a manual snapshot of the specified cluster. The cluster must + * be in the "available" state. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management * Guide . - * *

    * - * @param deleteClusterRequest Container for the necessary parameters to - * execute the DeleteCluster operation on AmazonRedshift. + * @param createClusterSnapshotRequest Container for the necessary + * parameters to execute the CreateClusterSnapshot operation on + * AmazonRedshift. * @param asyncHandler Asynchronous callback handler for events in the * life-cycle of the request. Users could provide the implementation of * the four callback methods in this interface to process the operation * result or handle the exception. * * @return A Java Future object containing the response from the - * DeleteCluster service method, as returned by AmazonRedshift. + * CreateClusterSnapshot service method, as returned by AmazonRedshift. * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -984,8 +1051,8 @@ public Future deleteClusterAsync(DeleteClusterRequest deleteClusterRequ * If an error response is returned by AmazonRedshift indicating * either a problem with the data in the request, or a server side issue. */ - public Future deleteClusterAsync(DeleteClusterRequest deleteClusterRequest, - AsyncHandler asyncHandler) + public Future createClusterSnapshotAsync(CreateClusterSnapshotRequest createClusterSnapshotRequest, + AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** @@ -1058,13 +1125,16 @@ public Future createClusterAsync(CreateClusterRequest createClusterRequ /** *

    * Deletes the specified manual snapshot. The snapshot must be in the - * "available" state. + * "available" state, with no other users authorized to access the + * snapshot. *

    *

    * Unlike automated snapshots, manual snapshots are retained even after * you delete your cluster. Amazon Redshift does not delete your manual * snapshots. You must delete manual snapshot explicitly to avoid getting - * charged. + * charged. If other accounts are authorized to access the snapshot, you + * must revoke all of the authorizations before you can delete the + * snapshot. *

    * * @param deleteClusterSnapshotRequest Container for the necessary @@ -1088,13 +1158,16 @@ public Future deleteClusterSnapshotAsync(DeleteClusterSnapshotRequest /** *

    * Deletes the specified manual snapshot. The snapshot must be in the - * "available" state. + * "available" state, with no other users authorized to access the + * snapshot. *

    *

    * Unlike automated snapshots, manual snapshots are retained even after * you delete your cluster. Amazon Redshift does not delete your manual * snapshots. You must delete manual snapshot explicitly to avoid getting - * charged. + * charged. If other accounts are authorized to access the snapshot, you + * must revoke all of the authorizations before you can delete the + * snapshot. *

    * * @param deleteClusterSnapshotRequest Container for the necessary @@ -1658,6 +1731,71 @@ public Future createClusterSecurityGroupAsync(CreateCluste AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; + /** + *

    + * Authorizes the specified AWS customer account to restore the + * specified snapshot. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management + * Guide . + *

    + * + * @param authorizeSnapshotAccessRequest Container for the necessary + * parameters to execute the AuthorizeSnapshotAccess operation on + * AmazonRedshift. + * + * @return A Java Future object containing the response from the + * AuthorizeSnapshotAccess service method, as returned by AmazonRedshift. + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonRedshift indicating + * either a problem with the data in the request, or a server side issue. + */ + public Future authorizeSnapshotAccessAsync(AuthorizeSnapshotAccessRequest authorizeSnapshotAccessRequest) + throws AmazonServiceException, AmazonClientException; + + /** + *

    + * Authorizes the specified AWS customer account to restore the + * specified snapshot. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management + * Guide . + *

    + * + * @param authorizeSnapshotAccessRequest Container for the necessary + * parameters to execute the AuthorizeSnapshotAccess operation on + * AmazonRedshift. + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the implementation of + * the four callback methods in this interface to process the operation + * result or handle the exception. + * + * @return A Java Future object containing the response from the + * AuthorizeSnapshotAccess service method, as returned by AmazonRedshift. + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonRedshift indicating + * either a problem with the data in the request, or a server side issue. + */ + public Future authorizeSnapshotAccessAsync(AuthorizeSnapshotAccessRequest authorizeSnapshotAccessRequest, + AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException; + /** *

    * Returns a list of the available reserved node offerings by Amazon @@ -2086,7 +2224,9 @@ public Future describeClustersAsync(DescribeClustersRequ *

    * Returns one or more snapshot objects, which contain metadata about * your cluster snapshots. By default, this operation returns information - * about all snapshots of all clusters that are owned by the AWS account. + * about all snapshots of all clusters that are owned by you AWS customer + * account. No information is returned for snapshots owned by inactive + * AWS customer accounts. *

    * * @param describeClusterSnapshotsRequest Container for the necessary @@ -2112,7 +2252,9 @@ public Future describeClusterSnapshotsAsync(Desc *

    * Returns one or more snapshot objects, which contain metadata about * your cluster snapshots. By default, this operation returns information - * about all snapshots of all clusters that are owned by the AWS account. + * about all snapshots of all clusters that are owned by you AWS customer + * account. No information is returned for snapshots owned by inactive + * AWS customer accounts. *

    * * @param describeClusterSnapshotsRequest Container for the necessary diff --git a/src/main/java/com/amazonaws/services/redshift/AmazonRedshiftAsyncClient.java b/src/main/java/com/amazonaws/services/redshift/AmazonRedshiftAsyncClient.java index c7c97765a4b4..124ea934255b 100644 --- a/src/main/java/com/amazonaws/services/redshift/AmazonRedshiftAsyncClient.java +++ b/src/main/java/com/amazonaws/services/redshift/AmazonRedshiftAsyncClient.java @@ -94,8 +94,8 @@ * *
  • * Amazon Redshift Database Database Developer - If you are a database developer, the Amazon Redshift Database Developer Guide explains how to design, build, query, and - * maintain the databases that make up your data warehouse. + * href="http://docs.aws.amazon.com/redshift/latest/dg/"> Database Developer Guide explains how to design, build, query, and maintain the databases + * that make up your data warehouse. *

    *
  • * @@ -337,6 +337,95 @@ public void shutdown() { executorService.shutdownNow(); } + /** + *

    + * Removes the ability of the specified AWS customer account to restore + * the specified snapshot. If the account is currently restoring the + * snapshot, the restore will run to completion. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management + * Guide . + *

    + * + * @param revokeSnapshotAccessRequest Container for the necessary + * parameters to execute the RevokeSnapshotAccess operation on + * AmazonRedshift. + * + * @return A Java Future object containing the response from the + * RevokeSnapshotAccess service method, as returned by AmazonRedshift. + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonRedshift indicating + * either a problem with the data in the request, or a server side issue. + */ + public Future revokeSnapshotAccessAsync(final RevokeSnapshotAccessRequest revokeSnapshotAccessRequest) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public Snapshot call() throws Exception { + return revokeSnapshotAccess(revokeSnapshotAccessRequest); + } + }); + } + + + /** + *

    + * Removes the ability of the specified AWS customer account to restore + * the specified snapshot. If the account is currently restoring the + * snapshot, the restore will run to completion. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management + * Guide . + *

    + * + * @param revokeSnapshotAccessRequest Container for the necessary + * parameters to execute the RevokeSnapshotAccess operation on + * AmazonRedshift. + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the implementation of + * the four callback methods in this interface to process the operation + * result or handle the exception. + * + * @return A Java Future object containing the response from the + * RevokeSnapshotAccess service method, as returned by AmazonRedshift. + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonRedshift indicating + * either a problem with the data in the request, or a server side issue. + */ + public Future revokeSnapshotAccessAsync( + final RevokeSnapshotAccessRequest revokeSnapshotAccessRequest, + final AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public Snapshot call() throws Exception { + Snapshot result; + try { + result = revokeSnapshotAccess(revokeSnapshotAccessRequest); + } catch (Exception ex) { + asyncHandler.onError(ex); + throw ex; + } + asyncHandler.onSuccess(revokeSnapshotAccessRequest, result); + return result; + } + }); + } + /** *

    * Modifies a cluster subnet group to include the specified list of VPC @@ -1006,7 +1095,7 @@ public DescribeOrderableClusterOptionsResult call() throws Exception { *

    *

    * For information about subnet groups, go to + * zon.com/redshift/latest/mgmt/working-with-cluster-subnet-groups.html"> * Amazon Redshift Cluster Subnet Groups in the Amazon Redshift * Management Guide . * @@ -1046,7 +1135,7 @@ public ClusterSubnetGroup call() throws Exception { *

    *

    * For information about subnet groups, go to + * zon.com/redshift/latest/mgmt/working-with-cluster-subnet-groups.html"> * Amazon Redshift Cluster Subnet Groups in the Amazon Redshift * Management Guide . * @@ -1336,22 +1425,25 @@ public DescribeClusterSubnetGroupsResult call() throws Exception { /** *

    - * Creates a manual snapshot of the specified cluster. The cluster must - * be in the "available" state. - *

    - *

    - * For more information about working with snapshots, go to - * Amazon Redshift Snapshots in the Amazon Redshift Management + * Deletes a previously provisioned cluster. A successful response from + * the web service indicates that the request was received correctly. If + * a final cluster snapshot is requested the status of the cluster will + * be "final-snapshot" while the snapshot is being taken, then it's + * "deleting" once Amazon Redshift begins deleting the cluster. Use + * DescribeClusters to monitor the status of the deletion. The delete + * operation cannot be canceled or reverted once submitted. For more + * information about managing clusters, go to + * Amazon Redshift Clusters in the Amazon Redshift Management * Guide . + * *

    * - * @param createClusterSnapshotRequest Container for the necessary - * parameters to execute the CreateClusterSnapshot operation on - * AmazonRedshift. + * @param deleteClusterRequest Container for the necessary parameters to + * execute the DeleteCluster operation on AmazonRedshift. * * @return A Java Future object containing the response from the - * CreateClusterSnapshot service method, as returned by AmazonRedshift. + * DeleteCluster service method, as returned by AmazonRedshift. * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -1361,11 +1453,11 @@ public DescribeClusterSubnetGroupsResult call() throws Exception { * If an error response is returned by AmazonRedshift indicating * either a problem with the data in the request, or a server side issue. */ - public Future createClusterSnapshotAsync(final CreateClusterSnapshotRequest createClusterSnapshotRequest) + public Future deleteClusterAsync(final DeleteClusterRequest deleteClusterRequest) throws AmazonServiceException, AmazonClientException { - return executorService.submit(new Callable() { - public Snapshot call() throws Exception { - return createClusterSnapshot(createClusterSnapshotRequest); + return executorService.submit(new Callable() { + public Cluster call() throws Exception { + return deleteCluster(deleteClusterRequest); } }); } @@ -1373,26 +1465,29 @@ public Snapshot call() throws Exception { /** *

    - * Creates a manual snapshot of the specified cluster. The cluster must - * be in the "available" state. - *

    - *

    - * For more information about working with snapshots, go to - * Amazon Redshift Snapshots in the Amazon Redshift Management + * Deletes a previously provisioned cluster. A successful response from + * the web service indicates that the request was received correctly. If + * a final cluster snapshot is requested the status of the cluster will + * be "final-snapshot" while the snapshot is being taken, then it's + * "deleting" once Amazon Redshift begins deleting the cluster. Use + * DescribeClusters to monitor the status of the deletion. The delete + * operation cannot be canceled or reverted once submitted. For more + * information about managing clusters, go to + * Amazon Redshift Clusters in the Amazon Redshift Management * Guide . + * *

    * - * @param createClusterSnapshotRequest Container for the necessary - * parameters to execute the CreateClusterSnapshot operation on - * AmazonRedshift. + * @param deleteClusterRequest Container for the necessary parameters to + * execute the DeleteCluster operation on AmazonRedshift. * @param asyncHandler Asynchronous callback handler for events in the * life-cycle of the request. Users could provide the implementation of * the four callback methods in this interface to process the operation * result or handle the exception. * * @return A Java Future object containing the response from the - * CreateClusterSnapshot service method, as returned by AmazonRedshift. + * DeleteCluster service method, as returned by AmazonRedshift. * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -1402,20 +1497,20 @@ public Snapshot call() throws Exception { * If an error response is returned by AmazonRedshift indicating * either a problem with the data in the request, or a server side issue. */ - public Future createClusterSnapshotAsync( - final CreateClusterSnapshotRequest createClusterSnapshotRequest, - final AsyncHandler asyncHandler) + public Future deleteClusterAsync( + final DeleteClusterRequest deleteClusterRequest, + final AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException { - return executorService.submit(new Callable() { - public Snapshot call() throws Exception { - Snapshot result; + return executorService.submit(new Callable() { + public Cluster call() throws Exception { + Cluster result; try { - result = createClusterSnapshot(createClusterSnapshotRequest); + result = deleteCluster(deleteClusterRequest); } catch (Exception ex) { asyncHandler.onError(ex); throw ex; } - asyncHandler.onSuccess(createClusterSnapshotRequest, result); + asyncHandler.onSuccess(deleteClusterRequest, result); return result; } }); @@ -1423,25 +1518,22 @@ public Snapshot call() throws Exception { /** *

    - * Deletes a previously provisioned cluster. A successful response from - * the web service indicates that the request was received correctly. If - * a final cluster snapshot is requested the status of the cluster will - * be "final-snapshot" while the snapshot is being taken, then it's - * "deleting" once Amazon Redshift begins deleting the cluster. Use - * DescribeClusters to monitor the status of the deletion. The delete - * operation cannot be canceled or reverted once submitted. For more - * information about managing clusters, go to - * Amazon Redshift Clusters in the Amazon Redshift Management + * Creates a manual snapshot of the specified cluster. The cluster must + * be in the "available" state. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management * Guide . - * *

    * - * @param deleteClusterRequest Container for the necessary parameters to - * execute the DeleteCluster operation on AmazonRedshift. + * @param createClusterSnapshotRequest Container for the necessary + * parameters to execute the CreateClusterSnapshot operation on + * AmazonRedshift. * * @return A Java Future object containing the response from the - * DeleteCluster service method, as returned by AmazonRedshift. + * CreateClusterSnapshot service method, as returned by AmazonRedshift. * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -1451,11 +1543,11 @@ public Snapshot call() throws Exception { * If an error response is returned by AmazonRedshift indicating * either a problem with the data in the request, or a server side issue. */ - public Future deleteClusterAsync(final DeleteClusterRequest deleteClusterRequest) + public Future createClusterSnapshotAsync(final CreateClusterSnapshotRequest createClusterSnapshotRequest) throws AmazonServiceException, AmazonClientException { - return executorService.submit(new Callable() { - public Cluster call() throws Exception { - return deleteCluster(deleteClusterRequest); + return executorService.submit(new Callable() { + public Snapshot call() throws Exception { + return createClusterSnapshot(createClusterSnapshotRequest); } }); } @@ -1463,29 +1555,26 @@ public Cluster call() throws Exception { /** *

    - * Deletes a previously provisioned cluster. A successful response from - * the web service indicates that the request was received correctly. If - * a final cluster snapshot is requested the status of the cluster will - * be "final-snapshot" while the snapshot is being taken, then it's - * "deleting" once Amazon Redshift begins deleting the cluster. Use - * DescribeClusters to monitor the status of the deletion. The delete - * operation cannot be canceled or reverted once submitted. For more - * information about managing clusters, go to - * Amazon Redshift Clusters in the Amazon Redshift Management + * Creates a manual snapshot of the specified cluster. The cluster must + * be in the "available" state. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management * Guide . - * *

    * - * @param deleteClusterRequest Container for the necessary parameters to - * execute the DeleteCluster operation on AmazonRedshift. + * @param createClusterSnapshotRequest Container for the necessary + * parameters to execute the CreateClusterSnapshot operation on + * AmazonRedshift. * @param asyncHandler Asynchronous callback handler for events in the * life-cycle of the request. Users could provide the implementation of * the four callback methods in this interface to process the operation * result or handle the exception. * * @return A Java Future object containing the response from the - * DeleteCluster service method, as returned by AmazonRedshift. + * CreateClusterSnapshot service method, as returned by AmazonRedshift. * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -1495,20 +1584,20 @@ public Cluster call() throws Exception { * If an error response is returned by AmazonRedshift indicating * either a problem with the data in the request, or a server side issue. */ - public Future deleteClusterAsync( - final DeleteClusterRequest deleteClusterRequest, - final AsyncHandler asyncHandler) + public Future createClusterSnapshotAsync( + final CreateClusterSnapshotRequest createClusterSnapshotRequest, + final AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException { - return executorService.submit(new Callable() { - public Cluster call() throws Exception { - Cluster result; + return executorService.submit(new Callable() { + public Snapshot call() throws Exception { + Snapshot result; try { - result = deleteCluster(deleteClusterRequest); + result = createClusterSnapshot(createClusterSnapshotRequest); } catch (Exception ex) { asyncHandler.onError(ex); throw ex; } - asyncHandler.onSuccess(deleteClusterRequest, result); + asyncHandler.onSuccess(createClusterSnapshotRequest, result); return result; } }); @@ -1606,13 +1695,16 @@ public Cluster call() throws Exception { /** *

    * Deletes the specified manual snapshot. The snapshot must be in the - * "available" state. + * "available" state, with no other users authorized to access the + * snapshot. *

    *

    * Unlike automated snapshots, manual snapshots are retained even after * you delete your cluster. Amazon Redshift does not delete your manual * snapshots. You must delete manual snapshot explicitly to avoid getting - * charged. + * charged. If other accounts are authorized to access the snapshot, you + * must revoke all of the authorizations before you can delete the + * snapshot. *

    * * @param deleteClusterSnapshotRequest Container for the necessary @@ -1643,13 +1735,16 @@ public Snapshot call() throws Exception { /** *

    * Deletes the specified manual snapshot. The snapshot must be in the - * "available" state. + * "available" state, with no other users authorized to access the + * snapshot. *

    *

    * Unlike automated snapshots, manual snapshots are retained even after * you delete your cluster. Amazon Redshift does not delete your manual * snapshots. You must delete manual snapshot explicitly to avoid getting - * charged. + * charged. If other accounts are authorized to access the snapshot, you + * must revoke all of the authorizations before you can delete the + * snapshot. *

    * * @param deleteClusterSnapshotRequest Container for the necessary @@ -2404,6 +2499,93 @@ public ClusterSecurityGroup call() throws Exception { }); } + /** + *

    + * Authorizes the specified AWS customer account to restore the + * specified snapshot. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management + * Guide . + *

    + * + * @param authorizeSnapshotAccessRequest Container for the necessary + * parameters to execute the AuthorizeSnapshotAccess operation on + * AmazonRedshift. + * + * @return A Java Future object containing the response from the + * AuthorizeSnapshotAccess service method, as returned by AmazonRedshift. + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonRedshift indicating + * either a problem with the data in the request, or a server side issue. + */ + public Future authorizeSnapshotAccessAsync(final AuthorizeSnapshotAccessRequest authorizeSnapshotAccessRequest) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public Snapshot call() throws Exception { + return authorizeSnapshotAccess(authorizeSnapshotAccessRequest); + } + }); + } + + + /** + *

    + * Authorizes the specified AWS customer account to restore the + * specified snapshot. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management + * Guide . + *

    + * + * @param authorizeSnapshotAccessRequest Container for the necessary + * parameters to execute the AuthorizeSnapshotAccess operation on + * AmazonRedshift. + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the implementation of + * the four callback methods in this interface to process the operation + * result or handle the exception. + * + * @return A Java Future object containing the response from the + * AuthorizeSnapshotAccess service method, as returned by AmazonRedshift. + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonRedshift indicating + * either a problem with the data in the request, or a server side issue. + */ + public Future authorizeSnapshotAccessAsync( + final AuthorizeSnapshotAccessRequest authorizeSnapshotAccessRequest, + final AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public Snapshot call() throws Exception { + Snapshot result; + try { + result = authorizeSnapshotAccess(authorizeSnapshotAccessRequest); + } catch (Exception ex) { + asyncHandler.onError(ex); + throw ex; + } + asyncHandler.onSuccess(authorizeSnapshotAccessRequest, result); + return result; + } + }); + } + /** *

    * Returns a list of the available reserved node offerings by Amazon @@ -2964,7 +3146,9 @@ public DescribeClustersResult call() throws Exception { *

    * Returns one or more snapshot objects, which contain metadata about * your cluster snapshots. By default, this operation returns information - * about all snapshots of all clusters that are owned by the AWS account. + * about all snapshots of all clusters that are owned by you AWS customer + * account. No information is returned for snapshots owned by inactive + * AWS customer accounts. *

    * * @param describeClusterSnapshotsRequest Container for the necessary @@ -2997,7 +3181,9 @@ public DescribeClusterSnapshotsResult call() throws Exception { *

    * Returns one or more snapshot objects, which contain metadata about * your cluster snapshots. By default, this operation returns information - * about all snapshots of all clusters that are owned by the AWS account. + * about all snapshots of all clusters that are owned by you AWS customer + * account. No information is returned for snapshots owned by inactive + * AWS customer accounts. *

    * * @param describeClusterSnapshotsRequest Container for the necessary diff --git a/src/main/java/com/amazonaws/services/redshift/AmazonRedshiftClient.java b/src/main/java/com/amazonaws/services/redshift/AmazonRedshiftClient.java index f8ec16d53822..05f2465b7b9a 100644 --- a/src/main/java/com/amazonaws/services/redshift/AmazonRedshiftClient.java +++ b/src/main/java/com/amazonaws/services/redshift/AmazonRedshiftClient.java @@ -101,8 +101,8 @@ * *
  • * Amazon Redshift Database Database Developer - If you are a database developer, the Amazon Redshift Database Developer Guide explains how to design, build, query, and - * maintain the databases that make up your data warehouse. + * href="http://docs.aws.amazon.com/redshift/latest/dg/"> Database Developer Guide explains how to design, build, query, and maintain the databases + * that make up your data warehouse. *

    *
  • * @@ -253,6 +253,7 @@ private void init() { exceptionUnmarshallers.add(new InvalidClusterSubnetStateExceptionUnmarshaller()); exceptionUnmarshallers.add(new AuthorizationNotFoundExceptionUnmarshaller()); exceptionUnmarshallers.add(new ClusterAlreadyExistsExceptionUnmarshaller()); + exceptionUnmarshallers.add(new AccessToSnapshotDeniedExceptionUnmarshaller()); exceptionUnmarshallers.add(new NumberOfNodesQuotaExceededExceptionUnmarshaller()); exceptionUnmarshallers.add(new ClusterNotFoundExceptionUnmarshaller()); exceptionUnmarshallers.add(new ClusterSnapshotQuotaExceededExceptionUnmarshaller()); @@ -274,6 +275,7 @@ private void init() { exceptionUnmarshallers.add(new SubnetAlreadyInUseExceptionUnmarshaller()); exceptionUnmarshallers.add(new ReservedNodeNotFoundExceptionUnmarshaller()); exceptionUnmarshallers.add(new ClusterSnapshotAlreadyExistsExceptionUnmarshaller()); + exceptionUnmarshallers.add(new UnauthorizedOperationExceptionUnmarshaller()); exceptionUnmarshallers.add(new NumberOfNodesPerClusterLimitExceededExceptionUnmarshaller()); exceptionUnmarshallers.add(new InvalidClusterStateExceptionUnmarshaller()); exceptionUnmarshallers.add(new ClusterParameterGroupAlreadyExistsExceptionUnmarshaller()); @@ -299,6 +301,44 @@ private void init() { } + /** + *

    + * Removes the ability of the specified AWS customer account to restore + * the specified snapshot. If the account is currently restoring the + * snapshot, the restore will run to completion. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management + * Guide . + *

    + * + * @param revokeSnapshotAccessRequest Container for the necessary + * parameters to execute the RevokeSnapshotAccess service method on + * AmazonRedshift. + * + * @return The response from the RevokeSnapshotAccess service method, as + * returned by AmazonRedshift. + * + * @throws AccessToSnapshotDeniedException + * @throws ClusterSnapshotNotFoundException + * @throws AuthorizationNotFoundException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonRedshift indicating + * either a problem with the data in the request, or a server side issue. + */ + public Snapshot revokeSnapshotAccess(RevokeSnapshotAccessRequest revokeSnapshotAccessRequest) + throws AmazonServiceException, AmazonClientException { + Request request = new RevokeSnapshotAccessRequestMarshaller().marshall(revokeSnapshotAccessRequest); + return invoke(request, new SnapshotStaxUnmarshaller()); + } + /** *

    * Modifies a cluster subnet group to include the specified list of VPC @@ -315,6 +355,7 @@ private void init() { * * @throws SubnetAlreadyInUseException * @throws InvalidSubnetException + * @throws UnauthorizedOperationException * @throws ClusterSubnetQuotaExceededException * @throws ClusterSubnetGroupNotFoundException * @@ -404,6 +445,7 @@ public ReservedNode purchaseReservedNodeOffering(PurchaseReservedNodeOfferingReq * * @throws InvalidClusterSecurityGroupStateException * @throws InsufficientClusterCapacityException + * @throws UnauthorizedOperationException * @throws InvalidClusterStateException * @throws NumberOfNodesQuotaExceededException * @throws ClusterNotFoundException @@ -588,7 +630,7 @@ public DescribeOrderableClusterOptionsResult describeOrderableClusterOptions(Des *

    *

    * For information about subnet groups, go to + * zon.com/redshift/latest/mgmt/working-with-cluster-subnet-groups.html"> * Amazon Redshift Cluster Subnet Groups in the Amazon Redshift * Management Guide . * @@ -602,6 +644,7 @@ public DescribeOrderableClusterOptionsResult describeOrderableClusterOptions(Des * as returned by AmazonRedshift. * * @throws InvalidSubnetException + * @throws UnauthorizedOperationException * @throws ClusterSubnetQuotaExceededException * @throws ClusterSubnetGroupAlreadyExistsException * @throws ClusterSubnetGroupQuotaExceededException @@ -716,21 +759,24 @@ public DescribeClusterSubnetGroupsResult describeClusterSubnetGroups(DescribeClu /** *

    - * Creates a manual snapshot of the specified cluster. The cluster must - * be in the "available" state. - *

    - *

    - * For more information about working with snapshots, go to - * Amazon Redshift Snapshots in the Amazon Redshift Management + * Deletes a previously provisioned cluster. A successful response from + * the web service indicates that the request was received correctly. If + * a final cluster snapshot is requested the status of the cluster will + * be "final-snapshot" while the snapshot is being taken, then it's + * "deleting" once Amazon Redshift begins deleting the cluster. Use + * DescribeClusters to monitor the status of the deletion. The delete + * operation cannot be canceled or reverted once submitted. For more + * information about managing clusters, go to + * Amazon Redshift Clusters in the Amazon Redshift Management * Guide . + * *

    * - * @param createClusterSnapshotRequest Container for the necessary - * parameters to execute the CreateClusterSnapshot service method on - * AmazonRedshift. + * @param deleteClusterRequest Container for the necessary parameters to + * execute the DeleteCluster service method on AmazonRedshift. * - * @return The response from the CreateClusterSnapshot service method, as + * @return The response from the DeleteCluster service method, as * returned by AmazonRedshift. * * @throws ClusterSnapshotAlreadyExistsException @@ -746,32 +792,29 @@ public DescribeClusterSubnetGroupsResult describeClusterSubnetGroups(DescribeClu * If an error response is returned by AmazonRedshift indicating * either a problem with the data in the request, or a server side issue. */ - public Snapshot createClusterSnapshot(CreateClusterSnapshotRequest createClusterSnapshotRequest) + public Cluster deleteCluster(DeleteClusterRequest deleteClusterRequest) throws AmazonServiceException, AmazonClientException { - Request request = new CreateClusterSnapshotRequestMarshaller().marshall(createClusterSnapshotRequest); - return invoke(request, new SnapshotStaxUnmarshaller()); + Request request = new DeleteClusterRequestMarshaller().marshall(deleteClusterRequest); + return invoke(request, new ClusterStaxUnmarshaller()); } /** *

    - * Deletes a previously provisioned cluster. A successful response from - * the web service indicates that the request was received correctly. If - * a final cluster snapshot is requested the status of the cluster will - * be "final-snapshot" while the snapshot is being taken, then it's - * "deleting" once Amazon Redshift begins deleting the cluster. Use - * DescribeClusters to monitor the status of the deletion. The delete - * operation cannot be canceled or reverted once submitted. For more - * information about managing clusters, go to - * Amazon Redshift Clusters in the Amazon Redshift Management + * Creates a manual snapshot of the specified cluster. The cluster must + * be in the "available" state. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management * Guide . - * *

    * - * @param deleteClusterRequest Container for the necessary parameters to - * execute the DeleteCluster service method on AmazonRedshift. + * @param createClusterSnapshotRequest Container for the necessary + * parameters to execute the CreateClusterSnapshot service method on + * AmazonRedshift. * - * @return The response from the DeleteCluster service method, as + * @return The response from the CreateClusterSnapshot service method, as * returned by AmazonRedshift. * * @throws ClusterSnapshotAlreadyExistsException @@ -787,10 +830,10 @@ public Snapshot createClusterSnapshot(CreateClusterSnapshotRequest createCluster * If an error response is returned by AmazonRedshift indicating * either a problem with the data in the request, or a server side issue. */ - public Cluster deleteCluster(DeleteClusterRequest deleteClusterRequest) + public Snapshot createClusterSnapshot(CreateClusterSnapshotRequest createClusterSnapshotRequest) throws AmazonServiceException, AmazonClientException { - Request request = new DeleteClusterRequestMarshaller().marshall(deleteClusterRequest); - return invoke(request, new ClusterStaxUnmarshaller()); + Request request = new CreateClusterSnapshotRequestMarshaller().marshall(createClusterSnapshotRequest); + return invoke(request, new SnapshotStaxUnmarshaller()); } /** @@ -813,10 +856,13 @@ public Cluster deleteCluster(DeleteClusterRequest deleteClusterRequest) * @return The response from the CreateCluster service method, as * returned by AmazonRedshift. * + * @throws InvalidSubnetException * @throws InsufficientClusterCapacityException + * @throws UnauthorizedOperationException * @throws NumberOfNodesQuotaExceededException * @throws NumberOfNodesPerClusterLimitExceededException * @throws ClusterSubnetGroupNotFoundException + * @throws InvalidClusterSubnetGroupStateException * @throws ClusterAlreadyExistsException * @throws ClusterSecurityGroupNotFoundException * @throws ClusterQuotaExceededException @@ -840,13 +886,16 @@ public Cluster createCluster(CreateClusterRequest createClusterRequest) /** *

    * Deletes the specified manual snapshot. The snapshot must be in the - * "available" state. + * "available" state, with no other users authorized to access the + * snapshot. *

    *

    * Unlike automated snapshots, manual snapshots are retained even after * you delete your cluster. Amazon Redshift does not delete your manual * snapshots. You must delete manual snapshot explicitly to avoid getting - * charged. + * charged. If other accounts are authorized to access the snapshot, you + * must revoke all of the authorizations before you can delete the + * snapshot. *

    * * @param deleteClusterSnapshotRequest Container for the necessary @@ -1155,6 +1204,43 @@ public ClusterSecurityGroup createClusterSecurityGroup(CreateClusterSecurityGrou return invoke(request, new ClusterSecurityGroupStaxUnmarshaller()); } + /** + *

    + * Authorizes the specified AWS customer account to restore the + * specified snapshot. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management + * Guide . + *

    + * + * @param authorizeSnapshotAccessRequest Container for the necessary + * parameters to execute the AuthorizeSnapshotAccess service method on + * AmazonRedshift. + * + * @return The response from the AuthorizeSnapshotAccess service method, + * as returned by AmazonRedshift. + * + * @throws AuthorizationAlreadyExistsException + * @throws ClusterSnapshotNotFoundException + * @throws AuthorizationQuotaExceededException + * + * @throws AmazonClientException + * If any internal errors are encountered inside the client while + * attempting to make the request or handle the response. For example + * if a network connection is not available. + * @throws AmazonServiceException + * If an error response is returned by AmazonRedshift indicating + * either a problem with the data in the request, or a server side issue. + */ + public Snapshot authorizeSnapshotAccess(AuthorizeSnapshotAccessRequest authorizeSnapshotAccessRequest) + throws AmazonServiceException, AmazonClientException { + Request request = new AuthorizeSnapshotAccessRequestMarshaller().marshall(authorizeSnapshotAccessRequest); + return invoke(request, new SnapshotStaxUnmarshaller()); + } + /** *

    * Returns a list of the available reserved node offerings by Amazon @@ -1385,7 +1471,9 @@ public DescribeClustersResult describeClusters(DescribeClustersRequest describeC *

    * Returns one or more snapshot objects, which contain metadata about * your cluster snapshots. By default, this operation returns information - * about all snapshots of all clusters that are owned by the AWS account. + * about all snapshots of all clusters that are owned by you AWS customer + * account. No information is returned for snapshots owned by inactive + * AWS customer accounts. *

    * * @param describeClusterSnapshotsRequest Container for the necessary @@ -1524,14 +1612,20 @@ public DescribeClusterParameterGroupsResult describeClusterParameterGroups(Descr * @return The response from the RestoreFromClusterSnapshot service * method, as returned by AmazonRedshift. * + * @throws InvalidSubnetException + * @throws ClusterSubnetGroupNotFoundException + * @throws InvalidClusterSubnetGroupStateException + * @throws ClusterAlreadyExistsException + * @throws InvalidVPCNetworkStateException + * @throws InvalidClusterSnapshotStateException + * @throws AccessToSnapshotDeniedException * @throws InvalidRestoreException + * @throws UnauthorizedOperationException * @throws InsufficientClusterCapacityException * @throws NumberOfNodesQuotaExceededException * @throws NumberOfNodesPerClusterLimitExceededException * @throws ClusterSnapshotNotFoundException - * @throws ClusterAlreadyExistsException * @throws ClusterQuotaExceededException - * @throws InvalidClusterSnapshotStateException * * @throws AmazonClientException * If any internal errors are encountered inside the client while @@ -1777,7 +1871,9 @@ public DescribeClustersResult describeClusters() throws AmazonServiceException, *

    * Returns one or more snapshot objects, which contain metadata about * your cluster snapshots. By default, this operation returns information - * about all snapshots of all clusters that are owned by the AWS account. + * about all snapshots of all clusters that are owned by you AWS customer + * account. No information is returned for snapshots owned by inactive + * AWS customer accounts. *

    * * @return The response from the DescribeClusterSnapshots service method, diff --git a/src/main/java/com/amazonaws/services/redshift/model/AccessToSnapshotDeniedException.java b/src/main/java/com/amazonaws/services/redshift/model/AccessToSnapshotDeniedException.java new file mode 100644 index 000000000000..422c0b687e3a --- /dev/null +++ b/src/main/java/com/amazonaws/services/redshift/model/AccessToSnapshotDeniedException.java @@ -0,0 +1,38 @@ +/* + * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ +package com.amazonaws.services.redshift.model; + +import com.amazonaws.AmazonServiceException; + +/** + *

    + * The owner of the specified snapshot has not authorized your account to access the snapshot. + *

    + */ +public class AccessToSnapshotDeniedException extends AmazonServiceException { + private static final long serialVersionUID = 1L; + + /** + * Constructs a new AccessToSnapshotDeniedException with the specified error + * message. + * + * @param message Describes the error encountered. + */ + public AccessToSnapshotDeniedException(String message) { + super(message); + } + +} + \ No newline at end of file diff --git a/src/main/java/com/amazonaws/services/redshift/model/AccountWithRestoreAccess.java b/src/main/java/com/amazonaws/services/redshift/model/AccountWithRestoreAccess.java new file mode 100644 index 000000000000..b77d7146b5de --- /dev/null +++ b/src/main/java/com/amazonaws/services/redshift/model/AccountWithRestoreAccess.java @@ -0,0 +1,108 @@ +/* + * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ +package com.amazonaws.services.redshift.model; +import java.io.Serializable; + +/** + *

    + * Describes an AWS customer account authorized to restore a snapshot. + *

    + */ +public class AccountWithRestoreAccess implements Serializable { + + /** + * The identifier of an AWS customer account authorized to restore a + * snapshot. + */ + private String accountId; + + /** + * The identifier of an AWS customer account authorized to restore a + * snapshot. + * + * @return The identifier of an AWS customer account authorized to restore a + * snapshot. + */ + public String getAccountId() { + return accountId; + } + + /** + * The identifier of an AWS customer account authorized to restore a + * snapshot. + * + * @param accountId The identifier of an AWS customer account authorized to restore a + * snapshot. + */ + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + /** + * The identifier of an AWS customer account authorized to restore a + * snapshot. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param accountId The identifier of an AWS customer account authorized to restore a + * snapshot. + */ + public AccountWithRestoreAccess withAccountId(String accountId) { + this.accountId = accountId; + return this; + } + + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getAccountId() != null) sb.append("AccountId: " + getAccountId() ); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getAccountId() == null) ? 0 : getAccountId().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) return true; + if (obj == null) return false; + + if (obj instanceof AccountWithRestoreAccess == false) return false; + AccountWithRestoreAccess other = (AccountWithRestoreAccess)obj; + + if (other.getAccountId() == null ^ this.getAccountId() == null) return false; + if (other.getAccountId() != null && other.getAccountId().equals(this.getAccountId()) == false) return false; + return true; + } + +} + \ No newline at end of file diff --git a/src/main/java/com/amazonaws/services/redshift/model/AuthorizationQuotaExceededException.java b/src/main/java/com/amazonaws/services/redshift/model/AuthorizationQuotaExceededException.java index d8bb8d54c7d5..35e4549700fa 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/AuthorizationQuotaExceededException.java +++ b/src/main/java/com/amazonaws/services/redshift/model/AuthorizationQuotaExceededException.java @@ -18,7 +18,10 @@ /** *

    - * The authorization quota for the cluster security group has been reached. + * The authorization quota for the cluster security group has been reached. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift + * Management Guide . + * *

    */ public class AuthorizationQuotaExceededException extends AmazonServiceException { diff --git a/src/main/java/com/amazonaws/services/redshift/model/AuthorizeClusterSecurityGroupIngressRequest.java b/src/main/java/com/amazonaws/services/redshift/model/AuthorizeClusterSecurityGroupIngressRequest.java index 419f618ec6eb..890adafb08f4 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/AuthorizeClusterSecurityGroupIngressRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/AuthorizeClusterSecurityGroupIngressRequest.java @@ -87,9 +87,6 @@ public void setClusterSecurityGroupName(String clusterSecurityGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterSecurityGroupName The name of the security group to which the ingress rule is added. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeClusterSecurityGroupIngressRequest withClusterSecurityGroupName(String clusterSecurityGroupName) { this.clusterSecurityGroupName = clusterSecurityGroupName; @@ -121,9 +118,6 @@ public void setCIDRIP(String cIDRIP) { * Returns a reference to this object so that method calls can be chained together. * * @param cIDRIP The IP range to be added the Amazon Redshift security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeClusterSecurityGroupIngressRequest withCIDRIP(String cIDRIP) { this.cIDRIP = cIDRIP; @@ -155,9 +149,6 @@ public void setEC2SecurityGroupName(String eC2SecurityGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param eC2SecurityGroupName The EC2 security group to be added the Amazon Redshift security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeClusterSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName) { this.eC2SecurityGroupName = eC2SecurityGroupName; @@ -201,9 +192,6 @@ public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) { * @param eC2SecurityGroupOwnerId The AWS account number of the owner of the security group specified by * the EC2SecurityGroupName parameter. The AWS Access Key ID is * not an acceptable value.

    Example: 111122223333 - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AuthorizeClusterSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) { this.eC2SecurityGroupOwnerId = eC2SecurityGroupOwnerId; diff --git a/src/main/java/com/amazonaws/services/redshift/model/AuthorizeSnapshotAccessRequest.java b/src/main/java/com/amazonaws/services/redshift/model/AuthorizeSnapshotAccessRequest.java new file mode 100644 index 000000000000..75f1284cd996 --- /dev/null +++ b/src/main/java/com/amazonaws/services/redshift/model/AuthorizeSnapshotAccessRequest.java @@ -0,0 +1,156 @@ +/* + * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ +package com.amazonaws.services.redshift.model; +import com.amazonaws.AmazonWebServiceRequest; +import java.io.Serializable; + +/** + * Container for the parameters to the {@link com.amazonaws.services.redshift.AmazonRedshift#authorizeSnapshotAccess(AuthorizeSnapshotAccessRequest) AuthorizeSnapshotAccess operation}. + *

    + * Authorizes the specified AWS customer account to restore the specified snapshot. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management Guide . + *

    + * + * @see com.amazonaws.services.redshift.AmazonRedshift#authorizeSnapshotAccess(AuthorizeSnapshotAccessRequest) + */ +public class AuthorizeSnapshotAccessRequest extends AmazonWebServiceRequest implements Serializable { + + /** + * The identifier of the snapshot the account is authorized to restore. + */ + private String snapshotIdentifier; + + /** + * The identifier of the AWS customer account authorized to restore the + * specified snapshot. + */ + private String accountWithRestoreAccess; + + /** + * The identifier of the snapshot the account is authorized to restore. + * + * @return The identifier of the snapshot the account is authorized to restore. + */ + public String getSnapshotIdentifier() { + return snapshotIdentifier; + } + + /** + * The identifier of the snapshot the account is authorized to restore. + * + * @param snapshotIdentifier The identifier of the snapshot the account is authorized to restore. + */ + public void setSnapshotIdentifier(String snapshotIdentifier) { + this.snapshotIdentifier = snapshotIdentifier; + } + + /** + * The identifier of the snapshot the account is authorized to restore. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param snapshotIdentifier The identifier of the snapshot the account is authorized to restore. + */ + public AuthorizeSnapshotAccessRequest withSnapshotIdentifier(String snapshotIdentifier) { + this.snapshotIdentifier = snapshotIdentifier; + return this; + } + + + /** + * The identifier of the AWS customer account authorized to restore the + * specified snapshot. + * + * @return The identifier of the AWS customer account authorized to restore the + * specified snapshot. + */ + public String getAccountWithRestoreAccess() { + return accountWithRestoreAccess; + } + + /** + * The identifier of the AWS customer account authorized to restore the + * specified snapshot. + * + * @param accountWithRestoreAccess The identifier of the AWS customer account authorized to restore the + * specified snapshot. + */ + public void setAccountWithRestoreAccess(String accountWithRestoreAccess) { + this.accountWithRestoreAccess = accountWithRestoreAccess; + } + + /** + * The identifier of the AWS customer account authorized to restore the + * specified snapshot. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param accountWithRestoreAccess The identifier of the AWS customer account authorized to restore the + * specified snapshot. + */ + public AuthorizeSnapshotAccessRequest withAccountWithRestoreAccess(String accountWithRestoreAccess) { + this.accountWithRestoreAccess = accountWithRestoreAccess; + return this; + } + + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getSnapshotIdentifier() != null) sb.append("SnapshotIdentifier: " + getSnapshotIdentifier() + ","); + if (getAccountWithRestoreAccess() != null) sb.append("AccountWithRestoreAccess: " + getAccountWithRestoreAccess() ); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getSnapshotIdentifier() == null) ? 0 : getSnapshotIdentifier().hashCode()); + hashCode = prime * hashCode + ((getAccountWithRestoreAccess() == null) ? 0 : getAccountWithRestoreAccess().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) return true; + if (obj == null) return false; + + if (obj instanceof AuthorizeSnapshotAccessRequest == false) return false; + AuthorizeSnapshotAccessRequest other = (AuthorizeSnapshotAccessRequest)obj; + + if (other.getSnapshotIdentifier() == null ^ this.getSnapshotIdentifier() == null) return false; + if (other.getSnapshotIdentifier() != null && other.getSnapshotIdentifier().equals(this.getSnapshotIdentifier()) == false) return false; + if (other.getAccountWithRestoreAccess() == null ^ this.getAccountWithRestoreAccess() == null) return false; + if (other.getAccountWithRestoreAccess() != null && other.getAccountWithRestoreAccess().equals(this.getAccountWithRestoreAccess()) == false) return false; + return true; + } + +} + \ No newline at end of file diff --git a/src/main/java/com/amazonaws/services/redshift/model/AvailabilityZone.java b/src/main/java/com/amazonaws/services/redshift/model/AvailabilityZone.java index a19c85dcf681..8605910db928 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/AvailabilityZone.java +++ b/src/main/java/com/amazonaws/services/redshift/model/AvailabilityZone.java @@ -51,9 +51,6 @@ public void setName(String name) { * Returns a reference to this object so that method calls can be chained together. * * @param name The name of the availability zone. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public AvailabilityZone withName(String name) { this.name = name; diff --git a/src/main/java/com/amazonaws/services/redshift/model/Cluster.java b/src/main/java/com/amazonaws/services/redshift/model/Cluster.java index eafe6f5cb953..6085a9aed29f 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/Cluster.java +++ b/src/main/java/com/amazonaws/services/redshift/model/Cluster.java @@ -178,9 +178,6 @@ public void setClusterIdentifier(String clusterIdentifier) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterIdentifier The unique identifier of the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withClusterIdentifier(String clusterIdentifier) { this.clusterIdentifier = clusterIdentifier; @@ -212,9 +209,6 @@ public void setNodeType(String nodeType) { * Returns a reference to this object so that method calls can be chained together. * * @param nodeType The node type for the nodes in the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withNodeType(String nodeType) { this.nodeType = nodeType; @@ -258,9 +252,6 @@ public void setClusterStatus(String clusterStatus) { * @param clusterStatus The current state of this cluster. Possible values include * available, creating, deleting, * rebooting, and resizing. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withClusterStatus(String clusterStatus) { this.clusterStatus = clusterStatus; @@ -292,9 +283,6 @@ public void setModifyStatus(String modifyStatus) { * Returns a reference to this object so that method calls can be chained together. * * @param modifyStatus The status of a modify operation, if any, initiated for the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withModifyStatus(String modifyStatus) { this.modifyStatus = modifyStatus; @@ -332,9 +320,6 @@ public void setMasterUsername(String masterUsername) { * * @param masterUsername The master user name for the cluster. This name is used to connect to * the database that is specified in DBName. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withMasterUsername(String masterUsername) { this.masterUsername = masterUsername; @@ -384,9 +369,6 @@ public void setDBName(String dBName) { * created. This same name is returned for the life of the cluster. If an * initial database was not specified, a database named "dev" was created * by default. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withDBName(String dBName) { this.dBName = dBName; @@ -418,9 +400,6 @@ public void setEndpoint(Endpoint endpoint) { * Returns a reference to this object so that method calls can be chained together. * * @param endpoint The connection endpoint. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withEndpoint(Endpoint endpoint) { this.endpoint = endpoint; @@ -452,9 +431,6 @@ public void setClusterCreateTime(java.util.Date clusterCreateTime) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterCreateTime The date and time that the cluster was created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withClusterCreateTime(java.util.Date clusterCreateTime) { this.clusterCreateTime = clusterCreateTime; @@ -486,9 +462,6 @@ public void setAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetenti * Returns a reference to this object so that method calls can be chained together. * * @param automatedSnapshotRetentionPeriod The number of days that automatic cluster snapshots are retained. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod) { this.automatedSnapshotRetentionPeriod = automatedSnapshotRetentionPeriod; @@ -567,9 +540,6 @@ public void setClusterSecurityGroups(java.util.CollectionVpcSecurityGroups parameter. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withClusterSecurityGroups(ClusterSecurityGroupMembership... clusterSecurityGroups) { if (getClusterSecurityGroups() == null) setClusterSecurityGroups(new java.util.ArrayList(clusterSecurityGroups.length)); @@ -597,9 +567,6 @@ public Cluster withClusterSecurityGroups(ClusterSecurityGroupMembership... clust * security groups are used when the cluster is not created in a VPC. * Clusters that are created in a VPC use VPC security groups, which are * listed by the VpcSecurityGroups parameter. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withClusterSecurityGroups(java.util.Collection clusterSecurityGroups) { if (clusterSecurityGroups == null) { @@ -660,9 +627,6 @@ public void setVpcSecurityGroups(java.util.Collection(vpcSecurityGroups.length)); @@ -682,9 +646,6 @@ public Cluster withVpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGr * @param vpcSecurityGroups A list of Virtual Private Cloud (VPC) security groups that are * associated with the cluster. This parameter is returned only if the * cluster is in a VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withVpcSecurityGroups(java.util.Collection vpcSecurityGroups) { if (vpcSecurityGroups == null) { @@ -739,9 +700,6 @@ public void setClusterParameterGroups(java.util.Collection(clusterParameterGroups.length)); @@ -759,9 +717,6 @@ public Cluster withClusterParameterGroups(ClusterParameterGroupStatus... cluster * * @param clusterParameterGroups The list of cluster parameter groups that are associated with this * cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withClusterParameterGroups(java.util.Collection clusterParameterGroups) { if (clusterParameterGroups == null) { @@ -805,9 +760,6 @@ public void setClusterSubnetGroupName(String clusterSubnetGroupName) { * * @param clusterSubnetGroupName The name of the subnet group that is associated with the cluster. This * parameter is valid only when the cluster is in a VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withClusterSubnetGroupName(String clusterSubnetGroupName) { this.clusterSubnetGroupName = clusterSubnetGroupName; @@ -845,9 +797,6 @@ public void setVpcId(String vpcId) { * * @param vpcId The identifier of the VPC the cluster is in, if the cluster is in a * VPC. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withVpcId(String vpcId) { this.vpcId = vpcId; @@ -879,9 +828,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The name of the Availability Zone in which the cluster is located. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -919,9 +865,6 @@ public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow) { * * @param preferredMaintenanceWindow The weekly time range (in UTC) during which system maintenance can * occur. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withPreferredMaintenanceWindow(String preferredMaintenanceWindow) { this.preferredMaintenanceWindow = preferredMaintenanceWindow; @@ -959,9 +902,6 @@ public void setPendingModifiedValues(PendingModifiedValues pendingModifiedValues * * @param pendingModifiedValues If present, changes to the cluster are pending. Specific pending * changes are identified by subelements. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withPendingModifiedValues(PendingModifiedValues pendingModifiedValues) { this.pendingModifiedValues = pendingModifiedValues; @@ -999,9 +939,6 @@ public void setClusterVersion(String clusterVersion) { * * @param clusterVersion The version ID of the Amazon Redshift engine that is running on the * cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withClusterVersion(String clusterVersion) { this.clusterVersion = clusterVersion; @@ -1039,9 +976,6 @@ public void setAllowVersionUpgrade(Boolean allowVersionUpgrade) { * * @param allowVersionUpgrade If true, version upgrades will be applied automatically * to the cluster during the maintenance window. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withAllowVersionUpgrade(Boolean allowVersionUpgrade) { this.allowVersionUpgrade = allowVersionUpgrade; @@ -1084,9 +1018,6 @@ public void setNumberOfNodes(Integer numberOfNodes) { * Returns a reference to this object so that method calls can be chained together. * * @param numberOfNodes The number of compute nodes in the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withNumberOfNodes(Integer numberOfNodes) { this.numberOfNodes = numberOfNodes; @@ -1124,9 +1055,6 @@ public void setPubliclyAccessible(Boolean publiclyAccessible) { * * @param publiclyAccessible If true, the cluster can be accessed from a public * network. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withPubliclyAccessible(Boolean publiclyAccessible) { this.publiclyAccessible = publiclyAccessible; @@ -1169,9 +1097,6 @@ public void setEncrypted(Boolean encrypted) { * Returns a reference to this object so that method calls can be chained together. * * @param encrypted If true, data in cluster is encrypted at rest. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Cluster withEncrypted(Boolean encrypted) { this.encrypted = encrypted; diff --git a/src/main/java/com/amazonaws/services/redshift/model/ClusterParameterGroup.java b/src/main/java/com/amazonaws/services/redshift/model/ClusterParameterGroup.java index ef890c00afe3..d6b22f183c4d 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ClusterParameterGroup.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ClusterParameterGroup.java @@ -62,9 +62,6 @@ public void setParameterGroupName(String parameterGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param parameterGroupName The name of the cluster parameter group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterParameterGroup withParameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; @@ -102,9 +99,6 @@ public void setParameterGroupFamily(String parameterGroupFamily) { * * @param parameterGroupFamily The name of the cluster parameter group family that this cluster * parameter group is compatible with. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterParameterGroup withParameterGroupFamily(String parameterGroupFamily) { this.parameterGroupFamily = parameterGroupFamily; @@ -136,9 +130,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The description of the parameter group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterParameterGroup withDescription(String description) { this.description = description; diff --git a/src/main/java/com/amazonaws/services/redshift/model/ClusterParameterGroupQuotaExceededException.java b/src/main/java/com/amazonaws/services/redshift/model/ClusterParameterGroupQuotaExceededException.java index f0f0096a4586..d721099706e2 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ClusterParameterGroupQuotaExceededException.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ClusterParameterGroupQuotaExceededException.java @@ -18,7 +18,10 @@ /** *

    - * The request would result in the user exceeding the allowed number of cluster parameter groups. + * The request would result in the user exceeding the allowed number of cluster parameter groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift + * Management Guide . + * *

    */ public class ClusterParameterGroupQuotaExceededException extends AmazonServiceException { diff --git a/src/main/java/com/amazonaws/services/redshift/model/ClusterParameterGroupStatus.java b/src/main/java/com/amazonaws/services/redshift/model/ClusterParameterGroupStatus.java index bc88eb26bf5f..da7963f3199f 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ClusterParameterGroupStatus.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ClusterParameterGroupStatus.java @@ -56,9 +56,6 @@ public void setParameterGroupName(String parameterGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param parameterGroupName The name of the cluster parameter group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterParameterGroupStatus withParameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; @@ -90,9 +87,6 @@ public void setParameterApplyStatus(String parameterApplyStatus) { * Returns a reference to this object so that method calls can be chained together. * * @param parameterApplyStatus The status of parameter updates. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterParameterGroupStatus withParameterApplyStatus(String parameterApplyStatus) { this.parameterApplyStatus = parameterApplyStatus; diff --git a/src/main/java/com/amazonaws/services/redshift/model/ClusterQuotaExceededException.java b/src/main/java/com/amazonaws/services/redshift/model/ClusterQuotaExceededException.java index d71e3886a5d7..363e64b3ce2e 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ClusterQuotaExceededException.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ClusterQuotaExceededException.java @@ -18,7 +18,10 @@ /** *

    - * The request would exceed the allowed number of cluster instances for this account. + * The request would exceed the allowed number of cluster instances for this account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift + * Management Guide . + * *

    */ public class ClusterQuotaExceededException extends AmazonServiceException { diff --git a/src/main/java/com/amazonaws/services/redshift/model/ClusterSecurityGroup.java b/src/main/java/com/amazonaws/services/redshift/model/ClusterSecurityGroup.java index 34fd575eb669..549ad2bb179e 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ClusterSecurityGroup.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ClusterSecurityGroup.java @@ -75,9 +75,6 @@ public void setClusterSecurityGroupName(String clusterSecurityGroupName) { * * @param clusterSecurityGroupName The name of the cluster security group to which the operation was * applied. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSecurityGroup withClusterSecurityGroupName(String clusterSecurityGroupName) { this.clusterSecurityGroupName = clusterSecurityGroupName; @@ -109,9 +106,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description A description of the security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSecurityGroup withDescription(String description) { this.description = description; @@ -160,9 +154,6 @@ public void setEC2SecurityGroups(java.util.Collection eC2Secur * * @param eC2SecurityGroups A list of EC2 security groups that are permitted to access clusters * associated with this cluster security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSecurityGroup withEC2SecurityGroups(EC2SecurityGroup... eC2SecurityGroups) { if (getEC2SecurityGroups() == null) setEC2SecurityGroups(new java.util.ArrayList(eC2SecurityGroups.length)); @@ -180,9 +171,6 @@ public ClusterSecurityGroup withEC2SecurityGroups(EC2SecurityGroup... eC2Securit * * @param eC2SecurityGroups A list of EC2 security groups that are permitted to access clusters * associated with this cluster security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSecurityGroup withEC2SecurityGroups(java.util.Collection eC2SecurityGroups) { if (eC2SecurityGroups == null) { @@ -237,9 +225,6 @@ public void setIPRanges(java.util.Collection iPRanges) { * * @param iPRanges A list of IP ranges (CIDR blocks) that are permitted to access * clusters associated with this cluster security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSecurityGroup withIPRanges(IPRange... iPRanges) { if (getIPRanges() == null) setIPRanges(new java.util.ArrayList(iPRanges.length)); @@ -257,9 +242,6 @@ public ClusterSecurityGroup withIPRanges(IPRange... iPRanges) { * * @param iPRanges A list of IP ranges (CIDR blocks) that are permitted to access * clusters associated with this cluster security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSecurityGroup withIPRanges(java.util.Collection iPRanges) { if (iPRanges == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/ClusterSecurityGroupMembership.java b/src/main/java/com/amazonaws/services/redshift/model/ClusterSecurityGroupMembership.java index ba2f1b9f8f34..e632ce3a2d62 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ClusterSecurityGroupMembership.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ClusterSecurityGroupMembership.java @@ -56,9 +56,6 @@ public void setClusterSecurityGroupName(String clusterSecurityGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterSecurityGroupName The name of the cluster security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSecurityGroupMembership withClusterSecurityGroupName(String clusterSecurityGroupName) { this.clusterSecurityGroupName = clusterSecurityGroupName; @@ -90,9 +87,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The status of the cluster security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSecurityGroupMembership withStatus(String status) { this.status = status; diff --git a/src/main/java/com/amazonaws/services/redshift/model/ClusterSecurityGroupQuotaExceededException.java b/src/main/java/com/amazonaws/services/redshift/model/ClusterSecurityGroupQuotaExceededException.java index dccad69188ca..d749a2a3cb5b 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ClusterSecurityGroupQuotaExceededException.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ClusterSecurityGroupQuotaExceededException.java @@ -18,7 +18,10 @@ /** *

    - * The request would result in the user exceeding the allowed number of cluster security groups. + * The request would result in the user exceeding the allowed number of cluster security groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift + * Management Guide . + * *

    */ public class ClusterSecurityGroupQuotaExceededException extends AmazonServiceException { diff --git a/src/main/java/com/amazonaws/services/redshift/model/ClusterSubnetGroup.java b/src/main/java/com/amazonaws/services/redshift/model/ClusterSubnetGroup.java index 572a99208f0d..8491675c8326 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ClusterSubnetGroup.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ClusterSubnetGroup.java @@ -73,9 +73,6 @@ public void setClusterSubnetGroupName(String clusterSubnetGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterSubnetGroupName The name of the cluster subnet group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSubnetGroup withClusterSubnetGroupName(String clusterSubnetGroupName) { this.clusterSubnetGroupName = clusterSubnetGroupName; @@ -107,9 +104,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The description of the cluster subnet group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSubnetGroup withDescription(String description) { this.description = description; @@ -141,9 +135,6 @@ public void setVpcId(String vpcId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcId The VPC ID of the cluster subnet group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSubnetGroup withVpcId(String vpcId) { this.vpcId = vpcId; @@ -187,9 +178,6 @@ public void setSubnetGroupStatus(String subnetGroupStatus) { * @param subnetGroupStatus The status of the cluster subnet group. Possible values are * Complete, Incomplete and * Invalid. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSubnetGroup withSubnetGroupStatus(String subnetGroupStatus) { this.subnetGroupStatus = subnetGroupStatus; @@ -232,9 +220,6 @@ public void setSubnets(java.util.Collection subnets) { * Returns a reference to this object so that method calls can be chained together. * * @param subnets A list of the VPC Subnet elements. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSubnetGroup withSubnets(Subnet... subnets) { if (getSubnets() == null) setSubnets(new java.util.ArrayList(subnets.length)); @@ -250,9 +235,6 @@ public ClusterSubnetGroup withSubnets(Subnet... subnets) { * Returns a reference to this object so that method calls can be chained together. * * @param subnets A list of the VPC Subnet elements. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterSubnetGroup withSubnets(java.util.Collection subnets) { if (subnets == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/ClusterSubnetGroupQuotaExceededException.java b/src/main/java/com/amazonaws/services/redshift/model/ClusterSubnetGroupQuotaExceededException.java index 102aaa5f1224..9de83e1399d1 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ClusterSubnetGroupQuotaExceededException.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ClusterSubnetGroupQuotaExceededException.java @@ -18,7 +18,10 @@ /** *

    - * The request would result in user exceeding the allowed number of cluster subnet groups. + * The request would result in user exceeding the allowed number of cluster subnet groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift + * Management Guide . + * *

    */ public class ClusterSubnetGroupQuotaExceededException extends AmazonServiceException { diff --git a/src/main/java/com/amazonaws/services/redshift/model/ClusterSubnetQuotaExceededException.java b/src/main/java/com/amazonaws/services/redshift/model/ClusterSubnetQuotaExceededException.java index 1c99670fe9f9..834ada922b26 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ClusterSubnetQuotaExceededException.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ClusterSubnetQuotaExceededException.java @@ -18,7 +18,10 @@ /** *

    - * The request would result in user exceeding the allowed number of subnets in a cluster subnet groups. + * The request would result in user exceeding the allowed number of subnets in a cluster subnet groups. For information about increasing your quota, go + * to Limits in Amazon Redshift in the Amazon Redshift + * Management Guide . + * *

    */ public class ClusterSubnetQuotaExceededException extends AmazonServiceException { diff --git a/src/main/java/com/amazonaws/services/redshift/model/ClusterVersion.java b/src/main/java/com/amazonaws/services/redshift/model/ClusterVersion.java index 1b27ea929afa..aaa84f07d6d8 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ClusterVersion.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ClusterVersion.java @@ -61,9 +61,6 @@ public void setClusterVersion(String clusterVersion) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterVersion The version number used by the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterVersion withClusterVersion(String clusterVersion) { this.clusterVersion = clusterVersion; @@ -95,9 +92,6 @@ public void setClusterParameterGroupFamily(String clusterParameterGroupFamily) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterParameterGroupFamily The name of the cluster parameter group family for the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterVersion withClusterParameterGroupFamily(String clusterParameterGroupFamily) { this.clusterParameterGroupFamily = clusterParameterGroupFamily; @@ -129,9 +123,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description The description of the cluster version. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ClusterVersion withDescription(String description) { this.description = description; diff --git a/src/main/java/com/amazonaws/services/redshift/model/CopyClusterSnapshotRequest.java b/src/main/java/com/amazonaws/services/redshift/model/CopyClusterSnapshotRequest.java index b19cf26c8703..335ac8071802 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/CopyClusterSnapshotRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/CopyClusterSnapshotRequest.java @@ -89,9 +89,6 @@ public void setSourceSnapshotIdentifier(String sourceSnapshotIdentifier) { * @param sourceSnapshotIdentifier The identifier for the source snapshot.

    Constraints:

    • Must * be the identifier for a valid automated snapshot whose state is * "available".
    - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CopyClusterSnapshotRequest withSourceSnapshotIdentifier(String sourceSnapshotIdentifier) { this.sourceSnapshotIdentifier = sourceSnapshotIdentifier; @@ -153,9 +150,6 @@ public void setTargetSnapshotIdentifier(String targetSnapshotIdentifier) { * be a letter.
  • Cannot end with a hyphen or contain two * consecutive hyphens.
  • Must be unique for the AWS account that * is making the request.
  • - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CopyClusterSnapshotRequest withTargetSnapshotIdentifier(String targetSnapshotIdentifier) { this.targetSnapshotIdentifier = targetSnapshotIdentifier; diff --git a/src/main/java/com/amazonaws/services/redshift/model/CreateClusterParameterGroupRequest.java b/src/main/java/com/amazonaws/services/redshift/model/CreateClusterParameterGroupRequest.java index cadcea9cb22e..81449f0f2fbb 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/CreateClusterParameterGroupRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/CreateClusterParameterGroupRequest.java @@ -118,9 +118,6 @@ public void setParameterGroupName(String parameterGroupName) { * contain two consecutive hyphens.
  • Must be unique withing your * AWS account.
  • This value is stored as a lower-case * string. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterParameterGroupRequest withParameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; @@ -200,9 +197,6 @@ public void setParameterGroupFamily(String parameterGroupFamily) { * Amazon Redshift engine version. The parameter group family names * associated with the default parameter groups provide you the valid * values. For example, a valid family name is "redshift-1.0". - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterParameterGroupRequest withParameterGroupFamily(String parameterGroupFamily) { this.parameterGroupFamily = parameterGroupFamily; @@ -234,9 +228,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description A description of the parameter group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterParameterGroupRequest withDescription(String description) { this.description = description; diff --git a/src/main/java/com/amazonaws/services/redshift/model/CreateClusterRequest.java b/src/main/java/com/amazonaws/services/redshift/model/CreateClusterRequest.java index efbebadd9ee1..fcdab94c79e4 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/CreateClusterRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/CreateClusterRequest.java @@ -96,7 +96,9 @@ public class CreateClusterRequest extends AmazonWebServiceRequest implements Se * that is being created.

    Constraints:

    • Must be between 8 and * 64 characters in length.
    • Must contain at least one uppercase * letter.
    • Must contain at least one lowercase letter.
    • - *
    • Must contain one number.
    + *
  • Must contain one number.
  • Can be any printable ASCII + * character (ASCII code 33 to 126) except ' (single quote), " (double + * quote), \, /, @, or space.
  • */ private String masterUserPassword; @@ -140,11 +142,8 @@ public class CreateClusterRequest extends AmazonWebServiceRequest implements Se * on a random day of the week. The following list shows the time blocks * for each region from which the default maintenance windows are * assigned.
    • US-East (Northern Virginia) Region: - * 03:00-11:00 UTC
    • US-West (Northern California) Region: - * 06:00-14:00 UTC
    • EU (Ireland) Region: 22:00-06:00 - * UTC
    • Asia Pacific (Singapore) Region: 14:00-22:00 - * UTC
    • Asia Pacific (Tokyo) Region: 17:00-03:00 UTC
    • - *

    Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun + * 03:00-11:00 UTC

  • US-West (Oregon) Region 06:00-14:00 + * UTC
  • Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun *

    Constraints: Minimum 30-minute window. */ private String preferredMaintenanceWindow; @@ -314,9 +313,6 @@ public void setDBName(String dBName) { * list of reserved words can be found in Reserved * Words in the Amazon Redshift Developer Guide. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withDBName(String dBName) { this.dBName = dBName; @@ -396,9 +392,6 @@ public void setClusterIdentifier(String clusterIdentifier) { *

  • Cannot end with a hyphen or contain two consecutive hyphens.
  • *
  • Must be unique for all clusters within an AWS account.
  • *

    Example: myexamplecluster - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withClusterIdentifier(String clusterIdentifier) { this.clusterIdentifier = clusterIdentifier; @@ -460,9 +453,6 @@ public void setClusterType(String clusterType) { * NumberOfNodes parameter is required.

    Valid * Values: multi-node | single-node

    Default: * multi-node - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withClusterType(String clusterType) { this.clusterType = clusterType; @@ -524,9 +514,6 @@ public void setNodeType(String nodeType) { * Working with Clusters in the Amazon Redshift Management * Guide.

    Valid Values: dw.hs1.xlarge | * dw.hs1.8xlarge. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withNodeType(String nodeType) { this.nodeType = nodeType; @@ -594,9 +581,6 @@ public void setMasterUsername(String masterUsername) { * can be found in Reserved * Words in the Amazon Redshift Developer Guide. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withMasterUsername(String masterUsername) { this.masterUsername = masterUsername; @@ -609,13 +593,17 @@ public CreateClusterRequest withMasterUsername(String masterUsername) { * that is being created.

    Constraints:

    • Must be between 8 and * 64 characters in length.
    • Must contain at least one uppercase * letter.
    • Must contain at least one lowercase letter.
    • - *
    • Must contain one number.
    + *
  • Must contain one number.
  • Can be any printable ASCII + * character (ASCII code 33 to 126) except ' (single quote), " (double + * quote), \, /, @, or space.
  • * * @return The password associated with the master user account for the cluster * that is being created.

    Constraints:

    • Must be between 8 and * 64 characters in length.
    • Must contain at least one uppercase * letter.
    • Must contain at least one lowercase letter.
    • - *
    • Must contain one number.
    + *
  • Must contain one number.
  • Can be any printable ASCII + * character (ASCII code 33 to 126) except ' (single quote), " (double + * quote), \, /, @, or space.
  • */ public String getMasterUserPassword() { return masterUserPassword; @@ -626,13 +614,17 @@ public String getMasterUserPassword() { * that is being created.

    Constraints:

    • Must be between 8 and * 64 characters in length.
    • Must contain at least one uppercase * letter.
    • Must contain at least one lowercase letter.
    • - *
    • Must contain one number.
    + *
  • Must contain one number.
  • Can be any printable ASCII + * character (ASCII code 33 to 126) except ' (single quote), " (double + * quote), \, /, @, or space.
  • * * @param masterUserPassword The password associated with the master user account for the cluster * that is being created.

    Constraints:

    • Must be between 8 and * 64 characters in length.
    • Must contain at least one uppercase * letter.
    • Must contain at least one lowercase letter.
    • - *
    • Must contain one number.
    + *
  • Must contain one number.
  • Can be any printable ASCII + * character (ASCII code 33 to 126) except ' (single quote), " (double + * quote), \, /, @, or space.
  • */ public void setMasterUserPassword(String masterUserPassword) { this.masterUserPassword = masterUserPassword; @@ -643,7 +635,9 @@ public void setMasterUserPassword(String masterUserPassword) { * that is being created.

    Constraints:

    • Must be between 8 and * 64 characters in length.
    • Must contain at least one uppercase * letter.
    • Must contain at least one lowercase letter.
    • - *
    • Must contain one number.
    + *
  • Must contain one number.
  • Can be any printable ASCII + * character (ASCII code 33 to 126) except ' (single quote), " (double + * quote), \, /, @, or space.
  • *

    * Returns a reference to this object so that method calls can be chained together. * @@ -651,10 +645,9 @@ public void setMasterUserPassword(String masterUserPassword) { * that is being created.

    Constraints:

    • Must be between 8 and * 64 characters in length.
    • Must contain at least one uppercase * letter.
    • Must contain at least one lowercase letter.
    • - *
    • Must contain one number.
    - * - * @return A reference to this updated object so that method calls can be chained - * together. + *
  • Must contain one number.
  • Can be any printable ASCII + * character (ASCII code 33 to 126) except ' (single quote), " (double + * quote), \, /, @, or space.
  • */ public CreateClusterRequest withMasterUserPassword(String masterUserPassword) { this.masterUserPassword = masterUserPassword; @@ -703,9 +696,6 @@ public void setClusterSecurityGroups(java.util.Collection clusterSecurit * * @param clusterSecurityGroups A list of security groups to be associated with this cluster.

    * Default: The default cluster security group for Amazon Redshift. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withClusterSecurityGroups(String... clusterSecurityGroups) { if (getClusterSecurityGroups() == null) setClusterSecurityGroups(new java.util.ArrayList(clusterSecurityGroups.length)); @@ -723,9 +713,6 @@ public CreateClusterRequest withClusterSecurityGroups(String... clusterSecurityG * * @param clusterSecurityGroups A list of security groups to be associated with this cluster.

    * Default: The default cluster security group for Amazon Redshift. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withClusterSecurityGroups(java.util.Collection clusterSecurityGroups) { if (clusterSecurityGroups == null) { @@ -786,9 +773,6 @@ public void setVpcSecurityGroupIds(java.util.Collection vpcSecurityGroup * @param vpcSecurityGroupIds A list of Virtual Private Cloud (VPC) security groups to be associated * with the cluster.

    Default: The default VPC security group is * associated with the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds) { if (getVpcSecurityGroupIds() == null) setVpcSecurityGroupIds(new java.util.ArrayList(vpcSecurityGroupIds.length)); @@ -808,9 +792,6 @@ public CreateClusterRequest withVpcSecurityGroupIds(String... vpcSecurityGroupId * @param vpcSecurityGroupIds A list of Virtual Private Cloud (VPC) security groups to be associated * with the cluster.

    Default: The default VPC security group is * associated with the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withVpcSecurityGroupIds(java.util.Collection vpcSecurityGroupIds) { if (vpcSecurityGroupIds == null) { @@ -860,9 +841,6 @@ public void setClusterSubnetGroupName(String clusterSubnetGroupName) { * @param clusterSubnetGroupName The name of a cluster subnet group to be associated with this cluster. *

    If this parameter is not provided the resulting cluster will be * deployed outside virtual private cloud (VPC). - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withClusterSubnetGroupName(String clusterSubnetGroupName) { this.clusterSubnetGroupName = clusterSubnetGroupName; @@ -936,9 +914,6 @@ public void setAvailabilityZone(String availabilityZone) { * Zone in the region that is specified by the endpoint.

    Example: * us-east-1d

    Constraint: The specified Availability * Zone must be in the same region as the current endpoint. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -954,11 +929,8 @@ public CreateClusterRequest withAvailabilityZone(String availabilityZone) { * on a random day of the week. The following list shows the time blocks * for each region from which the default maintenance windows are * assigned.

    • US-East (Northern Virginia) Region: - * 03:00-11:00 UTC
    • US-West (Northern California) Region: - * 06:00-14:00 UTC
    • EU (Ireland) Region: 22:00-06:00 - * UTC
    • Asia Pacific (Singapore) Region: 14:00-22:00 - * UTC
    • Asia Pacific (Tokyo) Region: 17:00-03:00 UTC
    • - *

    Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun + * 03:00-11:00 UTC

  • US-West (Oregon) Region 06:00-14:00 + * UTC
  • Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun *

    Constraints: Minimum 30-minute window. * * @return The weekly time range (in UTC) during which automated cluster @@ -968,11 +940,8 @@ public CreateClusterRequest withAvailabilityZone(String availabilityZone) { * on a random day of the week. The following list shows the time blocks * for each region from which the default maintenance windows are * assigned.

    • US-East (Northern Virginia) Region: - * 03:00-11:00 UTC
    • US-West (Northern California) Region: - * 06:00-14:00 UTC
    • EU (Ireland) Region: 22:00-06:00 - * UTC
    • Asia Pacific (Singapore) Region: 14:00-22:00 - * UTC
    • Asia Pacific (Tokyo) Region: 17:00-03:00 UTC
    • - *

    Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun + * 03:00-11:00 UTC

  • US-West (Oregon) Region 06:00-14:00 + * UTC
  • Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun *

    Constraints: Minimum 30-minute window. */ public String getPreferredMaintenanceWindow() { @@ -987,11 +956,8 @@ public String getPreferredMaintenanceWindow() { * on a random day of the week. The following list shows the time blocks * for each region from which the default maintenance windows are * assigned.

    • US-East (Northern Virginia) Region: - * 03:00-11:00 UTC
    • US-West (Northern California) Region: - * 06:00-14:00 UTC
    • EU (Ireland) Region: 22:00-06:00 - * UTC
    • Asia Pacific (Singapore) Region: 14:00-22:00 - * UTC
    • Asia Pacific (Tokyo) Region: 17:00-03:00 UTC
    • - *

    Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun + * 03:00-11:00 UTC

  • US-West (Oregon) Region 06:00-14:00 + * UTC
  • Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun *

    Constraints: Minimum 30-minute window. * * @param preferredMaintenanceWindow The weekly time range (in UTC) during which automated cluster @@ -1001,11 +967,8 @@ public String getPreferredMaintenanceWindow() { * on a random day of the week. The following list shows the time blocks * for each region from which the default maintenance windows are * assigned.

    • US-East (Northern Virginia) Region: - * 03:00-11:00 UTC
    • US-West (Northern California) Region: - * 06:00-14:00 UTC
    • EU (Ireland) Region: 22:00-06:00 - * UTC
    • Asia Pacific (Singapore) Region: 14:00-22:00 - * UTC
    • Asia Pacific (Tokyo) Region: 17:00-03:00 UTC
    • - *

    Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun + * 03:00-11:00 UTC

  • US-West (Oregon) Region 06:00-14:00 + * UTC
  • Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun *

    Constraints: Minimum 30-minute window. */ public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow) { @@ -1020,11 +983,8 @@ public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow) { * on a random day of the week. The following list shows the time blocks * for each region from which the default maintenance windows are * assigned.

    • US-East (Northern Virginia) Region: - * 03:00-11:00 UTC
    • US-West (Northern California) Region: - * 06:00-14:00 UTC
    • EU (Ireland) Region: 22:00-06:00 - * UTC
    • Asia Pacific (Singapore) Region: 14:00-22:00 - * UTC
    • Asia Pacific (Tokyo) Region: 17:00-03:00 UTC
    • - *

    Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun + * 03:00-11:00 UTC

  • US-West (Oregon) Region 06:00-14:00 + * UTC
  • Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun *

    Constraints: Minimum 30-minute window. *

    * Returns a reference to this object so that method calls can be chained together. @@ -1036,15 +996,9 @@ public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow) { * on a random day of the week. The following list shows the time blocks * for each region from which the default maintenance windows are * assigned.

    • US-East (Northern Virginia) Region: - * 03:00-11:00 UTC
    • US-West (Northern California) Region: - * 06:00-14:00 UTC
    • EU (Ireland) Region: 22:00-06:00 - * UTC
    • Asia Pacific (Singapore) Region: 14:00-22:00 - * UTC
    • Asia Pacific (Tokyo) Region: 17:00-03:00 UTC
    • - *

    Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun + * 03:00-11:00 UTC

  • US-West (Oregon) Region 06:00-14:00 + * UTC
  • Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun *

    Constraints: Minimum 30-minute window. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow) { this.preferredMaintenanceWindow = preferredMaintenanceWindow; @@ -1118,9 +1072,6 @@ public void setClusterParameterGroupName(String clusterParameterGroupName) { *

  • Must be 1 to 255 alphanumeric characters or hyphens.
  • *
  • First character must be a letter.
  • Cannot end with a * hyphen or contain two consecutive hyphens.
  • - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withClusterParameterGroupName(String clusterParameterGroupName) { this.clusterParameterGroupName = clusterParameterGroupName; @@ -1176,9 +1127,6 @@ public void setAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetenti * are disabled, you can still create manual snapshots when you want with * CreateClusterSnapshot.

    Default: 1 *

    Constraints: Must be a value from 0 to 35. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod) { this.automatedSnapshotRetentionPeriod = automatedSnapshotRetentionPeriod; @@ -1234,9 +1182,6 @@ public void setPort(Integer port) { * strings. Part of the connection string requires the port on which the * cluster will listen for incoming connections.

    Default: * 5439

    Valid Values: 1150-65535 - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withPort(Integer port) { this.port = port; @@ -1286,9 +1231,6 @@ public void setClusterVersion(String clusterVersion) { * deploy on the cluster.

    The version selected runs on all the nodes * in the cluster.

    Constraints: Only version 1.0 is currently * available.

    Example: 1.0 - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withClusterVersion(String clusterVersion) { this.clusterVersion = clusterVersion; @@ -1350,9 +1292,6 @@ public void setAllowVersionUpgrade(Boolean allowVersionUpgrade) { * can request that the service automatically apply upgrades during the * maintenance window to the Amazon Redshift engine that is running on * your cluster.

    Default: true - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withAllowVersionUpgrade(Boolean allowVersionUpgrade) { this.allowVersionUpgrade = allowVersionUpgrade; @@ -1463,9 +1402,6 @@ public void setNumberOfNodes(Integer numberOfNodes) { * specify the number of nodes that you want in the cluster.

    Default: * 1

    Constraints: Value must be at least 1 and no more * than 100. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withNumberOfNodes(Integer numberOfNodes) { this.numberOfNodes = numberOfNodes; @@ -1503,9 +1439,6 @@ public void setPubliclyAccessible(Boolean publiclyAccessible) { * * @param publiclyAccessible If true, the cluster can be accessed from a public * network. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withPubliclyAccessible(Boolean publiclyAccessible) { this.publiclyAccessible = publiclyAccessible; @@ -1554,9 +1487,6 @@ public void setEncrypted(Boolean encrypted) { * * @param encrypted If true, the data in cluster is encrypted at rest. *

    Default: false - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterRequest withEncrypted(Boolean encrypted) { this.encrypted = encrypted; diff --git a/src/main/java/com/amazonaws/services/redshift/model/CreateClusterSecurityGroupRequest.java b/src/main/java/com/amazonaws/services/redshift/model/CreateClusterSecurityGroupRequest.java index 5472e9247d51..37c5c1a8ee1a 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/CreateClusterSecurityGroupRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/CreateClusterSecurityGroupRequest.java @@ -100,9 +100,6 @@ public void setClusterSecurityGroupName(String clusterSecurityGroupName) { * "Default".

  • Must be unique for all security groups that are * created by your AWS account.
  • Example: * examplesecuritygroup - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterSecurityGroupRequest withClusterSecurityGroupName(String clusterSecurityGroupName) { this.clusterSecurityGroupName = clusterSecurityGroupName; @@ -134,9 +131,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description A description for the security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterSecurityGroupRequest withDescription(String description) { this.description = description; diff --git a/src/main/java/com/amazonaws/services/redshift/model/CreateClusterSnapshotRequest.java b/src/main/java/com/amazonaws/services/redshift/model/CreateClusterSnapshotRequest.java index 6a16930db1ec..29608325c89a 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/CreateClusterSnapshotRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/CreateClusterSnapshotRequest.java @@ -106,9 +106,6 @@ public void setSnapshotIdentifier(String snapshotIdentifier) { *

  • First character must be a letter
  • Cannot end with a hyphen * or contain two consecutive hyphens
  • Example: * my-snapshot-id - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterSnapshotRequest withSnapshotIdentifier(String snapshotIdentifier) { this.snapshotIdentifier = snapshotIdentifier; @@ -140,9 +137,6 @@ public void setClusterIdentifier(String clusterIdentifier) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterIdentifier The cluster identifier for which you want a snapshot. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterSnapshotRequest withClusterIdentifier(String clusterIdentifier) { this.clusterIdentifier = clusterIdentifier; diff --git a/src/main/java/com/amazonaws/services/redshift/model/CreateClusterSubnetGroupRequest.java b/src/main/java/com/amazonaws/services/redshift/model/CreateClusterSubnetGroupRequest.java index fa7153403c58..d83be92809d0 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/CreateClusterSubnetGroupRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/CreateClusterSubnetGroupRequest.java @@ -23,8 +23,8 @@ * when creating Amazon Redshift subnet group. *

    *

    - * For information about subnet groups, go to Amazon Redshift - * Cluster Subnet Groups in the Amazon Redshift Management Guide . + * For information about subnet groups, go to Amazon + * Redshift Cluster Subnet Groups in the Amazon Redshift Management Guide . * *

    * @@ -107,9 +107,6 @@ public void setClusterSubnetGroupName(String clusterSubnetGroupName) { * "Default".
  • Must be unique for all subnet groups that are * created by your AWS account.
  • Example: * examplesubnetgroup - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterSubnetGroupRequest withClusterSubnetGroupName(String clusterSubnetGroupName) { this.clusterSubnetGroupName = clusterSubnetGroupName; @@ -141,9 +138,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description A description for the subnet group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterSubnetGroupRequest withDescription(String description) { this.description = description; @@ -192,9 +186,6 @@ public void setSubnetIds(java.util.Collection subnetIds) { * * @param subnetIds An array of VPC subnet IDs. A maximum of 20 subnets can be modified in * a single request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterSubnetGroupRequest withSubnetIds(String... subnetIds) { if (getSubnetIds() == null) setSubnetIds(new java.util.ArrayList(subnetIds.length)); @@ -212,9 +203,6 @@ public CreateClusterSubnetGroupRequest withSubnetIds(String... subnetIds) { * * @param subnetIds An array of VPC subnet IDs. A maximum of 20 subnets can be modified in * a single request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public CreateClusterSubnetGroupRequest withSubnetIds(java.util.Collection subnetIds) { if (subnetIds == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/DefaultClusterParameters.java b/src/main/java/com/amazonaws/services/redshift/model/DefaultClusterParameters.java index 047f9222467f..2c86b75b7748 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DefaultClusterParameters.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DefaultClusterParameters.java @@ -68,9 +68,6 @@ public void setParameterGroupFamily(String parameterGroupFamily) { * * @param parameterGroupFamily The name of the cluster parameter group family to which the engine * default parameters apply. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DefaultClusterParameters withParameterGroupFamily(String parameterGroupFamily) { this.parameterGroupFamily = parameterGroupFamily; @@ -102,9 +99,6 @@ public void setMarker(String marker) { * Returns a reference to this object so that method calls can be chained together. * * @param marker An identifier to allow retrieval of paginated results. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DefaultClusterParameters withMarker(String marker) { this.marker = marker; @@ -147,9 +141,6 @@ public void setParameters(java.util.Collection parameters) { * Returns a reference to this object so that method calls can be chained together. * * @param parameters The list of cluster default parameters. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DefaultClusterParameters withParameters(Parameter... parameters) { if (getParameters() == null) setParameters(new java.util.ArrayList(parameters.length)); @@ -165,9 +156,6 @@ public DefaultClusterParameters withParameters(Parameter... parameters) { * Returns a reference to this object so that method calls can be chained together. * * @param parameters The list of cluster default parameters. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DefaultClusterParameters withParameters(java.util.Collection parameters) { if (parameters == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterParameterGroupRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterParameterGroupRequest.java index 6400d295b6ce..9a9cdfca40d7 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterParameterGroupRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterParameterGroupRequest.java @@ -72,9 +72,6 @@ public void setParameterGroupName(String parameterGroupName) { * @param parameterGroupName The name of the parameter group to be deleted.

    Constraints:

      *
    • Must be the name of an existing cluster parameter group.
    • *
    • Cannot delete a default cluster parameter group.
    - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteClusterParameterGroupRequest withParameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterRequest.java index 8d11bf7866f3..805cbe0ec9cd 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterRequest.java @@ -110,9 +110,6 @@ public void setClusterIdentifier(String clusterIdentifier) { * 63 alphanumeric characters or hyphens.
  • First character must * be a letter.
  • Cannot end with a hyphen or contain two * consecutive hyphens.
  • - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteClusterRequest withClusterIdentifier(String clusterIdentifier) { this.clusterIdentifier = clusterIdentifier; @@ -180,9 +177,6 @@ public void setSkipFinalClusterSnapshot(Boolean skipFinalClusterSnapshot) { * FinalClusterSnapshotIdentifier parameter must be specified if * SkipFinalClusterSnapshot is false. *

    Default: false - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteClusterRequest withSkipFinalClusterSnapshot(Boolean skipFinalClusterSnapshot) { this.skipFinalClusterSnapshot = skipFinalClusterSnapshot; @@ -265,9 +259,6 @@ public void setFinalClusterSnapshotIdentifier(String finalClusterSnapshotIdentif *

    Constraints:

    • Must be 1 to 255 alphanumeric * characters.
    • First character must be a letter.
    • Cannot * end with a hyphen or contain two consecutive hyphens.
    - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteClusterRequest withFinalClusterSnapshotIdentifier(String finalClusterSnapshotIdentifier) { this.finalClusterSnapshotIdentifier = finalClusterSnapshotIdentifier; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterSecurityGroupRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterSecurityGroupRequest.java index 4852bb2d29a1..362f640262e6 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterSecurityGroupRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterSecurityGroupRequest.java @@ -62,9 +62,6 @@ public void setClusterSecurityGroupName(String clusterSecurityGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterSecurityGroupName The name of the cluster security group to be deleted. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteClusterSecurityGroupRequest withClusterSecurityGroupName(String clusterSecurityGroupName) { this.clusterSecurityGroupName = clusterSecurityGroupName; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterSnapshotRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterSnapshotRequest.java index 22b823dbc9b8..e55d3860ef2c 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterSnapshotRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterSnapshotRequest.java @@ -19,11 +19,12 @@ /** * Container for the parameters to the {@link com.amazonaws.services.redshift.AmazonRedshift#deleteClusterSnapshot(DeleteClusterSnapshotRequest) DeleteClusterSnapshot operation}. *

    - * Deletes the specified manual snapshot. The snapshot must be in the "available" state. + * Deletes the specified manual snapshot. The snapshot must be in the "available" state, with no other users authorized to access the snapshot. *

    *

    * Unlike automated snapshots, manual snapshots are retained even after you delete your cluster. Amazon Redshift does not delete your manual snapshots. - * You must delete manual snapshot explicitly to avoid getting charged. + * You must delete manual snapshot explicitly to avoid getting charged. If other accounts are authorized to access the snapshot, you must revoke all of + * the authorizations before you can delete the snapshot. *

    * * @see com.amazonaws.services.redshift.AmazonRedshift#deleteClusterSnapshot(DeleteClusterSnapshotRequest) @@ -73,9 +74,6 @@ public void setSnapshotIdentifier(String snapshotIdentifier) { * @param snapshotIdentifier The unique identifier of the manual snapshot to be deleted. *

    Constraints: Must be the name of an existing snapshot that is in * the available state. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteClusterSnapshotRequest withSnapshotIdentifier(String snapshotIdentifier) { this.snapshotIdentifier = snapshotIdentifier; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterSubnetGroupRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterSubnetGroupRequest.java index b6106394efea..34fbff5ae52f 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterSubnetGroupRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DeleteClusterSubnetGroupRequest.java @@ -55,9 +55,6 @@ public void setClusterSubnetGroupName(String clusterSubnetGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterSubnetGroupName The name of the cluster subnet group name to be deleted. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DeleteClusterSubnetGroupRequest withClusterSubnetGroupName(String clusterSubnetGroupName) { this.clusterSubnetGroupName = clusterSubnetGroupName; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParameterGroupsRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParameterGroupsRequest.java index d9791e4e97b2..ddf0356208dc 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParameterGroupsRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParameterGroupsRequest.java @@ -93,9 +93,6 @@ public void setParameterGroupName(String parameterGroupName) { * @param parameterGroupName The name of a specific parameter group for which to return details. By * default, details about all parameter groups and the default parameter * group are returned. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterParameterGroupsRequest withParameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; @@ -157,9 +154,6 @@ public void setMaxRecords(Integer maxRecords) { * can use in a subsequent DescribeClusterParameterGroups request * to retrieve the next set of records.

    Default: 100 *

    Constraints: Value must be at least 20 and no more than 100. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterParameterGroupsRequest withMaxRecords(Integer maxRecords) { this.maxRecords = maxRecords; @@ -203,9 +197,6 @@ public void setMarker(String marker) { * @param marker An optional marker returned by a previous * DescribeClusterParameterGroups request to indicate the first * parameter group that the current request will return. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterParameterGroupsRequest withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParameterGroupsResult.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParameterGroupsResult.java index 5a9ae7dce391..290e2f8c4faf 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParameterGroupsResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParameterGroupsResult.java @@ -71,9 +71,6 @@ public void setMarker(String marker) { * @param marker A marker at which to continue listing cluster parameter groups in a * new request. The response returns a marker if there are more parameter * groups to list than returned in the response. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterParameterGroupsResult withMarker(String marker) { this.marker = marker; @@ -122,9 +119,6 @@ public void setParameterGroups(java.util.Collection param * * @param parameterGroups A list of ClusterParameterGroup instances. Each instance * describes one cluster parameter group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterParameterGroupsResult withParameterGroups(ClusterParameterGroup... parameterGroups) { if (getParameterGroups() == null) setParameterGroups(new java.util.ArrayList(parameterGroups.length)); @@ -142,9 +136,6 @@ public DescribeClusterParameterGroupsResult withParameterGroups(ClusterParameter * * @param parameterGroups A list of ClusterParameterGroup instances. Each instance * describes one cluster parameter group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterParameterGroupsResult withParameterGroups(java.util.Collection parameterGroups) { if (parameterGroups == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParametersRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParametersRequest.java index 65f42b002d8f..943e33084355 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParametersRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParametersRequest.java @@ -91,9 +91,6 @@ public void setParameterGroupName(String parameterGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param parameterGroupName The name of a cluster parameter group for which to return details. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterParametersRequest withParameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; @@ -149,9 +146,6 @@ public void setSource(String source) { * engine-default to show parameters that are the same as * the default parameter group.

    Default: All parameter types returned. *

    Valid Values: user | engine-default - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterParametersRequest withSource(String source) { this.source = source; @@ -207,9 +201,6 @@ public void setMaxRecords(Integer maxRecords) { * response includes a marker that you can specify in your subsequent * request to retrieve remaining result.

    Default: 100 *

    Constraints: Value must be at least 20 and no more than 100. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterParametersRequest withMaxRecords(Integer maxRecords) { this.maxRecords = maxRecords; @@ -259,9 +250,6 @@ public void setMarker(String marker) { * DescribeClusterParameters request. If this parameter is * specified, the response includes only records beyond the specified * marker, up to the value specified by MaxRecords. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterParametersRequest withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParametersResult.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParametersResult.java index 6af64643cd64..c89f15e58133 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParametersResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterParametersResult.java @@ -77,9 +77,6 @@ public void setParameters(java.util.Collection parameters) { * * @param parameters A list of Parameter instances. Each instance lists the * parameters of one cluster parameter group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterParametersResult withParameters(Parameter... parameters) { if (getParameters() == null) setParameters(new java.util.ArrayList(parameters.length)); @@ -97,9 +94,6 @@ public DescribeClusterParametersResult withParameters(Parameter... parameters) { * * @param parameters A list of Parameter instances. Each instance lists the * parameters of one cluster parameter group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterParametersResult withParameters(java.util.Collection parameters) { if (parameters == null) { @@ -155,9 +149,6 @@ public void setMarker(String marker) { * DescribeClusterParameterGroups request will return. The * response returns a marker only if there are more parameter groups * details to list than the current response can return. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterParametersResult withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSecurityGroupsRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSecurityGroupsRequest.java index 758f6eaf56cc..343a7b48df5c 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSecurityGroupsRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSecurityGroupsRequest.java @@ -100,9 +100,6 @@ public void setClusterSecurityGroupName(String clusterSecurityGroupName) { * details. You can specify either the Marker parameter or a * ClusterSecurityGroupName parameter, but not both.

    Example: * securitygroup1 - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSecurityGroupsRequest withClusterSecurityGroupName(String clusterSecurityGroupName) { this.clusterSecurityGroupName = clusterSecurityGroupName; @@ -164,9 +161,6 @@ public void setMaxRecords(Integer maxRecords) { * DescribeClusterSecurityGroups request.

    Default: * 100

    Constraints: Value must be at least 20 and no more * than 100. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSecurityGroupsRequest withMaxRecords(Integer maxRecords) { this.maxRecords = maxRecords; @@ -222,9 +216,6 @@ public void setMarker(String marker) { * security group that the current request will return. You can specify * either the Marker parameter or a * ClusterSecurityGroupName parameter, but not both. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSecurityGroupsRequest withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSecurityGroupsResult.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSecurityGroupsResult.java index 1fba789bd035..44eebb73eb57 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSecurityGroupsResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSecurityGroupsResult.java @@ -70,9 +70,6 @@ public void setMarker(String marker) { * @param marker A marker at which to continue listing cluster security groups in a new * request. The response returns a marker if there are more security * groups to list than could be returned in the response. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSecurityGroupsResult withMarker(String marker) { this.marker = marker; @@ -115,9 +112,6 @@ public void setClusterSecurityGroups(java.util.Collection * Returns a reference to this object so that method calls can be chained together. * * @param clusterSecurityGroups A list of ClusterSecurityGroup instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSecurityGroupsResult withClusterSecurityGroups(ClusterSecurityGroup... clusterSecurityGroups) { if (getClusterSecurityGroups() == null) setClusterSecurityGroups(new java.util.ArrayList(clusterSecurityGroups.length)); @@ -133,9 +127,6 @@ public DescribeClusterSecurityGroupsResult withClusterSecurityGroups(ClusterSecu * Returns a reference to this object so that method calls can be chained together. * * @param clusterSecurityGroups A list of ClusterSecurityGroup instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSecurityGroupsResult withClusterSecurityGroups(java.util.Collection clusterSecurityGroups) { if (clusterSecurityGroups == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSnapshotsRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSnapshotsRequest.java index f078a7037101..7a15af943d1b 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSnapshotsRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSnapshotsRequest.java @@ -20,7 +20,8 @@ * Container for the parameters to the {@link com.amazonaws.services.redshift.AmazonRedshift#describeClusterSnapshots(DescribeClusterSnapshotsRequest) DescribeClusterSnapshots operation}. *

    * Returns one or more snapshot objects, which contain metadata about your cluster snapshots. By default, this operation returns information about all - * snapshots of all clusters that are owned by the AWS account. + * snapshots of all clusters that are owned by you AWS customer account. No information is returned for snapshots owned by inactive AWS customer + * accounts. *

    * * @see com.amazonaws.services.redshift.AmazonRedshift#describeClusterSnapshots(DescribeClusterSnapshotsRequest) @@ -81,6 +82,14 @@ public class DescribeClusterSnapshotsRequest extends AmazonWebServiceRequest im */ private String marker; + /** + * The AWS customer account used to create or copy the snapshot. Use this + * field to filter the results to snapshots owned by a particular + * account. To describe snapshots you own, either specify your AWS + * customer account, or do not specify the parameter. + */ + private String ownerAccount; + /** * The identifier of the cluster for which information about snapshots is * requested. @@ -111,9 +120,6 @@ public void setClusterIdentifier(String clusterIdentifier) { * * @param clusterIdentifier The identifier of the cluster for which information about snapshots is * requested. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSnapshotsRequest withClusterIdentifier(String clusterIdentifier) { this.clusterIdentifier = clusterIdentifier; @@ -151,9 +157,6 @@ public void setSnapshotIdentifier(String snapshotIdentifier) { * * @param snapshotIdentifier The snapshot identifier of the snapshot about which to return * information. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSnapshotsRequest withSnapshotIdentifier(String snapshotIdentifier) { this.snapshotIdentifier = snapshotIdentifier; @@ -197,9 +200,6 @@ public void setSnapshotType(String snapshotType) { * @param snapshotType The type of snapshots for which you are requesting information. By * default, snapshots of all types are returned.

    Valid Values: * automated | manual - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSnapshotsRequest withSnapshotType(String snapshotType) { this.snapshotType = snapshotType; @@ -255,9 +255,6 @@ public void setStartTime(java.util.Date startTime) { * information about ISO 8601, go to the ISO8601 Wikipedia * page.

    Example: 2012-07-16T18:00:00Z - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSnapshotsRequest withStartTime(java.util.Date startTime) { this.startTime = startTime; @@ -313,9 +310,6 @@ public void setEndTime(java.util.Date endTime) { * more information about ISO 8601, go to the ISO8601 Wikipedia * page.

    Example: 2012-07-16T18:00:00Z - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSnapshotsRequest withEndTime(java.util.Date endTime) { this.endTime = endTime; @@ -377,9 +371,6 @@ public void setMaxRecords(Integer maxRecords) { * DescribeClusterSnapshots request in order to retrieve the next * set of snapshot records.

    Default: 100

    Constraints: * Must be at least 20 and no more than 100. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSnapshotsRequest withMaxRecords(Integer maxRecords) { this.maxRecords = maxRecords; @@ -423,9 +414,6 @@ public void setMarker(String marker) { * @param marker An optional marker returned by a previous * DescribeClusterSnapshots request to indicate the first snapshot * that the request will return. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSnapshotsRequest withMarker(String marker) { this.marker = marker; @@ -433,6 +421,55 @@ public DescribeClusterSnapshotsRequest withMarker(String marker) { } + /** + * The AWS customer account used to create or copy the snapshot. Use this + * field to filter the results to snapshots owned by a particular + * account. To describe snapshots you own, either specify your AWS + * customer account, or do not specify the parameter. + * + * @return The AWS customer account used to create or copy the snapshot. Use this + * field to filter the results to snapshots owned by a particular + * account. To describe snapshots you own, either specify your AWS + * customer account, or do not specify the parameter. + */ + public String getOwnerAccount() { + return ownerAccount; + } + + /** + * The AWS customer account used to create or copy the snapshot. Use this + * field to filter the results to snapshots owned by a particular + * account. To describe snapshots you own, either specify your AWS + * customer account, or do not specify the parameter. + * + * @param ownerAccount The AWS customer account used to create or copy the snapshot. Use this + * field to filter the results to snapshots owned by a particular + * account. To describe snapshots you own, either specify your AWS + * customer account, or do not specify the parameter. + */ + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + } + + /** + * The AWS customer account used to create or copy the snapshot. Use this + * field to filter the results to snapshots owned by a particular + * account. To describe snapshots you own, either specify your AWS + * customer account, or do not specify the parameter. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param ownerAccount The AWS customer account used to create or copy the snapshot. Use this + * field to filter the results to snapshots owned by a particular + * account. To describe snapshots you own, either specify your AWS + * customer account, or do not specify the parameter. + */ + public DescribeClusterSnapshotsRequest withOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + return this; + } + + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -451,7 +488,8 @@ public String toString() { if (getStartTime() != null) sb.append("StartTime: " + getStartTime() + ","); if (getEndTime() != null) sb.append("EndTime: " + getEndTime() + ","); if (getMaxRecords() != null) sb.append("MaxRecords: " + getMaxRecords() + ","); - if (getMarker() != null) sb.append("Marker: " + getMarker() ); + if (getMarker() != null) sb.append("Marker: " + getMarker() + ","); + if (getOwnerAccount() != null) sb.append("OwnerAccount: " + getOwnerAccount() ); sb.append("}"); return sb.toString(); } @@ -468,6 +506,7 @@ public int hashCode() { hashCode = prime * hashCode + ((getEndTime() == null) ? 0 : getEndTime().hashCode()); hashCode = prime * hashCode + ((getMaxRecords() == null) ? 0 : getMaxRecords().hashCode()); hashCode = prime * hashCode + ((getMarker() == null) ? 0 : getMarker().hashCode()); + hashCode = prime * hashCode + ((getOwnerAccount() == null) ? 0 : getOwnerAccount().hashCode()); return hashCode; } @@ -493,6 +532,8 @@ public boolean equals(Object obj) { if (other.getMaxRecords() != null && other.getMaxRecords().equals(this.getMaxRecords()) == false) return false; if (other.getMarker() == null ^ this.getMarker() == null) return false; if (other.getMarker() != null && other.getMarker().equals(this.getMarker()) == false) return false; + if (other.getOwnerAccount() == null ^ this.getOwnerAccount() == null) return false; + if (other.getOwnerAccount() != null && other.getOwnerAccount().equals(this.getOwnerAccount()) == false) return false; return true; } diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSnapshotsResult.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSnapshotsResult.java index 035d574b0434..9a8ca7880ad4 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSnapshotsResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSnapshotsResult.java @@ -77,9 +77,6 @@ public void setMarker(String marker) { * DescribeClusterSnapshots request will return. The response * returns a marker only if there are more snapshots to list than the * current response can return. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSnapshotsResult withMarker(String marker) { this.marker = marker; @@ -122,9 +119,6 @@ public void setSnapshots(java.util.Collection snapshots) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshots A list of Snapshot instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSnapshotsResult withSnapshots(Snapshot... snapshots) { if (getSnapshots() == null) setSnapshots(new java.util.ArrayList(snapshots.length)); @@ -140,9 +134,6 @@ public DescribeClusterSnapshotsResult withSnapshots(Snapshot... snapshots) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshots A list of Snapshot instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSnapshotsResult withSnapshots(java.util.Collection snapshots) { if (snapshots == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSubnetGroupsRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSubnetGroupsRequest.java index 2d351603f3fd..b91af8a9e976 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSubnetGroupsRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSubnetGroupsRequest.java @@ -81,9 +81,6 @@ public void setClusterSubnetGroupName(String clusterSubnetGroupName) { * * @param clusterSubnetGroupName The name of the cluster subnet group for which information is * requested. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSubnetGroupsRequest withClusterSubnetGroupName(String clusterSubnetGroupName) { this.clusterSubnetGroupName = clusterSubnetGroupName; @@ -151,9 +148,6 @@ public void setMaxRecords(Integer maxRecords) { * order to retrieve the next set of cluster subnet group records. *

    Default: 100

    Constraints: Must be at least 20 and no more than * 100. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSubnetGroupsRequest withMaxRecords(Integer maxRecords) { this.maxRecords = maxRecords; @@ -197,9 +191,6 @@ public void setMarker(String marker) { * @param marker An optional marker returned by a previous * DescribeClusterSubnetGroups request to indicate the first * cluster subnet group that the current request will return. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSubnetGroupsRequest withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSubnetGroupsResult.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSubnetGroupsResult.java index 64329255090b..237f5e078361 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSubnetGroupsResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterSubnetGroupsResult.java @@ -70,9 +70,6 @@ public void setMarker(String marker) { * @param marker A marker at which to continue listing cluster subnet groups in a new * request. A marker is returned if there are more cluster subnet groups * to list than were returned in the response. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSubnetGroupsResult withMarker(String marker) { this.marker = marker; @@ -115,9 +112,6 @@ public void setClusterSubnetGroups(java.util.Collection clus * Returns a reference to this object so that method calls can be chained together. * * @param clusterSubnetGroups A list of ClusterSubnetGroup instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSubnetGroupsResult withClusterSubnetGroups(ClusterSubnetGroup... clusterSubnetGroups) { if (getClusterSubnetGroups() == null) setClusterSubnetGroups(new java.util.ArrayList(clusterSubnetGroups.length)); @@ -133,9 +127,6 @@ public DescribeClusterSubnetGroupsResult withClusterSubnetGroups(ClusterSubnetGr * Returns a reference to this object so that method calls can be chained together. * * @param clusterSubnetGroups A list of ClusterSubnetGroup instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterSubnetGroupsResult withClusterSubnetGroups(java.util.Collection clusterSubnetGroups) { if (clusterSubnetGroups == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterVersionsRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterVersionsRequest.java index fec285bc029e..0aff2b1c3d1e 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterVersionsRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterVersionsRequest.java @@ -82,9 +82,6 @@ public void setClusterVersion(String clusterVersion) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterVersion The specific cluster version to return.

    Example: 1.0 - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterVersionsRequest withClusterVersion(String clusterVersion) { this.clusterVersion = clusterVersion; @@ -134,9 +131,6 @@ public void setClusterParameterGroupFamily(String clusterParameterGroupFamily) { * details for.

    Constraints:

    • Must be 1 to 255 alphanumeric * characters
    • First character must be a letter
    • Cannot * end with a hyphen or contain two consecutive hyphens
    - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterVersionsRequest withClusterParameterGroupFamily(String clusterParameterGroupFamily) { this.clusterParameterGroupFamily = clusterParameterGroupFamily; @@ -192,9 +186,6 @@ public void setMaxRecords(Integer maxRecords) { * in the response so that the following results can be retrieved. *

    Default: 100

    Constraints: Value must be at least 20 * and no more than 100. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterVersionsRequest withMaxRecords(Integer maxRecords) { this.maxRecords = maxRecords; @@ -238,9 +229,6 @@ public void setMarker(String marker) { * @param marker The marker returned from a previous request. If this parameter is * specified, the response includes records beyond the marker only, up to * MaxRecords. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterVersionsRequest withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterVersionsResult.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterVersionsResult.java index 2a412d5a7ea3..060b3505b656 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterVersionsResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClusterVersionsResult.java @@ -56,9 +56,6 @@ public void setMarker(String marker) { * Returns a reference to this object so that method calls can be chained together. * * @param marker The identifier returned to allow retrieval of paginated results. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterVersionsResult withMarker(String marker) { this.marker = marker; @@ -101,9 +98,6 @@ public void setClusterVersions(java.util.Collection clusterVersi * Returns a reference to this object so that method calls can be chained together. * * @param clusterVersions A list of Version elements. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterVersionsResult withClusterVersions(ClusterVersion... clusterVersions) { if (getClusterVersions() == null) setClusterVersions(new java.util.ArrayList(clusterVersions.length)); @@ -119,9 +113,6 @@ public DescribeClusterVersionsResult withClusterVersions(ClusterVersion... clust * Returns a reference to this object so that method calls can be chained together. * * @param clusterVersions A list of Version elements. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClusterVersionsResult withClusterVersions(java.util.Collection clusterVersions) { if (clusterVersions == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClustersRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClustersRequest.java index dd5c07adf42b..21e08214d9ee 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClustersRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClustersRequest.java @@ -92,9 +92,6 @@ public void setClusterIdentifier(String clusterIdentifier) { * @param clusterIdentifier The unique identifier of a cluster whose properties you are * requesting. This parameter isn't case sensitive.

    The default is * that all clusters defined for an account are returned. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClustersRequest withClusterIdentifier(String clusterIdentifier) { this.clusterIdentifier = clusterIdentifier; @@ -156,9 +153,6 @@ public void setMaxRecords(Integer maxRecords) { * new DescribeClusters request to continue listing results. *

    Default: 100

    Constraints: Value must be at least 20 * and no more than 100. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClustersRequest withMaxRecords(Integer maxRecords) { this.maxRecords = maxRecords; @@ -214,9 +208,6 @@ public void setMarker(String marker) { * DescribeClusters request will return.

    You can specify either * a Marker parameter or a ClusterIdentifier parameter in a * DescribeClusters request, but not both. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClustersRequest withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeClustersResult.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeClustersResult.java index bc9a8ec76cf1..36295f16f8fa 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeClustersResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeClustersResult.java @@ -71,9 +71,6 @@ public void setMarker(String marker) { * @param marker A marker at which to continue listing clusters in a new request. A * marker is returned if there are more clusters to list than were * returned in the response. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClustersResult withMarker(String marker) { this.marker = marker; @@ -122,9 +119,6 @@ public void setClusters(java.util.Collection clusters) { * * @param clusters A list of Cluster objects, where each object describes one * cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClustersResult withClusters(Cluster... clusters) { if (getClusters() == null) setClusters(new java.util.ArrayList(clusters.length)); @@ -142,9 +136,6 @@ public DescribeClustersResult withClusters(Cluster... clusters) { * * @param clusters A list of Cluster objects, where each object describes one * cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeClustersResult withClusters(java.util.Collection clusters) { if (clusters == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeDefaultClusterParametersRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeDefaultClusterParametersRequest.java index b7c19fffff91..1ad7988e3c81 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeDefaultClusterParametersRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeDefaultClusterParametersRequest.java @@ -77,9 +77,6 @@ public void setParameterGroupFamily(String parameterGroupFamily) { * Returns a reference to this object so that method calls can be chained together. * * @param parameterGroupFamily The name of the cluster parameter group family. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDefaultClusterParametersRequest withParameterGroupFamily(String parameterGroupFamily) { this.parameterGroupFamily = parameterGroupFamily; @@ -135,9 +132,6 @@ public void setMaxRecords(Integer maxRecords) { * marker is included in the response so that the remaining results may * be retrieved.

    Default: 100

    Constraints: Value must * be at least 20 and no more than 100. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDefaultClusterParametersRequest withMaxRecords(Integer maxRecords) { this.maxRecords = maxRecords; @@ -187,9 +181,6 @@ public void setMarker(String marker) { * DescribeDefaultClusterParameters request. If this parameter is * specified, the response includes only records beyond the marker, up to * the value specified by MaxRecords. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeDefaultClusterParametersRequest withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeEventsRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeEventsRequest.java index 8fdc50ab761c..ab5ce22e04f4 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeEventsRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeEventsRequest.java @@ -185,9 +185,6 @@ public void setSourceIdentifier(String sourceIdentifier) { * cluster-parameter-group.

  • Specify a cluster * snapshot identifier when SourceType is * cluster-snapshot.
  • - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeEventsRequest withSourceIdentifier(String sourceIdentifier) { this.sourceIdentifier = sourceIdentifier; @@ -293,9 +290,6 @@ public void setSourceType(String sourceType) { * cluster-snapshot when SourceIdentifier is a * cluster snapshot identifier. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SourceType */ public DescribeEventsRequest withSourceType(String sourceType) { @@ -368,9 +362,6 @@ public void setSourceType(SourceType sourceType) { * cluster-snapshot when SourceIdentifier is a * cluster snapshot identifier. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SourceType */ public DescribeEventsRequest withSourceType(SourceType sourceType) { @@ -420,9 +411,6 @@ public void setStartTime(java.util.Date startTime) { * in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia * page.

    Example: 2009-07-08T18:00Z - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeEventsRequest withStartTime(java.util.Date startTime) { this.startTime = startTime; @@ -472,9 +460,6 @@ public void setEndTime(java.util.Date endTime) { * in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia * page.

    Example: 2009-07-08T18:00Z - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeEventsRequest withEndTime(java.util.Date endTime) { this.endTime = endTime; @@ -524,9 +509,6 @@ public void setDuration(Integer duration) { * retrieve events. For example, if the request is sent at 18:00 and you * specify a duration of 60, then only events which have occurred after * 17:00 will be returned.

    Default: 60 - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeEventsRequest withDuration(Integer duration) { this.duration = duration; @@ -582,9 +564,6 @@ public void setMaxRecords(Integer maxRecords) { * marker is included in the response so that the remaining results may * be retrieved.

    Default: 100

    Constraints: Value must * be at least 20 and no more than 100. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeEventsRequest withMaxRecords(Integer maxRecords) { this.maxRecords = maxRecords; @@ -634,9 +613,6 @@ public void setMarker(String marker) { * request. If this parameter is specified, the response includes only * records beyond the marker, up to the value specified by * MaxRecords. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeEventsRequest withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeEventsResult.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeEventsResult.java index f622e391af25..a7bf8bb43f2f 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeEventsResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeEventsResult.java @@ -70,9 +70,6 @@ public void setMarker(String marker) { * @param marker A marker at which to continue listing events in a new request. The * response returns a marker if there are more events to list than * returned in the response. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeEventsResult withMarker(String marker) { this.marker = marker; @@ -115,9 +112,6 @@ public void setEvents(java.util.Collection events) { * Returns a reference to this object so that method calls can be chained together. * * @param events A list of Event instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeEventsResult withEvents(Event... events) { if (getEvents() == null) setEvents(new java.util.ArrayList(events.length)); @@ -133,9 +127,6 @@ public DescribeEventsResult withEvents(Event... events) { * Returns a reference to this object so that method calls can be chained together. * * @param events A list of Event instances. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeEventsResult withEvents(java.util.Collection events) { if (events == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeOrderableClusterOptionsRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeOrderableClusterOptionsRequest.java index c5e72f486734..7867be4f9fd9 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeOrderableClusterOptionsRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeOrderableClusterOptionsRequest.java @@ -104,9 +104,6 @@ public void setClusterVersion(String clusterVersion) { * available offerings matching the specified version.

    Default: All * versions.

    Constraints: Must be one of the version returned from * DescribeClusterVersions. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeOrderableClusterOptionsRequest withClusterVersion(String clusterVersion) { this.clusterVersion = clusterVersion; @@ -144,9 +141,6 @@ public void setNodeType(String nodeType) { * * @param nodeType The node type filter value. Specify this parameter to show only the * available offerings matching the specified node type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeOrderableClusterOptionsRequest withNodeType(String nodeType) { this.nodeType = nodeType; @@ -202,9 +196,6 @@ public void setMaxRecords(Integer maxRecords) { * marker is included in the response so that the remaining results may * be retrieved.

    Default: 100

    Constraints: minimum 20, * maximum 100. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeOrderableClusterOptionsRequest withMaxRecords(Integer maxRecords) { this.maxRecords = maxRecords; @@ -254,9 +245,6 @@ public void setMarker(String marker) { * DescribeOrderableClusterOptions request. If this parameter is * specified, the response includes only records beyond the marker, up to * the value specified by MaxRecords. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeOrderableClusterOptionsRequest withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeOrderableClusterOptionsResult.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeOrderableClusterOptionsResult.java index b6affc1b198d..deadd341316a 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeOrderableClusterOptionsResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeOrderableClusterOptionsResult.java @@ -74,9 +74,6 @@ public void setOrderableClusterOptions(java.util.CollectionOrderableClusterOption structure containing information * about orderable options for the Cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeOrderableClusterOptionsResult withOrderableClusterOptions(OrderableClusterOption... orderableClusterOptions) { if (getOrderableClusterOptions() == null) setOrderableClusterOptions(new java.util.ArrayList(orderableClusterOptions.length)); @@ -94,9 +91,6 @@ public DescribeOrderableClusterOptionsResult withOrderableClusterOptions(Orderab * * @param orderableClusterOptions An OrderableClusterOption structure containing information * about orderable options for the Cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeOrderableClusterOptionsResult withOrderableClusterOptions(java.util.Collection orderableClusterOptions) { if (orderableClusterOptions == null) { @@ -134,9 +128,6 @@ public void setMarker(String marker) { * Returns a reference to this object so that method calls can be chained together. * * @param marker A marker that can be used to retrieve paginated results. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeOrderableClusterOptionsResult withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodeOfferingsRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodeOfferingsRequest.java index 9e5c1ea3dd4f..3231a2dbfa68 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodeOfferingsRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodeOfferingsRequest.java @@ -83,9 +83,6 @@ public void setReservedNodeOfferingId(String reservedNodeOfferingId) { * Returns a reference to this object so that method calls can be chained together. * * @param reservedNodeOfferingId The unique identifier for the offering. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedNodeOfferingsRequest withReservedNodeOfferingId(String reservedNodeOfferingId) { this.reservedNodeOfferingId = reservedNodeOfferingId; @@ -141,9 +138,6 @@ public void setMaxRecords(Integer maxRecords) { * marker is included in the response so that the remaining results may * be retrieved.

    Default: 100

    Constraints: minimum 20, * maximum 100. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedNodeOfferingsRequest withMaxRecords(Integer maxRecords) { this.maxRecords = maxRecords; @@ -199,9 +193,6 @@ public void setMarker(String marker) { * offering that the request will return.

    You can specify either a * Marker parameter or a ClusterIdentifier parameter in a * DescribeClusters request, but not both. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedNodeOfferingsRequest withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodeOfferingsResult.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodeOfferingsResult.java index 8c541d94568b..07dea1862ee4 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodeOfferingsResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodeOfferingsResult.java @@ -70,9 +70,6 @@ public void setMarker(String marker) { * @param marker An optional marker returned by a previous * DescribeReservedNodeOfferings request to indicate the first * reserved node offering that the request will return. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedNodeOfferingsResult withMarker(String marker) { this.marker = marker; @@ -115,9 +112,6 @@ public void setReservedNodeOfferings(java.util.Collection * Returns a reference to this object so that method calls can be chained together. * * @param reservedNodeOfferings A list of reserved node offerings. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedNodeOfferingsResult withReservedNodeOfferings(ReservedNodeOffering... reservedNodeOfferings) { if (getReservedNodeOfferings() == null) setReservedNodeOfferings(new java.util.ArrayList(reservedNodeOfferings.length)); @@ -133,9 +127,6 @@ public DescribeReservedNodeOfferingsResult withReservedNodeOfferings(ReservedNod * Returns a reference to this object so that method calls can be chained together. * * @param reservedNodeOfferings A list of reserved node offerings. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedNodeOfferingsResult withReservedNodeOfferings(java.util.Collection reservedNodeOfferings) { if (reservedNodeOfferings == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodesRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodesRequest.java index dc59a407b8cb..225cc4050b67 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodesRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodesRequest.java @@ -71,9 +71,6 @@ public void setReservedNodeId(String reservedNodeId) { * Returns a reference to this object so that method calls can be chained together. * * @param reservedNodeId Identifier for the node reservation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedNodesRequest withReservedNodeId(String reservedNodeId) { this.reservedNodeId = reservedNodeId; @@ -129,9 +126,6 @@ public void setMaxRecords(Integer maxRecords) { * marker is included in the response so that the remaining results may * be retrieved.

    Default: 100

    Constraints: minimum 20, * maximum 100. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedNodesRequest withMaxRecords(Integer maxRecords) { this.maxRecords = maxRecords; @@ -175,9 +169,6 @@ public void setMarker(String marker) { * @param marker An optional marker returned by a previous DescribeReservedNodes * request to indicate the first parameter group that the current request * will return. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedNodesRequest withMarker(String marker) { this.marker = marker; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodesResult.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodesResult.java index 1c406b55f90c..e864a0b0a361 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodesResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodesResult.java @@ -56,9 +56,6 @@ public void setMarker(String marker) { * Returns a reference to this object so that method calls can be chained together. * * @param marker A marker that can be used to retrieve paginated results. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedNodesResult withMarker(String marker) { this.marker = marker; @@ -101,9 +98,6 @@ public void setReservedNodes(java.util.Collection reservedNodes) { * Returns a reference to this object so that method calls can be chained together. * * @param reservedNodes The list of reserved nodes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedNodesResult withReservedNodes(ReservedNode... reservedNodes) { if (getReservedNodes() == null) setReservedNodes(new java.util.ArrayList(reservedNodes.length)); @@ -119,9 +113,6 @@ public DescribeReservedNodesResult withReservedNodes(ReservedNode... reservedNod * Returns a reference to this object so that method calls can be chained together. * * @param reservedNodes The list of reserved nodes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeReservedNodesResult withReservedNodes(java.util.Collection reservedNodes) { if (reservedNodes == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeResizeRequest.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeResizeRequest.java index e90a16625450..d0a93397510f 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeResizeRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeResizeRequest.java @@ -74,9 +74,6 @@ public void setClusterIdentifier(String clusterIdentifier) { * @param clusterIdentifier The unique identifier of a cluster whose resize progress you are * requesting. This parameter isn't case-sensitive.

    By default, resize * operations for all clusters defined for an AWS account are returned. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeResizeRequest withClusterIdentifier(String clusterIdentifier) { this.clusterIdentifier = clusterIdentifier; diff --git a/src/main/java/com/amazonaws/services/redshift/model/DescribeResizeResult.java b/src/main/java/com/amazonaws/services/redshift/model/DescribeResizeResult.java index 46ba23ef7d06..26a52af60dc4 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/DescribeResizeResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/DescribeResizeResult.java @@ -88,9 +88,6 @@ public void setTargetNodeType(String targetNodeType) { * Returns a reference to this object so that method calls can be chained together. * * @param targetNodeType The node type that the cluster will have after the resize is complete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeResizeResult withTargetNodeType(String targetNodeType) { this.targetNodeType = targetNodeType; @@ -128,9 +125,6 @@ public void setTargetNumberOfNodes(Integer targetNumberOfNodes) { * * @param targetNumberOfNodes The number of nodes that the cluster will have after the resize is * complete. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeResizeResult withTargetNumberOfNodes(Integer targetNumberOfNodes) { this.targetNumberOfNodes = targetNumberOfNodes; @@ -168,9 +162,6 @@ public void setTargetClusterType(String targetClusterType) { * * @param targetClusterType The cluster type after the resize is complete.

    Valid Values: * multi-node | single-node - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeResizeResult withTargetClusterType(String targetClusterType) { this.targetClusterType = targetClusterType; @@ -214,9 +205,6 @@ public void setStatus(String status) { * @param status The status of the resize operation.

    Valid Values: NONE * | IN_PROGRESS | FAILED | * SUCCEEDED - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeResizeResult withStatus(String status) { this.status = status; @@ -265,9 +253,6 @@ public void setImportTablesCompleted(java.util.Collection importTablesCo * * @param importTablesCompleted The names of tables that have been completely imported .

    Valid * Values: List of table names. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeResizeResult withImportTablesCompleted(String... importTablesCompleted) { if (getImportTablesCompleted() == null) setImportTablesCompleted(new java.util.ArrayList(importTablesCompleted.length)); @@ -285,9 +270,6 @@ public DescribeResizeResult withImportTablesCompleted(String... importTablesComp * * @param importTablesCompleted The names of tables that have been completely imported .

    Valid * Values: List of table names. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeResizeResult withImportTablesCompleted(java.util.Collection importTablesCompleted) { if (importTablesCompleted == null) { @@ -342,9 +324,6 @@ public void setImportTablesInProgress(java.util.Collection importTablesI * * @param importTablesInProgress The names of tables that are being currently imported.

    Valid * Values: List of table names. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeResizeResult withImportTablesInProgress(String... importTablesInProgress) { if (getImportTablesInProgress() == null) setImportTablesInProgress(new java.util.ArrayList(importTablesInProgress.length)); @@ -362,9 +341,6 @@ public DescribeResizeResult withImportTablesInProgress(String... importTablesInP * * @param importTablesInProgress The names of tables that are being currently imported.

    Valid * Values: List of table names. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeResizeResult withImportTablesInProgress(java.util.Collection importTablesInProgress) { if (importTablesInProgress == null) { @@ -419,9 +395,6 @@ public void setImportTablesNotStarted(java.util.Collection importTablesN * * @param importTablesNotStarted The names of tables that have not been yet imported.

    Valid Values: * List of table names - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeResizeResult withImportTablesNotStarted(String... importTablesNotStarted) { if (getImportTablesNotStarted() == null) setImportTablesNotStarted(new java.util.ArrayList(importTablesNotStarted.length)); @@ -439,9 +412,6 @@ public DescribeResizeResult withImportTablesNotStarted(String... importTablesNot * * @param importTablesNotStarted The names of tables that have not been yet imported.

    Valid Values: * List of table names - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public DescribeResizeResult withImportTablesNotStarted(java.util.Collection importTablesNotStarted) { if (importTablesNotStarted == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/EC2SecurityGroup.java b/src/main/java/com/amazonaws/services/redshift/model/EC2SecurityGroup.java index 7ac8b2ba4e98..8b998fc475ae 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/EC2SecurityGroup.java +++ b/src/main/java/com/amazonaws/services/redshift/model/EC2SecurityGroup.java @@ -62,9 +62,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The status of the EC2 security group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EC2SecurityGroup withStatus(String status) { this.status = status; @@ -96,9 +93,6 @@ public void setEC2SecurityGroupName(String eC2SecurityGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param eC2SecurityGroupName The name of the EC2 Security Group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EC2SecurityGroup withEC2SecurityGroupName(String eC2SecurityGroupName) { this.eC2SecurityGroupName = eC2SecurityGroupName; @@ -136,9 +130,6 @@ public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) { * * @param eC2SecurityGroupOwnerId The AWS ID of the owner of the EC2 security group specified in the * EC2SecurityGroupName field. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public EC2SecurityGroup withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) { this.eC2SecurityGroupOwnerId = eC2SecurityGroupOwnerId; diff --git a/src/main/java/com/amazonaws/services/redshift/model/Endpoint.java b/src/main/java/com/amazonaws/services/redshift/model/Endpoint.java index 34bf6edba792..c2c7395037ba 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/Endpoint.java +++ b/src/main/java/com/amazonaws/services/redshift/model/Endpoint.java @@ -56,9 +56,6 @@ public void setAddress(String address) { * Returns a reference to this object so that method calls can be chained together. * * @param address The DNS address of the Cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Endpoint withAddress(String address) { this.address = address; @@ -90,9 +87,6 @@ public void setPort(Integer port) { * Returns a reference to this object so that method calls can be chained together. * * @param port The port that the database engine is listening on. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Endpoint withPort(Integer port) { this.port = port; diff --git a/src/main/java/com/amazonaws/services/redshift/model/Event.java b/src/main/java/com/amazonaws/services/redshift/model/Event.java index 56b4d160d3fc..144f30e924be 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/Event.java +++ b/src/main/java/com/amazonaws/services/redshift/model/Event.java @@ -69,9 +69,6 @@ public void setSourceIdentifier(String sourceIdentifier) { * Returns a reference to this object so that method calls can be chained together. * * @param sourceIdentifier The identifier for the source of the event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Event withSourceIdentifier(String sourceIdentifier) { this.sourceIdentifier = sourceIdentifier; @@ -117,9 +114,6 @@ public void setSourceType(String sourceType) { * * @param sourceType The source type for this event. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SourceType */ public Event withSourceType(String sourceType) { @@ -152,9 +146,6 @@ public void setSourceType(SourceType sourceType) { * * @param sourceType The source type for this event. * - * @return A reference to this updated object so that method calls can be chained - * together. - * * @see SourceType */ public Event withSourceType(SourceType sourceType) { @@ -186,9 +177,6 @@ public void setMessage(String message) { * Returns a reference to this object so that method calls can be chained together. * * @param message The text of this event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Event withMessage(String message) { this.message = message; @@ -220,9 +208,6 @@ public void setDate(java.util.Date date) { * Returns a reference to this object so that method calls can be chained together. * * @param date The date and time of the event. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Event withDate(java.util.Date date) { this.date = date; diff --git a/src/main/java/com/amazonaws/services/redshift/model/IPRange.java b/src/main/java/com/amazonaws/services/redshift/model/IPRange.java index fdd528c7da73..8a66b34f288d 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/IPRange.java +++ b/src/main/java/com/amazonaws/services/redshift/model/IPRange.java @@ -56,9 +56,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status The status of the IP range, for example, "authorized". - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IPRange withStatus(String status) { this.status = status; @@ -90,9 +87,6 @@ public void setCIDRIP(String cIDRIP) { * Returns a reference to this object so that method calls can be chained together. * * @param cIDRIP The IP range in Classless Inter-Domain Routing (CIDR) notation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public IPRange withCIDRIP(String cIDRIP) { this.cIDRIP = cIDRIP; diff --git a/src/main/java/com/amazonaws/services/redshift/model/InvalidClusterSnapshotStateException.java b/src/main/java/com/amazonaws/services/redshift/model/InvalidClusterSnapshotStateException.java index ecced7712751..c94840802453 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/InvalidClusterSnapshotStateException.java +++ b/src/main/java/com/amazonaws/services/redshift/model/InvalidClusterSnapshotStateException.java @@ -18,7 +18,7 @@ /** *

    - * The state of the cluster snapshot is not "available". + * The state of the cluster snapshot is not "available", or other accounts are authorized to access the snapshot. *

    */ public class InvalidClusterSnapshotStateException extends AmazonServiceException { diff --git a/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterParameterGroupRequest.java b/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterParameterGroupRequest.java index 61499fe5ca4e..c9c6910668ac 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterParameterGroupRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterParameterGroupRequest.java @@ -68,9 +68,6 @@ public void setParameterGroupName(String parameterGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param parameterGroupName The name of the parameter group to be modified. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterParameterGroupRequest withParameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; @@ -131,9 +128,6 @@ public void setParameters(java.util.Collection parameters) { * be modified in a single request.

    For each parameter to be * modified, you must supply at least the parameter name and parameter * value; other name-value pairs of the parameter are optional. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterParameterGroupRequest withParameters(Parameter... parameters) { if (getParameters() == null) setParameters(new java.util.ArrayList(parameters.length)); @@ -155,9 +149,6 @@ public ModifyClusterParameterGroupRequest withParameters(Parameter... parameters * be modified in a single request.

    For each parameter to be * modified, you must supply at least the parameter name and parameter * value; other name-value pairs of the parameter are optional. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterParameterGroupRequest withParameters(java.util.Collection parameters) { if (parameters == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterParameterGroupResult.java b/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterParameterGroupResult.java index 3b24620a0b83..8ec720cd089a 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterParameterGroupResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterParameterGroupResult.java @@ -59,9 +59,6 @@ public void setParameterGroupName(String parameterGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param parameterGroupName The name of the cluster parameter group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterParameterGroupResult withParameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; @@ -105,9 +102,6 @@ public void setParameterGroupStatus(String parameterGroupStatus) { * @param parameterGroupStatus The status of the parameter group. For example, if you made a change * to a parameter group name-value pair, then the change could be pending * a reboot of an associated cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterParameterGroupResult withParameterGroupStatus(String parameterGroupStatus) { this.parameterGroupStatus = parameterGroupStatus; diff --git a/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterRequest.java b/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterRequest.java index c91f56fd6789..9fbd42977a51 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterRequest.java @@ -111,7 +111,9 @@ public class ModifyClusterRequest extends AmazonWebServiceRequest implements Se * setting.

    Constraints:

    • Must be between 8 and 64 characters * in length.
    • Must contain at least one uppercase letter.
    • *
    • Must contain at least one lowercase letter.
    • Must contain - * one number.
    + * one number.
  • Can be any printable ASCII character (ASCII code + * 33 to 126) except ' (single quote), " (double quote), \, /, @, or + * space.
  • */ private String masterUserPassword; @@ -200,9 +202,6 @@ public void setClusterIdentifier(String clusterIdentifier) { * * @param clusterIdentifier The unique identifier of the cluster to be modified.

    Example: * examplecluster - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterRequest withClusterIdentifier(String clusterIdentifier) { this.clusterIdentifier = clusterIdentifier; @@ -270,9 +269,6 @@ public void setClusterType(String clusterType) { * your connection is switched to the new cluster. You can use * DescribeResize to track the progress of the resize request. *

    Valid Values: multi-node | single-node - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterRequest withClusterType(String clusterType) { this.clusterType = clusterType; @@ -364,9 +360,6 @@ public void setNodeType(String nodeType) { * restored. You can use the DescribeResize to track the progress * of the resize request.

    Valid Values: dw.hs1.xlarge | * dw.hs1.8xlarge - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterRequest withNodeType(String nodeType) { this.nodeType = nodeType; @@ -458,9 +451,6 @@ public void setNumberOfNodes(Integer numberOfNodes) { * restored. You can use DescribeResize to track the progress of * the resize request.

    Valid Values: Integer greater than * 0. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterRequest withNumberOfNodes(Integer numberOfNodes) { this.numberOfNodes = numberOfNodes; @@ -539,9 +529,6 @@ public void setClusterSecurityGroups(java.util.Collection clusterSecurit *

    • Must be 1 to 255 alphanumeric characters or hyphens
    • *
    • First character must be a letter
    • Cannot end with a hyphen * or contain two consecutive hyphens
    - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterRequest withClusterSecurityGroups(String... clusterSecurityGroups) { if (getClusterSecurityGroups() == null) setClusterSecurityGroups(new java.util.ArrayList(clusterSecurityGroups.length)); @@ -569,9 +556,6 @@ public ModifyClusterRequest withClusterSecurityGroups(String... clusterSecurityG *
    • Must be 1 to 255 alphanumeric characters or hyphens
    • *
    • First character must be a letter
    • Cannot end with a hyphen * or contain two consecutive hyphens
    - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterRequest withClusterSecurityGroups(java.util.Collection clusterSecurityGroups) { if (clusterSecurityGroups == null) { @@ -626,9 +610,6 @@ public void setVpcSecurityGroupIds(java.util.Collection vpcSecurityGroup * * @param vpcSecurityGroupIds A list of Virtual Private Cloud (VPC) security groups to be associated * with the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds) { if (getVpcSecurityGroupIds() == null) setVpcSecurityGroupIds(new java.util.ArrayList(vpcSecurityGroupIds.length)); @@ -646,9 +627,6 @@ public ModifyClusterRequest withVpcSecurityGroupIds(String... vpcSecurityGroupId * * @param vpcSecurityGroupIds A list of Virtual Private Cloud (VPC) security groups to be associated * with the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterRequest withVpcSecurityGroupIds(java.util.Collection vpcSecurityGroupIds) { if (vpcSecurityGroupIds == null) { @@ -674,7 +652,9 @@ public ModifyClusterRequest withVpcSecurityGroupIds(java.util.Collection * setting.

    Constraints:

    • Must be between 8 and 64 characters * in length.
    • Must contain at least one uppercase letter.
    • *
    • Must contain at least one lowercase letter.
    • Must contain - * one number.
    + * one number.
  • Can be any printable ASCII character (ASCII code + * 33 to 126) except ' (single quote), " (double quote), \, /, @, or + * space.
  • * * @return The new password for the cluster master user. This change is * asynchronously applied as soon as possible. Between the time of the @@ -687,7 +667,9 @@ public ModifyClusterRequest withVpcSecurityGroupIds(java.util.Collection * setting.

    Constraints:

    • Must be between 8 and 64 characters * in length.
    • Must contain at least one uppercase letter.
    • *
    • Must contain at least one lowercase letter.
    • Must contain - * one number.
    + * one number.
  • Can be any printable ASCII character (ASCII code + * 33 to 126) except ' (single quote), " (double quote), \, /, @, or + * space.
  • */ public String getMasterUserPassword() { return masterUserPassword; @@ -705,7 +687,9 @@ public String getMasterUserPassword() { * setting.

    Constraints:

    • Must be between 8 and 64 characters * in length.
    • Must contain at least one uppercase letter.
    • *
    • Must contain at least one lowercase letter.
    • Must contain - * one number.
    + * one number.
  • Can be any printable ASCII character (ASCII code + * 33 to 126) except ' (single quote), " (double quote), \, /, @, or + * space.
  • * * @param masterUserPassword The new password for the cluster master user. This change is * asynchronously applied as soon as possible. Between the time of the @@ -718,7 +702,9 @@ public String getMasterUserPassword() { * setting.

    Constraints:

    • Must be between 8 and 64 characters * in length.
    • Must contain at least one uppercase letter.
    • *
    • Must contain at least one lowercase letter.
    • Must contain - * one number.
    + * one number.
  • Can be any printable ASCII character (ASCII code + * 33 to 126) except ' (single quote), " (double quote), \, /, @, or + * space.
  • */ public void setMasterUserPassword(String masterUserPassword) { this.masterUserPassword = masterUserPassword; @@ -736,7 +722,9 @@ public void setMasterUserPassword(String masterUserPassword) { * setting.

    Constraints:

    • Must be between 8 and 64 characters * in length.
    • Must contain at least one uppercase letter.
    • *
    • Must contain at least one lowercase letter.
    • Must contain - * one number.
    + * one number.
  • Can be any printable ASCII character (ASCII code + * 33 to 126) except ' (single quote), " (double quote), \, /, @, or + * space.
  • *

    * Returns a reference to this object so that method calls can be chained together. * @@ -751,10 +739,9 @@ public void setMasterUserPassword(String masterUserPassword) { * setting.

    Constraints:

    • Must be between 8 and 64 characters * in length.
    • Must contain at least one uppercase letter.
    • *
    • Must contain at least one lowercase letter.
    • Must contain - * one number.
    - * - * @return A reference to this updated object so that method calls can be chained - * together. + * one number.
  • Can be any printable ASCII character (ASCII code + * 33 to 126) except ' (single quote), " (double quote), \, /, @, or + * space.
  • */ public ModifyClusterRequest withMasterUserPassword(String masterUserPassword) { this.masterUserPassword = masterUserPassword; @@ -810,9 +797,6 @@ public void setClusterParameterGroupName(String clusterParameterGroupName) { * cluster use RebootCluster.

    Default: Uses existing setting. *

    Constraints: The cluster parameter group must be in the same * parameter group family that matches the cluster version. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterRequest withClusterParameterGroupName(String clusterParameterGroupName) { this.clusterParameterGroupName = clusterParameterGroupName; @@ -886,9 +870,6 @@ public void setAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetenti * snapshots which fall outside of the new retention period will be * immediately deleted.

    Default: Uses existing setting. *

    Constraints: Must be a value from 0 to 35. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterRequest withAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod) { this.automatedSnapshotRetentionPeriod = automatedSnapshotRetentionPeriod; @@ -974,9 +955,6 @@ public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow) { * ddd:hh24:mi-ddd:hh24:mi, for example wed:07:30-wed:08:00. *

    Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun

    Constraints: * Must be at least 30 minutes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow) { this.preferredMaintenanceWindow = preferredMaintenanceWindow; @@ -1062,9 +1040,6 @@ public void setClusterVersion(String clusterVersion) { * href="http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html">Amazon * Redshift Parameter Groups in the Amazon Redshift Management * Guide.

    Example: 1.0 - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterRequest withClusterVersion(String clusterVersion) { this.clusterVersion = clusterVersion; @@ -1102,9 +1077,6 @@ public void setAllowVersionUpgrade(Boolean allowVersionUpgrade) { * * @param allowVersionUpgrade If true, upgrades will be applied automatically to the * cluster during the maintenance window.

    Default: false - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterRequest withAllowVersionUpgrade(Boolean allowVersionUpgrade) { this.allowVersionUpgrade = allowVersionUpgrade; diff --git a/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterSubnetGroupRequest.java b/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterSubnetGroupRequest.java index d52f5a9dedf3..643e5f635188 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterSubnetGroupRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ModifyClusterSubnetGroupRequest.java @@ -67,9 +67,6 @@ public void setClusterSubnetGroupName(String clusterSubnetGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterSubnetGroupName The name of the subnet group to be modified. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterSubnetGroupRequest withClusterSubnetGroupName(String clusterSubnetGroupName) { this.clusterSubnetGroupName = clusterSubnetGroupName; @@ -101,9 +98,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description A text description of the subnet group to be modified. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterSubnetGroupRequest withDescription(String description) { this.description = description; @@ -152,9 +146,6 @@ public void setSubnetIds(java.util.Collection subnetIds) { * * @param subnetIds An array of VPC subnet IDs. A maximum of 20 subnets can be modified in * a single request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterSubnetGroupRequest withSubnetIds(String... subnetIds) { if (getSubnetIds() == null) setSubnetIds(new java.util.ArrayList(subnetIds.length)); @@ -172,9 +163,6 @@ public ModifyClusterSubnetGroupRequest withSubnetIds(String... subnetIds) { * * @param subnetIds An array of VPC subnet IDs. A maximum of 20 subnets can be modified in * a single request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ModifyClusterSubnetGroupRequest withSubnetIds(java.util.Collection subnetIds) { if (subnetIds == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/NumberOfNodesQuotaExceededException.java b/src/main/java/com/amazonaws/services/redshift/model/NumberOfNodesQuotaExceededException.java index 4510a0607f92..25ac59c89785 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/NumberOfNodesQuotaExceededException.java +++ b/src/main/java/com/amazonaws/services/redshift/model/NumberOfNodesQuotaExceededException.java @@ -18,7 +18,9 @@ /** *

    - * The operation would exceed the number of nodes allotted to the account. + * The operation would exceed the number of nodes allotted to the account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift + * Management Guide . *

    */ public class NumberOfNodesQuotaExceededException extends AmazonServiceException { diff --git a/src/main/java/com/amazonaws/services/redshift/model/OrderableClusterOption.java b/src/main/java/com/amazonaws/services/redshift/model/OrderableClusterOption.java index dbf07c970baa..63d0340f5ac5 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/OrderableClusterOption.java +++ b/src/main/java/com/amazonaws/services/redshift/model/OrderableClusterOption.java @@ -66,9 +66,6 @@ public void setClusterVersion(String clusterVersion) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterVersion The version of the orderable cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public OrderableClusterOption withClusterVersion(String clusterVersion) { this.clusterVersion = clusterVersion; @@ -100,9 +97,6 @@ public void setClusterType(String clusterType) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterType The cluster type, for example multi-node. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public OrderableClusterOption withClusterType(String clusterType) { this.clusterType = clusterType; @@ -134,9 +128,6 @@ public void setNodeType(String nodeType) { * Returns a reference to this object so that method calls can be chained together. * * @param nodeType The node type for the orderable cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public OrderableClusterOption withNodeType(String nodeType) { this.nodeType = nodeType; @@ -179,9 +170,6 @@ public void setAvailabilityZones(java.util.Collection availabi * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZones A list of availability zones for the orderable cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public OrderableClusterOption withAvailabilityZones(AvailabilityZone... availabilityZones) { if (getAvailabilityZones() == null) setAvailabilityZones(new java.util.ArrayList(availabilityZones.length)); @@ -197,9 +185,6 @@ public OrderableClusterOption withAvailabilityZones(AvailabilityZone... availabi * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZones A list of availability zones for the orderable cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public OrderableClusterOption withAvailabilityZones(java.util.Collection availabilityZones) { if (availabilityZones == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/Parameter.java b/src/main/java/com/amazonaws/services/redshift/model/Parameter.java index 54529faf24e3..8665b2355356 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/Parameter.java +++ b/src/main/java/com/amazonaws/services/redshift/model/Parameter.java @@ -88,9 +88,6 @@ public void setParameterName(String parameterName) { * Returns a reference to this object so that method calls can be chained together. * * @param parameterName The name of the parameter. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Parameter withParameterName(String parameterName) { this.parameterName = parameterName; @@ -122,9 +119,6 @@ public void setParameterValue(String parameterValue) { * Returns a reference to this object so that method calls can be chained together. * * @param parameterValue The value of the parameter. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Parameter withParameterValue(String parameterValue) { this.parameterValue = parameterValue; @@ -156,9 +150,6 @@ public void setDescription(String description) { * Returns a reference to this object so that method calls can be chained together. * * @param description A description of the parameter. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Parameter withDescription(String description) { this.description = description; @@ -190,9 +181,6 @@ public void setSource(String source) { * Returns a reference to this object so that method calls can be chained together. * * @param source The source of the parameter value, such as "engine-default" or "user". - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Parameter withSource(String source) { this.source = source; @@ -224,9 +212,6 @@ public void setDataType(String dataType) { * Returns a reference to this object so that method calls can be chained together. * * @param dataType The data type of the parameter. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Parameter withDataType(String dataType) { this.dataType = dataType; @@ -258,9 +243,6 @@ public void setAllowedValues(String allowedValues) { * Returns a reference to this object so that method calls can be chained together. * * @param allowedValues The valid range of values for the parameter. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Parameter withAllowedValues(String allowedValues) { this.allowedValues = allowedValues; @@ -304,9 +286,6 @@ public void setIsModifiable(Boolean isModifiable) { * @param isModifiable If true, the parameter can be modified. Some parameters * have security or operational implications that prevent them from being * changed. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Parameter withIsModifiable(Boolean isModifiable) { this.isModifiable = isModifiable; @@ -351,9 +330,6 @@ public void setMinimumEngineVersion(String minimumEngineVersion) { * Returns a reference to this object so that method calls can be chained together. * * @param minimumEngineVersion The earliest engine version to which the parameter can apply. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Parameter withMinimumEngineVersion(String minimumEngineVersion) { this.minimumEngineVersion = minimumEngineVersion; diff --git a/src/main/java/com/amazonaws/services/redshift/model/PendingModifiedValues.java b/src/main/java/com/amazonaws/services/redshift/model/PendingModifiedValues.java index 920b1df51449..f1f9d3fe06bc 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/PendingModifiedValues.java +++ b/src/main/java/com/amazonaws/services/redshift/model/PendingModifiedValues.java @@ -84,9 +84,6 @@ public void setMasterUserPassword(String masterUserPassword) { * * @param masterUserPassword The pending or in-progress change of the master credentials for the * cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PendingModifiedValues withMasterUserPassword(String masterUserPassword) { this.masterUserPassword = masterUserPassword; @@ -118,9 +115,6 @@ public void setNodeType(String nodeType) { * Returns a reference to this object so that method calls can be chained together. * * @param nodeType The pending or in-progress change of the cluster's node type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PendingModifiedValues withNodeType(String nodeType) { this.nodeType = nodeType; @@ -152,9 +146,6 @@ public void setNumberOfNodes(Integer numberOfNodes) { * Returns a reference to this object so that method calls can be chained together. * * @param numberOfNodes The pending or in-progress change of the number nodes in the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PendingModifiedValues withNumberOfNodes(Integer numberOfNodes) { this.numberOfNodes = numberOfNodes; @@ -186,9 +177,6 @@ public void setClusterType(String clusterType) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterType The pending or in-progress change of the cluster type. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PendingModifiedValues withClusterType(String clusterType) { this.clusterType = clusterType; @@ -220,9 +208,6 @@ public void setClusterVersion(String clusterVersion) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterVersion The pending or in-progress change of the service version. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PendingModifiedValues withClusterVersion(String clusterVersion) { this.clusterVersion = clusterVersion; @@ -260,9 +245,6 @@ public void setAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetenti * * @param automatedSnapshotRetentionPeriod The pending or in-progress change of the automated snapshot retention * period. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PendingModifiedValues withAutomatedSnapshotRetentionPeriod(Integer automatedSnapshotRetentionPeriod) { this.automatedSnapshotRetentionPeriod = automatedSnapshotRetentionPeriod; diff --git a/src/main/java/com/amazonaws/services/redshift/model/PurchaseReservedNodeOfferingRequest.java b/src/main/java/com/amazonaws/services/redshift/model/PurchaseReservedNodeOfferingRequest.java index 2b7362af40a2..69fb35b43e7c 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/PurchaseReservedNodeOfferingRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/PurchaseReservedNodeOfferingRequest.java @@ -77,9 +77,6 @@ public void setReservedNodeOfferingId(String reservedNodeOfferingId) { * * @param reservedNodeOfferingId The unique identifier of the reserved node offering you want to * purchase. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PurchaseReservedNodeOfferingRequest withReservedNodeOfferingId(String reservedNodeOfferingId) { this.reservedNodeOfferingId = reservedNodeOfferingId; @@ -117,9 +114,6 @@ public void setNodeCount(Integer nodeCount) { * * @param nodeCount The number of reserved nodes you want to purchase.

    Default: * 1 - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public PurchaseReservedNodeOfferingRequest withNodeCount(Integer nodeCount) { this.nodeCount = nodeCount; diff --git a/src/main/java/com/amazonaws/services/redshift/model/RebootClusterRequest.java b/src/main/java/com/amazonaws/services/redshift/model/RebootClusterRequest.java index a57104ce1b82..c91f1f38a919 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/RebootClusterRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/RebootClusterRequest.java @@ -59,9 +59,6 @@ public void setClusterIdentifier(String clusterIdentifier) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterIdentifier The cluster identifier. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RebootClusterRequest withClusterIdentifier(String clusterIdentifier) { this.clusterIdentifier = clusterIdentifier; diff --git a/src/main/java/com/amazonaws/services/redshift/model/RecurringCharge.java b/src/main/java/com/amazonaws/services/redshift/model/RecurringCharge.java index e2c3313b771d..e07cb14938e3 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/RecurringCharge.java +++ b/src/main/java/com/amazonaws/services/redshift/model/RecurringCharge.java @@ -63,9 +63,6 @@ public void setRecurringChargeAmount(Double recurringChargeAmount) { * * @param recurringChargeAmount The amount charged per the period of time specified by the recurring * charge frequency. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RecurringCharge withRecurringChargeAmount(Double recurringChargeAmount) { this.recurringChargeAmount = recurringChargeAmount; @@ -97,9 +94,6 @@ public void setRecurringChargeFrequency(String recurringChargeFrequency) { * Returns a reference to this object so that method calls can be chained together. * * @param recurringChargeFrequency The frequency at which the recurring charge amount is applied. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RecurringCharge withRecurringChargeFrequency(String recurringChargeFrequency) { this.recurringChargeFrequency = recurringChargeFrequency; diff --git a/src/main/java/com/amazonaws/services/redshift/model/ReservedNode.java b/src/main/java/com/amazonaws/services/redshift/model/ReservedNode.java index 059f737a231c..987f638f3a84 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ReservedNode.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ReservedNode.java @@ -113,9 +113,6 @@ public void setReservedNodeId(String reservedNodeId) { * Returns a reference to this object so that method calls can be chained together. * * @param reservedNodeId The unique identifier for the reservation. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNode withReservedNodeId(String reservedNodeId) { this.reservedNodeId = reservedNodeId; @@ -147,9 +144,6 @@ public void setReservedNodeOfferingId(String reservedNodeOfferingId) { * Returns a reference to this object so that method calls can be chained together. * * @param reservedNodeOfferingId The identifier for the reserved node offering. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNode withReservedNodeOfferingId(String reservedNodeOfferingId) { this.reservedNodeOfferingId = reservedNodeOfferingId; @@ -181,9 +175,6 @@ public void setNodeType(String nodeType) { * Returns a reference to this object so that method calls can be chained together. * * @param nodeType The node type of the reserved node. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNode withNodeType(String nodeType) { this.nodeType = nodeType; @@ -221,9 +212,6 @@ public void setStartTime(java.util.Date startTime) { * * @param startTime The time the reservation started. You purchase a reserved node * offering for a duration. This is the start time of that duration. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNode withStartTime(java.util.Date startTime) { this.startTime = startTime; @@ -255,9 +243,6 @@ public void setDuration(Integer duration) { * Returns a reference to this object so that method calls can be chained together. * * @param duration The duration of the node reservation in seconds. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNode withDuration(Integer duration) { this.duration = duration; @@ -289,9 +274,6 @@ public void setFixedPrice(Double fixedPrice) { * Returns a reference to this object so that method calls can be chained together. * * @param fixedPrice The fixed cost Amazon Redshift charged you for this reserved node. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNode withFixedPrice(Double fixedPrice) { this.fixedPrice = fixedPrice; @@ -323,9 +305,6 @@ public void setUsagePrice(Double usagePrice) { * Returns a reference to this object so that method calls can be chained together. * * @param usagePrice The hourly rate Amazon Redshift charge you for this reserved node. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNode withUsagePrice(Double usagePrice) { this.usagePrice = usagePrice; @@ -357,9 +336,6 @@ public void setCurrencyCode(String currencyCode) { * Returns a reference to this object so that method calls can be chained together. * * @param currencyCode The currency code for the reserved cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNode withCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; @@ -391,9 +367,6 @@ public void setNodeCount(Integer nodeCount) { * Returns a reference to this object so that method calls can be chained together. * * @param nodeCount The number of reserved compute nodes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNode withNodeCount(Integer nodeCount) { this.nodeCount = nodeCount; @@ -455,9 +428,6 @@ public void setState(String state) { * confirmed.

  • active-This reserved node is owned by the caller * and is available for use.
  • payment-failed-Payment failed for * the purchase attempt.
  • - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNode withState(String state) { this.state = state; @@ -495,9 +465,6 @@ public void setOfferingType(String offeringType) { * * @param offeringType The anticipated utilization of the reserved node, as defined in the * reserved node offering. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNode withOfferingType(String offeringType) { this.offeringType = offeringType; @@ -540,9 +507,6 @@ public void setRecurringCharges(java.util.Collection recurringC * Returns a reference to this object so that method calls can be chained together. * * @param recurringCharges The recurring charges for the reserved node. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNode withRecurringCharges(RecurringCharge... recurringCharges) { if (getRecurringCharges() == null) setRecurringCharges(new java.util.ArrayList(recurringCharges.length)); @@ -558,9 +522,6 @@ public ReservedNode withRecurringCharges(RecurringCharge... recurringCharges) { * Returns a reference to this object so that method calls can be chained together. * * @param recurringCharges The recurring charges for the reserved node. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNode withRecurringCharges(java.util.Collection recurringCharges) { if (recurringCharges == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/ReservedNodeOffering.java b/src/main/java/com/amazonaws/services/redshift/model/ReservedNodeOffering.java index b68faba31170..b596233c3bc4 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ReservedNodeOffering.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ReservedNodeOffering.java @@ -92,9 +92,6 @@ public void setReservedNodeOfferingId(String reservedNodeOfferingId) { * Returns a reference to this object so that method calls can be chained together. * * @param reservedNodeOfferingId The offering identifier. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNodeOffering withReservedNodeOfferingId(String reservedNodeOfferingId) { this.reservedNodeOfferingId = reservedNodeOfferingId; @@ -126,9 +123,6 @@ public void setNodeType(String nodeType) { * Returns a reference to this object so that method calls can be chained together. * * @param nodeType The node type offered by the reserved node offering. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNodeOffering withNodeType(String nodeType) { this.nodeType = nodeType; @@ -166,9 +160,6 @@ public void setDuration(Integer duration) { * * @param duration The duration, in seconds, for which the offering will reserve the * node. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNodeOffering withDuration(Integer duration) { this.duration = duration; @@ -206,9 +197,6 @@ public void setFixedPrice(Double fixedPrice) { * * @param fixedPrice The upfront fixed charge you will pay to purchase the specific * reserved node offering. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNodeOffering withFixedPrice(Double fixedPrice) { this.fixedPrice = fixedPrice; @@ -246,9 +234,6 @@ public void setUsagePrice(Double usagePrice) { * * @param usagePrice The rate you are charged for each hour the cluster that is using the * offering is running. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNodeOffering withUsagePrice(Double usagePrice) { this.usagePrice = usagePrice; @@ -280,9 +265,6 @@ public void setCurrencyCode(String currencyCode) { * Returns a reference to this object so that method calls can be chained together. * * @param currencyCode The currency code for the compute nodes offering. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNodeOffering withCurrencyCode(String currencyCode) { this.currencyCode = currencyCode; @@ -320,9 +302,6 @@ public void setOfferingType(String offeringType) { * * @param offeringType The anticipated utilization of the reserved node, as defined in the * reserved node offering. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNodeOffering withOfferingType(String offeringType) { this.offeringType = offeringType; @@ -377,9 +356,6 @@ public void setRecurringCharges(java.util.Collection recurringC * @param recurringCharges The charge to your account regardless of whether you are creating any * clusters using the node offering. Recurring charges are only in effect * for heavy-utilization reserved nodes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNodeOffering withRecurringCharges(RecurringCharge... recurringCharges) { if (getRecurringCharges() == null) setRecurringCharges(new java.util.ArrayList(recurringCharges.length)); @@ -399,9 +375,6 @@ public ReservedNodeOffering withRecurringCharges(RecurringCharge... recurringCha * @param recurringCharges The charge to your account regardless of whether you are creating any * clusters using the node offering. Recurring charges are only in effect * for heavy-utilization reserved nodes. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ReservedNodeOffering withRecurringCharges(java.util.Collection recurringCharges) { if (recurringCharges == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/ReservedNodeQuotaExceededException.java b/src/main/java/com/amazonaws/services/redshift/model/ReservedNodeQuotaExceededException.java index be8d20224fc5..96c98dbceab4 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ReservedNodeQuotaExceededException.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ReservedNodeQuotaExceededException.java @@ -18,7 +18,10 @@ /** *

    - * Request would exceed the user's compute node quota. + * Request would exceed the user's compute node quota. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift + * Management Guide . + * *

    */ public class ReservedNodeQuotaExceededException extends AmazonServiceException { diff --git a/src/main/java/com/amazonaws/services/redshift/model/ResetClusterParameterGroupRequest.java b/src/main/java/com/amazonaws/services/redshift/model/ResetClusterParameterGroupRequest.java index d7d146d31a09..ee7a0b88ab13 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ResetClusterParameterGroupRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ResetClusterParameterGroupRequest.java @@ -71,9 +71,6 @@ public void setParameterGroupName(String parameterGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param parameterGroupName The name of the cluster parameter group to be reset. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ResetClusterParameterGroupRequest withParameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; @@ -111,9 +108,6 @@ public void setResetAllParameters(Boolean resetAllParameters) { * * @param resetAllParameters If true, all parameters in the specified parameter group * will be reset to their default values.

    Default: true - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ResetClusterParameterGroupRequest withResetAllParameters(Boolean resetAllParameters) { this.resetAllParameters = resetAllParameters; @@ -185,9 +179,6 @@ public void setParameters(java.util.Collection parameters) { * ResetAllParameters option is not used, then at least one * parameter name must be supplied.

    Constraints: A maximum of 20 * parameters can be reset in a single request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ResetClusterParameterGroupRequest withParameters(Parameter... parameters) { if (getParameters() == null) setParameters(new java.util.ArrayList(parameters.length)); @@ -209,9 +200,6 @@ public ResetClusterParameterGroupRequest withParameters(Parameter... parameters) * ResetAllParameters option is not used, then at least one * parameter name must be supplied.

    Constraints: A maximum of 20 * parameters can be reset in a single request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ResetClusterParameterGroupRequest withParameters(java.util.Collection parameters) { if (parameters == null) { diff --git a/src/main/java/com/amazonaws/services/redshift/model/ResetClusterParameterGroupResult.java b/src/main/java/com/amazonaws/services/redshift/model/ResetClusterParameterGroupResult.java index 098489b830f6..a8591930914b 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/ResetClusterParameterGroupResult.java +++ b/src/main/java/com/amazonaws/services/redshift/model/ResetClusterParameterGroupResult.java @@ -59,9 +59,6 @@ public void setParameterGroupName(String parameterGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param parameterGroupName The name of the cluster parameter group. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ResetClusterParameterGroupResult withParameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; @@ -105,9 +102,6 @@ public void setParameterGroupStatus(String parameterGroupStatus) { * @param parameterGroupStatus The status of the parameter group. For example, if you made a change * to a parameter group name-value pair, then the change could be pending * a reboot of an associated cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public ResetClusterParameterGroupResult withParameterGroupStatus(String parameterGroupStatus) { this.parameterGroupStatus = parameterGroupStatus; diff --git a/src/main/java/com/amazonaws/services/redshift/model/RestoreFromClusterSnapshotRequest.java b/src/main/java/com/amazonaws/services/redshift/model/RestoreFromClusterSnapshotRequest.java index 072c655287e9..f630d443d1fa 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/RestoreFromClusterSnapshotRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/RestoreFromClusterSnapshotRequest.java @@ -87,6 +87,13 @@ public class RestoreFromClusterSnapshotRequest extends AmazonWebServiceRequest */ private Boolean publiclyAccessible; + /** + * The AWS customer account used to create or copy the snapshot. Required + * if you are restoring a snapshot you do not own, optional if you own + * the snapshot. + */ + private String ownerAccount; + /** * The identifier of the cluster that will be created from restoring the * snapshot.

    Constraints:

    • Must contain from 1 to 63 @@ -141,9 +148,6 @@ public void setClusterIdentifier(String clusterIdentifier) { * must be lowercase.
    • First character must be a letter.
    • *
    • Cannot end with a hyphen or contain two consecutive hyphens.
    • *
    • Must be unique for all clusters within an AWS account.
    - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RestoreFromClusterSnapshotRequest withClusterIdentifier(String clusterIdentifier) { this.clusterIdentifier = clusterIdentifier; @@ -187,9 +191,6 @@ public void setSnapshotIdentifier(String snapshotIdentifier) { * @param snapshotIdentifier The name of the snapshot from which to create the new cluster. This * parameter isn't case sensitive.

    Example: * my-snapshot-id - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RestoreFromClusterSnapshotRequest withSnapshotIdentifier(String snapshotIdentifier) { this.snapshotIdentifier = snapshotIdentifier; @@ -233,9 +234,6 @@ public void setPort(Integer port) { * @param port The port number on which the cluster accepts connections.

    Default: * The same port as the original cluster.

    Constraints: Must be between * 1115 and 65535. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RestoreFromClusterSnapshotRequest withPort(Integer port) { this.port = port; @@ -279,9 +277,6 @@ public void setAvailabilityZone(String availabilityZone) { * @param availabilityZone The Amazon EC2 Availability Zone in which to restore the cluster. *

    Default: A random, system-chosen Availability Zone.

    Example: * us-east-1a - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RestoreFromClusterSnapshotRequest withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -325,9 +320,6 @@ public void setAllowVersionUpgrade(Boolean allowVersionUpgrade) { * @param allowVersionUpgrade If true, upgrades can be applied during the maintenance * window to the Amazon Redshift engine that is running on the cluster. *

    Default: true - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RestoreFromClusterSnapshotRequest withAllowVersionUpgrade(Boolean allowVersionUpgrade) { this.allowVersionUpgrade = allowVersionUpgrade; @@ -384,9 +376,6 @@ public void setClusterSubnetGroupName(String clusterSubnetGroupName) { * @param clusterSubnetGroupName The name of the subnet group where you want to cluster restored.

    A * snapshot of cluster in VPC can be restored only in VPC. Therefore, you * must provide subnet group name where you want the cluster restored. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RestoreFromClusterSnapshotRequest withClusterSubnetGroupName(String clusterSubnetGroupName) { this.clusterSubnetGroupName = clusterSubnetGroupName; @@ -424,9 +413,6 @@ public void setPubliclyAccessible(Boolean publiclyAccessible) { * * @param publiclyAccessible If true, the cluster can be accessed from a public * network. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RestoreFromClusterSnapshotRequest withPubliclyAccessible(Boolean publiclyAccessible) { this.publiclyAccessible = publiclyAccessible; @@ -445,6 +431,49 @@ public Boolean getPubliclyAccessible() { return publiclyAccessible; } + /** + * The AWS customer account used to create or copy the snapshot. Required + * if you are restoring a snapshot you do not own, optional if you own + * the snapshot. + * + * @return The AWS customer account used to create or copy the snapshot. Required + * if you are restoring a snapshot you do not own, optional if you own + * the snapshot. + */ + public String getOwnerAccount() { + return ownerAccount; + } + + /** + * The AWS customer account used to create or copy the snapshot. Required + * if you are restoring a snapshot you do not own, optional if you own + * the snapshot. + * + * @param ownerAccount The AWS customer account used to create or copy the snapshot. Required + * if you are restoring a snapshot you do not own, optional if you own + * the snapshot. + */ + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + } + + /** + * The AWS customer account used to create or copy the snapshot. Required + * if you are restoring a snapshot you do not own, optional if you own + * the snapshot. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param ownerAccount The AWS customer account used to create or copy the snapshot. Required + * if you are restoring a snapshot you do not own, optional if you own + * the snapshot. + */ + public RestoreFromClusterSnapshotRequest withOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + return this; + } + + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -463,7 +492,8 @@ public String toString() { if (getAvailabilityZone() != null) sb.append("AvailabilityZone: " + getAvailabilityZone() + ","); if (isAllowVersionUpgrade() != null) sb.append("AllowVersionUpgrade: " + isAllowVersionUpgrade() + ","); if (getClusterSubnetGroupName() != null) sb.append("ClusterSubnetGroupName: " + getClusterSubnetGroupName() + ","); - if (isPubliclyAccessible() != null) sb.append("PubliclyAccessible: " + isPubliclyAccessible() ); + if (isPubliclyAccessible() != null) sb.append("PubliclyAccessible: " + isPubliclyAccessible() + ","); + if (getOwnerAccount() != null) sb.append("OwnerAccount: " + getOwnerAccount() ); sb.append("}"); return sb.toString(); } @@ -480,6 +510,7 @@ public int hashCode() { hashCode = prime * hashCode + ((isAllowVersionUpgrade() == null) ? 0 : isAllowVersionUpgrade().hashCode()); hashCode = prime * hashCode + ((getClusterSubnetGroupName() == null) ? 0 : getClusterSubnetGroupName().hashCode()); hashCode = prime * hashCode + ((isPubliclyAccessible() == null) ? 0 : isPubliclyAccessible().hashCode()); + hashCode = prime * hashCode + ((getOwnerAccount() == null) ? 0 : getOwnerAccount().hashCode()); return hashCode; } @@ -505,6 +536,8 @@ public boolean equals(Object obj) { if (other.getClusterSubnetGroupName() != null && other.getClusterSubnetGroupName().equals(this.getClusterSubnetGroupName()) == false) return false; if (other.isPubliclyAccessible() == null ^ this.isPubliclyAccessible() == null) return false; if (other.isPubliclyAccessible() != null && other.isPubliclyAccessible().equals(this.isPubliclyAccessible()) == false) return false; + if (other.getOwnerAccount() == null ^ this.getOwnerAccount() == null) return false; + if (other.getOwnerAccount() != null && other.getOwnerAccount().equals(this.getOwnerAccount()) == false) return false; return true; } diff --git a/src/main/java/com/amazonaws/services/redshift/model/RevokeClusterSecurityGroupIngressRequest.java b/src/main/java/com/amazonaws/services/redshift/model/RevokeClusterSecurityGroupIngressRequest.java index c1ed258e1b51..570630dac674 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/RevokeClusterSecurityGroupIngressRequest.java +++ b/src/main/java/com/amazonaws/services/redshift/model/RevokeClusterSecurityGroupIngressRequest.java @@ -85,9 +85,6 @@ public void setClusterSecurityGroupName(String clusterSecurityGroupName) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterSecurityGroupName The name of the security Group from which to revoke the ingress rule. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeClusterSecurityGroupIngressRequest withClusterSecurityGroupName(String clusterSecurityGroupName) { this.clusterSecurityGroupName = clusterSecurityGroupName; @@ -137,9 +134,6 @@ public void setCIDRIP(String cIDRIP) { * Classless Inter-Domain Routing (CIDR) block of IP addresses. If * CIDRIP is specified, EC2SecurityGroupName * and EC2SecurityGroupOwnerId cannot be provided. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeClusterSecurityGroupIngressRequest withCIDRIP(String cIDRIP) { this.cIDRIP = cIDRIP; @@ -189,9 +183,6 @@ public void setEC2SecurityGroupName(String eC2SecurityGroupName) { * EC2SecurityGroupName is specified, * EC2SecurityGroupOwnerId must also be provided and * CIDRIP cannot be provided. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeClusterSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName) { this.eC2SecurityGroupName = eC2SecurityGroupName; @@ -253,9 +244,6 @@ public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) { * specified, EC2SecurityGroupName must also be provided. * and CIDRIP cannot be provided.

    Example: * 111122223333 - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public RevokeClusterSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) { this.eC2SecurityGroupOwnerId = eC2SecurityGroupOwnerId; diff --git a/src/main/java/com/amazonaws/services/redshift/model/RevokeSnapshotAccessRequest.java b/src/main/java/com/amazonaws/services/redshift/model/RevokeSnapshotAccessRequest.java new file mode 100644 index 000000000000..f80b21ec8f94 --- /dev/null +++ b/src/main/java/com/amazonaws/services/redshift/model/RevokeSnapshotAccessRequest.java @@ -0,0 +1,157 @@ +/* + * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ +package com.amazonaws.services.redshift.model; +import com.amazonaws.AmazonWebServiceRequest; +import java.io.Serializable; + +/** + * Container for the parameters to the {@link com.amazonaws.services.redshift.AmazonRedshift#revokeSnapshotAccess(RevokeSnapshotAccessRequest) RevokeSnapshotAccess operation}. + *

    + * Removes the ability of the specified AWS customer account to restore the specified snapshot. If the account is currently restoring the snapshot, the + * restore will run to completion. + *

    + *

    + * For more information about working with snapshots, go to + * Amazon Redshift Snapshots in the Amazon Redshift Management Guide . + *

    + * + * @see com.amazonaws.services.redshift.AmazonRedshift#revokeSnapshotAccess(RevokeSnapshotAccessRequest) + */ +public class RevokeSnapshotAccessRequest extends AmazonWebServiceRequest implements Serializable { + + /** + * The identifier of the snapshot that the account can no longer access. + */ + private String snapshotIdentifier; + + /** + * The identifier of the AWS customer account that can no longer restore + * the specified snapshot. + */ + private String accountWithRestoreAccess; + + /** + * The identifier of the snapshot that the account can no longer access. + * + * @return The identifier of the snapshot that the account can no longer access. + */ + public String getSnapshotIdentifier() { + return snapshotIdentifier; + } + + /** + * The identifier of the snapshot that the account can no longer access. + * + * @param snapshotIdentifier The identifier of the snapshot that the account can no longer access. + */ + public void setSnapshotIdentifier(String snapshotIdentifier) { + this.snapshotIdentifier = snapshotIdentifier; + } + + /** + * The identifier of the snapshot that the account can no longer access. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param snapshotIdentifier The identifier of the snapshot that the account can no longer access. + */ + public RevokeSnapshotAccessRequest withSnapshotIdentifier(String snapshotIdentifier) { + this.snapshotIdentifier = snapshotIdentifier; + return this; + } + + + /** + * The identifier of the AWS customer account that can no longer restore + * the specified snapshot. + * + * @return The identifier of the AWS customer account that can no longer restore + * the specified snapshot. + */ + public String getAccountWithRestoreAccess() { + return accountWithRestoreAccess; + } + + /** + * The identifier of the AWS customer account that can no longer restore + * the specified snapshot. + * + * @param accountWithRestoreAccess The identifier of the AWS customer account that can no longer restore + * the specified snapshot. + */ + public void setAccountWithRestoreAccess(String accountWithRestoreAccess) { + this.accountWithRestoreAccess = accountWithRestoreAccess; + } + + /** + * The identifier of the AWS customer account that can no longer restore + * the specified snapshot. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param accountWithRestoreAccess The identifier of the AWS customer account that can no longer restore + * the specified snapshot. + */ + public RevokeSnapshotAccessRequest withAccountWithRestoreAccess(String accountWithRestoreAccess) { + this.accountWithRestoreAccess = accountWithRestoreAccess; + return this; + } + + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getSnapshotIdentifier() != null) sb.append("SnapshotIdentifier: " + getSnapshotIdentifier() + ","); + if (getAccountWithRestoreAccess() != null) sb.append("AccountWithRestoreAccess: " + getAccountWithRestoreAccess() ); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getSnapshotIdentifier() == null) ? 0 : getSnapshotIdentifier().hashCode()); + hashCode = prime * hashCode + ((getAccountWithRestoreAccess() == null) ? 0 : getAccountWithRestoreAccess().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) return true; + if (obj == null) return false; + + if (obj instanceof RevokeSnapshotAccessRequest == false) return false; + RevokeSnapshotAccessRequest other = (RevokeSnapshotAccessRequest)obj; + + if (other.getSnapshotIdentifier() == null ^ this.getSnapshotIdentifier() == null) return false; + if (other.getSnapshotIdentifier() != null && other.getSnapshotIdentifier().equals(this.getSnapshotIdentifier()) == false) return false; + if (other.getAccountWithRestoreAccess() == null ^ this.getAccountWithRestoreAccess() == null) return false; + if (other.getAccountWithRestoreAccess() != null && other.getAccountWithRestoreAccess().equals(this.getAccountWithRestoreAccess()) == false) return false; + return true; + } + +} + \ No newline at end of file diff --git a/src/main/java/com/amazonaws/services/redshift/model/Snapshot.java b/src/main/java/com/amazonaws/services/redshift/model/Snapshot.java index 4c2932c3407a..7ee8bb916bb4 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/Snapshot.java +++ b/src/main/java/com/amazonaws/services/redshift/model/Snapshot.java @@ -108,6 +108,56 @@ public class Snapshot implements Serializable { */ private Boolean encrypted; + /** + * A list of the AWS customer accounts authorized to restore the + * snapshot. Returns null if no accounts are authorized. + * Visible only to the snapshot owner. + */ + private com.amazonaws.internal.ListWithAutoConstructFlag accountsWithRestoreAccess; + + /** + * For manual snapshots, the AWS customer account used to create or copy + * the snapshot. For automatic snapshots, the owner of the cluster. The + * owner can perform all snapshot actions, such as sharing a manual + * snapshot. + */ + private String ownerAccount; + + /** + * The size of the complete set of backup data that would be used to + * restore the instance. + */ + private Double totalBackupSizeInMegaBytes; + + /** + * The size of the incremental backup. + */ + private Double actualIncrementalBackupSizeInMegaBytes; + + /** + * The number of megabytes that have been transferred to the snapshot + * backup. + */ + private Double backupProgressInMegaBytes; + + /** + * The number of megabytes per second being transferred to the snapshot + * backup. Returns 0 for a completed backup. + */ + private Double currentBackupRateInMegaBytesPerSecond; + + /** + * The estimate of the time remaining before the snapshot backup will + * complete. Returns 0 for a completed backup. + */ + private Long estimatedSecondsToCompletion; + + /** + * The amount of time an in-progress snapshot backup has been running, or + * the amount of time it took a completed backup to finish. + */ + private Long elapsedTimeInSeconds; + /** * The snapshot identifier that is provided in the request. * @@ -132,9 +182,6 @@ public void setSnapshotIdentifier(String snapshotIdentifier) { * Returns a reference to this object so that method calls can be chained together. * * @param snapshotIdentifier The snapshot identifier that is provided in the request. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withSnapshotIdentifier(String snapshotIdentifier) { this.snapshotIdentifier = snapshotIdentifier; @@ -166,9 +213,6 @@ public void setClusterIdentifier(String clusterIdentifier) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterIdentifier The identifier of the cluster for which the snapshot was taken. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withClusterIdentifier(String clusterIdentifier) { this.clusterIdentifier = clusterIdentifier; @@ -206,9 +250,6 @@ public void setSnapshotCreateTime(java.util.Date snapshotCreateTime) { * * @param snapshotCreateTime The time (UTC) when Amazon Redshift began the snapshot. A snapshot * contains a copy of the cluster data as of this exact time. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withSnapshotCreateTime(java.util.Date snapshotCreateTime) { this.snapshotCreateTime = snapshotCreateTime; @@ -270,9 +311,6 @@ public void setStatus(String status) { *

  • DescribeClusterSnapshots returns status as "creating", * "available", or "failed".
  • DeleteClusterSnapshot * returns status as "deleted".
  • - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withStatus(String status) { this.status = status; @@ -304,9 +342,6 @@ public void setPort(Integer port) { * Returns a reference to this object so that method calls can be chained together. * * @param port The port that the cluster is listening on. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withPort(Integer port) { this.port = port; @@ -338,9 +373,6 @@ public void setAvailabilityZone(String availabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param availabilityZone The Availability Zone in which the cluster was created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; @@ -372,9 +404,6 @@ public void setClusterCreateTime(java.util.Date clusterCreateTime) { * Returns a reference to this object so that method calls can be chained together. * * @param clusterCreateTime The time (UTC) when the cluster was originally created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withClusterCreateTime(java.util.Date clusterCreateTime) { this.clusterCreateTime = clusterCreateTime; @@ -406,9 +435,6 @@ public void setMasterUsername(String masterUsername) { * Returns a reference to this object so that method calls can be chained together. * * @param masterUsername The master user name for the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withMasterUsername(String masterUsername) { this.masterUsername = masterUsername; @@ -446,9 +472,6 @@ public void setClusterVersion(String clusterVersion) { * * @param clusterVersion The version ID of the Amazon Redshift engine that is running on the * cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withClusterVersion(String clusterVersion) { this.clusterVersion = clusterVersion; @@ -492,9 +515,6 @@ public void setSnapshotType(String snapshotType) { * @param snapshotType The snapshot type. Snapshots created using * CreateClusterSnapshot and CopyClusterSnapshot will be of * type "manual". - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withSnapshotType(String snapshotType) { this.snapshotType = snapshotType; @@ -526,9 +546,6 @@ public void setNodeType(String nodeType) { * Returns a reference to this object so that method calls can be chained together. * * @param nodeType The node type of the nodes in the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withNodeType(String nodeType) { this.nodeType = nodeType; @@ -560,9 +577,6 @@ public void setNumberOfNodes(Integer numberOfNodes) { * Returns a reference to this object so that method calls can be chained together. * * @param numberOfNodes The number of nodes in the cluster. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withNumberOfNodes(Integer numberOfNodes) { this.numberOfNodes = numberOfNodes; @@ -600,9 +614,6 @@ public void setDBName(String dBName) { * * @param dBName The name of the database that was created when the cluster was * created. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withDBName(String dBName) { this.dBName = dBName; @@ -640,9 +651,6 @@ public void setVpcId(String vpcId) { * * @param vpcId The VPC identifier of the cluster if the snapshot is from a cluster in * a VPC. Otherwise, this field is not in the output. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withVpcId(String vpcId) { this.vpcId = vpcId; @@ -674,9 +682,6 @@ public void setEncrypted(Boolean encrypted) { * Returns a reference to this object so that method calls can be chained together. * * @param encrypted If true, the data in the snapshot is encrypted at rest. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Snapshot withEncrypted(Boolean encrypted) { this.encrypted = encrypted; @@ -693,6 +698,350 @@ public Boolean getEncrypted() { return encrypted; } + /** + * A list of the AWS customer accounts authorized to restore the + * snapshot. Returns null if no accounts are authorized. + * Visible only to the snapshot owner. + * + * @return A list of the AWS customer accounts authorized to restore the + * snapshot. Returns null if no accounts are authorized. + * Visible only to the snapshot owner. + */ + public java.util.List getAccountsWithRestoreAccess() { + + if (accountsWithRestoreAccess == null) { + accountsWithRestoreAccess = new com.amazonaws.internal.ListWithAutoConstructFlag(); + accountsWithRestoreAccess.setAutoConstruct(true); + } + return accountsWithRestoreAccess; + } + + /** + * A list of the AWS customer accounts authorized to restore the + * snapshot. Returns null if no accounts are authorized. + * Visible only to the snapshot owner. + * + * @param accountsWithRestoreAccess A list of the AWS customer accounts authorized to restore the + * snapshot. Returns null if no accounts are authorized. + * Visible only to the snapshot owner. + */ + public void setAccountsWithRestoreAccess(java.util.Collection accountsWithRestoreAccess) { + if (accountsWithRestoreAccess == null) { + this.accountsWithRestoreAccess = null; + return; + } + com.amazonaws.internal.ListWithAutoConstructFlag accountsWithRestoreAccessCopy = new com.amazonaws.internal.ListWithAutoConstructFlag(accountsWithRestoreAccess.size()); + accountsWithRestoreAccessCopy.addAll(accountsWithRestoreAccess); + this.accountsWithRestoreAccess = accountsWithRestoreAccessCopy; + } + + /** + * A list of the AWS customer accounts authorized to restore the + * snapshot. Returns null if no accounts are authorized. + * Visible only to the snapshot owner. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param accountsWithRestoreAccess A list of the AWS customer accounts authorized to restore the + * snapshot. Returns null if no accounts are authorized. + * Visible only to the snapshot owner. + */ + public Snapshot withAccountsWithRestoreAccess(AccountWithRestoreAccess... accountsWithRestoreAccess) { + if (getAccountsWithRestoreAccess() == null) setAccountsWithRestoreAccess(new java.util.ArrayList(accountsWithRestoreAccess.length)); + for (AccountWithRestoreAccess value : accountsWithRestoreAccess) { + getAccountsWithRestoreAccess().add(value); + } + return this; + } + + /** + * A list of the AWS customer accounts authorized to restore the + * snapshot. Returns null if no accounts are authorized. + * Visible only to the snapshot owner. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param accountsWithRestoreAccess A list of the AWS customer accounts authorized to restore the + * snapshot. Returns null if no accounts are authorized. + * Visible only to the snapshot owner. + */ + public Snapshot withAccountsWithRestoreAccess(java.util.Collection accountsWithRestoreAccess) { + if (accountsWithRestoreAccess == null) { + this.accountsWithRestoreAccess = null; + } else { + com.amazonaws.internal.ListWithAutoConstructFlag accountsWithRestoreAccessCopy = new com.amazonaws.internal.ListWithAutoConstructFlag(accountsWithRestoreAccess.size()); + accountsWithRestoreAccessCopy.addAll(accountsWithRestoreAccess); + this.accountsWithRestoreAccess = accountsWithRestoreAccessCopy; + } + + return this; + } + + /** + * For manual snapshots, the AWS customer account used to create or copy + * the snapshot. For automatic snapshots, the owner of the cluster. The + * owner can perform all snapshot actions, such as sharing a manual + * snapshot. + * + * @return For manual snapshots, the AWS customer account used to create or copy + * the snapshot. For automatic snapshots, the owner of the cluster. The + * owner can perform all snapshot actions, such as sharing a manual + * snapshot. + */ + public String getOwnerAccount() { + return ownerAccount; + } + + /** + * For manual snapshots, the AWS customer account used to create or copy + * the snapshot. For automatic snapshots, the owner of the cluster. The + * owner can perform all snapshot actions, such as sharing a manual + * snapshot. + * + * @param ownerAccount For manual snapshots, the AWS customer account used to create or copy + * the snapshot. For automatic snapshots, the owner of the cluster. The + * owner can perform all snapshot actions, such as sharing a manual + * snapshot. + */ + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + } + + /** + * For manual snapshots, the AWS customer account used to create or copy + * the snapshot. For automatic snapshots, the owner of the cluster. The + * owner can perform all snapshot actions, such as sharing a manual + * snapshot. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param ownerAccount For manual snapshots, the AWS customer account used to create or copy + * the snapshot. For automatic snapshots, the owner of the cluster. The + * owner can perform all snapshot actions, such as sharing a manual + * snapshot. + */ + public Snapshot withOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + return this; + } + + + /** + * The size of the complete set of backup data that would be used to + * restore the instance. + * + * @return The size of the complete set of backup data that would be used to + * restore the instance. + */ + public Double getTotalBackupSizeInMegaBytes() { + return totalBackupSizeInMegaBytes; + } + + /** + * The size of the complete set of backup data that would be used to + * restore the instance. + * + * @param totalBackupSizeInMegaBytes The size of the complete set of backup data that would be used to + * restore the instance. + */ + public void setTotalBackupSizeInMegaBytes(Double totalBackupSizeInMegaBytes) { + this.totalBackupSizeInMegaBytes = totalBackupSizeInMegaBytes; + } + + /** + * The size of the complete set of backup data that would be used to + * restore the instance. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param totalBackupSizeInMegaBytes The size of the complete set of backup data that would be used to + * restore the instance. + */ + public Snapshot withTotalBackupSizeInMegaBytes(Double totalBackupSizeInMegaBytes) { + this.totalBackupSizeInMegaBytes = totalBackupSizeInMegaBytes; + return this; + } + + + /** + * The size of the incremental backup. + * + * @return The size of the incremental backup. + */ + public Double getActualIncrementalBackupSizeInMegaBytes() { + return actualIncrementalBackupSizeInMegaBytes; + } + + /** + * The size of the incremental backup. + * + * @param actualIncrementalBackupSizeInMegaBytes The size of the incremental backup. + */ + public void setActualIncrementalBackupSizeInMegaBytes(Double actualIncrementalBackupSizeInMegaBytes) { + this.actualIncrementalBackupSizeInMegaBytes = actualIncrementalBackupSizeInMegaBytes; + } + + /** + * The size of the incremental backup. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param actualIncrementalBackupSizeInMegaBytes The size of the incremental backup. + */ + public Snapshot withActualIncrementalBackupSizeInMegaBytes(Double actualIncrementalBackupSizeInMegaBytes) { + this.actualIncrementalBackupSizeInMegaBytes = actualIncrementalBackupSizeInMegaBytes; + return this; + } + + + /** + * The number of megabytes that have been transferred to the snapshot + * backup. + * + * @return The number of megabytes that have been transferred to the snapshot + * backup. + */ + public Double getBackupProgressInMegaBytes() { + return backupProgressInMegaBytes; + } + + /** + * The number of megabytes that have been transferred to the snapshot + * backup. + * + * @param backupProgressInMegaBytes The number of megabytes that have been transferred to the snapshot + * backup. + */ + public void setBackupProgressInMegaBytes(Double backupProgressInMegaBytes) { + this.backupProgressInMegaBytes = backupProgressInMegaBytes; + } + + /** + * The number of megabytes that have been transferred to the snapshot + * backup. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param backupProgressInMegaBytes The number of megabytes that have been transferred to the snapshot + * backup. + */ + public Snapshot withBackupProgressInMegaBytes(Double backupProgressInMegaBytes) { + this.backupProgressInMegaBytes = backupProgressInMegaBytes; + return this; + } + + + /** + * The number of megabytes per second being transferred to the snapshot + * backup. Returns 0 for a completed backup. + * + * @return The number of megabytes per second being transferred to the snapshot + * backup. Returns 0 for a completed backup. + */ + public Double getCurrentBackupRateInMegaBytesPerSecond() { + return currentBackupRateInMegaBytesPerSecond; + } + + /** + * The number of megabytes per second being transferred to the snapshot + * backup. Returns 0 for a completed backup. + * + * @param currentBackupRateInMegaBytesPerSecond The number of megabytes per second being transferred to the snapshot + * backup. Returns 0 for a completed backup. + */ + public void setCurrentBackupRateInMegaBytesPerSecond(Double currentBackupRateInMegaBytesPerSecond) { + this.currentBackupRateInMegaBytesPerSecond = currentBackupRateInMegaBytesPerSecond; + } + + /** + * The number of megabytes per second being transferred to the snapshot + * backup. Returns 0 for a completed backup. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param currentBackupRateInMegaBytesPerSecond The number of megabytes per second being transferred to the snapshot + * backup. Returns 0 for a completed backup. + */ + public Snapshot withCurrentBackupRateInMegaBytesPerSecond(Double currentBackupRateInMegaBytesPerSecond) { + this.currentBackupRateInMegaBytesPerSecond = currentBackupRateInMegaBytesPerSecond; + return this; + } + + + /** + * The estimate of the time remaining before the snapshot backup will + * complete. Returns 0 for a completed backup. + * + * @return The estimate of the time remaining before the snapshot backup will + * complete. Returns 0 for a completed backup. + */ + public Long getEstimatedSecondsToCompletion() { + return estimatedSecondsToCompletion; + } + + /** + * The estimate of the time remaining before the snapshot backup will + * complete. Returns 0 for a completed backup. + * + * @param estimatedSecondsToCompletion The estimate of the time remaining before the snapshot backup will + * complete. Returns 0 for a completed backup. + */ + public void setEstimatedSecondsToCompletion(Long estimatedSecondsToCompletion) { + this.estimatedSecondsToCompletion = estimatedSecondsToCompletion; + } + + /** + * The estimate of the time remaining before the snapshot backup will + * complete. Returns 0 for a completed backup. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param estimatedSecondsToCompletion The estimate of the time remaining before the snapshot backup will + * complete. Returns 0 for a completed backup. + */ + public Snapshot withEstimatedSecondsToCompletion(Long estimatedSecondsToCompletion) { + this.estimatedSecondsToCompletion = estimatedSecondsToCompletion; + return this; + } + + + /** + * The amount of time an in-progress snapshot backup has been running, or + * the amount of time it took a completed backup to finish. + * + * @return The amount of time an in-progress snapshot backup has been running, or + * the amount of time it took a completed backup to finish. + */ + public Long getElapsedTimeInSeconds() { + return elapsedTimeInSeconds; + } + + /** + * The amount of time an in-progress snapshot backup has been running, or + * the amount of time it took a completed backup to finish. + * + * @param elapsedTimeInSeconds The amount of time an in-progress snapshot backup has been running, or + * the amount of time it took a completed backup to finish. + */ + public void setElapsedTimeInSeconds(Long elapsedTimeInSeconds) { + this.elapsedTimeInSeconds = elapsedTimeInSeconds; + } + + /** + * The amount of time an in-progress snapshot backup has been running, or + * the amount of time it took a completed backup to finish. + *

    + * Returns a reference to this object so that method calls can be chained together. + * + * @param elapsedTimeInSeconds The amount of time an in-progress snapshot backup has been running, or + * the amount of time it took a completed backup to finish. + */ + public Snapshot withElapsedTimeInSeconds(Long elapsedTimeInSeconds) { + this.elapsedTimeInSeconds = elapsedTimeInSeconds; + return this; + } + + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -719,7 +1068,15 @@ public String toString() { if (getNumberOfNodes() != null) sb.append("NumberOfNodes: " + getNumberOfNodes() + ","); if (getDBName() != null) sb.append("DBName: " + getDBName() + ","); if (getVpcId() != null) sb.append("VpcId: " + getVpcId() + ","); - if (isEncrypted() != null) sb.append("Encrypted: " + isEncrypted() ); + if (isEncrypted() != null) sb.append("Encrypted: " + isEncrypted() + ","); + if (getAccountsWithRestoreAccess() != null) sb.append("AccountsWithRestoreAccess: " + getAccountsWithRestoreAccess() + ","); + if (getOwnerAccount() != null) sb.append("OwnerAccount: " + getOwnerAccount() + ","); + if (getTotalBackupSizeInMegaBytes() != null) sb.append("TotalBackupSizeInMegaBytes: " + getTotalBackupSizeInMegaBytes() + ","); + if (getActualIncrementalBackupSizeInMegaBytes() != null) sb.append("ActualIncrementalBackupSizeInMegaBytes: " + getActualIncrementalBackupSizeInMegaBytes() + ","); + if (getBackupProgressInMegaBytes() != null) sb.append("BackupProgressInMegaBytes: " + getBackupProgressInMegaBytes() + ","); + if (getCurrentBackupRateInMegaBytesPerSecond() != null) sb.append("CurrentBackupRateInMegaBytesPerSecond: " + getCurrentBackupRateInMegaBytesPerSecond() + ","); + if (getEstimatedSecondsToCompletion() != null) sb.append("EstimatedSecondsToCompletion: " + getEstimatedSecondsToCompletion() + ","); + if (getElapsedTimeInSeconds() != null) sb.append("ElapsedTimeInSeconds: " + getElapsedTimeInSeconds() ); sb.append("}"); return sb.toString(); } @@ -744,6 +1101,14 @@ public int hashCode() { hashCode = prime * hashCode + ((getDBName() == null) ? 0 : getDBName().hashCode()); hashCode = prime * hashCode + ((getVpcId() == null) ? 0 : getVpcId().hashCode()); hashCode = prime * hashCode + ((isEncrypted() == null) ? 0 : isEncrypted().hashCode()); + hashCode = prime * hashCode + ((getAccountsWithRestoreAccess() == null) ? 0 : getAccountsWithRestoreAccess().hashCode()); + hashCode = prime * hashCode + ((getOwnerAccount() == null) ? 0 : getOwnerAccount().hashCode()); + hashCode = prime * hashCode + ((getTotalBackupSizeInMegaBytes() == null) ? 0 : getTotalBackupSizeInMegaBytes().hashCode()); + hashCode = prime * hashCode + ((getActualIncrementalBackupSizeInMegaBytes() == null) ? 0 : getActualIncrementalBackupSizeInMegaBytes().hashCode()); + hashCode = prime * hashCode + ((getBackupProgressInMegaBytes() == null) ? 0 : getBackupProgressInMegaBytes().hashCode()); + hashCode = prime * hashCode + ((getCurrentBackupRateInMegaBytesPerSecond() == null) ? 0 : getCurrentBackupRateInMegaBytesPerSecond().hashCode()); + hashCode = prime * hashCode + ((getEstimatedSecondsToCompletion() == null) ? 0 : getEstimatedSecondsToCompletion().hashCode()); + hashCode = prime * hashCode + ((getElapsedTimeInSeconds() == null) ? 0 : getElapsedTimeInSeconds().hashCode()); return hashCode; } @@ -785,6 +1150,22 @@ public boolean equals(Object obj) { if (other.getVpcId() != null && other.getVpcId().equals(this.getVpcId()) == false) return false; if (other.isEncrypted() == null ^ this.isEncrypted() == null) return false; if (other.isEncrypted() != null && other.isEncrypted().equals(this.isEncrypted()) == false) return false; + if (other.getAccountsWithRestoreAccess() == null ^ this.getAccountsWithRestoreAccess() == null) return false; + if (other.getAccountsWithRestoreAccess() != null && other.getAccountsWithRestoreAccess().equals(this.getAccountsWithRestoreAccess()) == false) return false; + if (other.getOwnerAccount() == null ^ this.getOwnerAccount() == null) return false; + if (other.getOwnerAccount() != null && other.getOwnerAccount().equals(this.getOwnerAccount()) == false) return false; + if (other.getTotalBackupSizeInMegaBytes() == null ^ this.getTotalBackupSizeInMegaBytes() == null) return false; + if (other.getTotalBackupSizeInMegaBytes() != null && other.getTotalBackupSizeInMegaBytes().equals(this.getTotalBackupSizeInMegaBytes()) == false) return false; + if (other.getActualIncrementalBackupSizeInMegaBytes() == null ^ this.getActualIncrementalBackupSizeInMegaBytes() == null) return false; + if (other.getActualIncrementalBackupSizeInMegaBytes() != null && other.getActualIncrementalBackupSizeInMegaBytes().equals(this.getActualIncrementalBackupSizeInMegaBytes()) == false) return false; + if (other.getBackupProgressInMegaBytes() == null ^ this.getBackupProgressInMegaBytes() == null) return false; + if (other.getBackupProgressInMegaBytes() != null && other.getBackupProgressInMegaBytes().equals(this.getBackupProgressInMegaBytes()) == false) return false; + if (other.getCurrentBackupRateInMegaBytesPerSecond() == null ^ this.getCurrentBackupRateInMegaBytesPerSecond() == null) return false; + if (other.getCurrentBackupRateInMegaBytesPerSecond() != null && other.getCurrentBackupRateInMegaBytesPerSecond().equals(this.getCurrentBackupRateInMegaBytesPerSecond()) == false) return false; + if (other.getEstimatedSecondsToCompletion() == null ^ this.getEstimatedSecondsToCompletion() == null) return false; + if (other.getEstimatedSecondsToCompletion() != null && other.getEstimatedSecondsToCompletion().equals(this.getEstimatedSecondsToCompletion()) == false) return false; + if (other.getElapsedTimeInSeconds() == null ^ this.getElapsedTimeInSeconds() == null) return false; + if (other.getElapsedTimeInSeconds() != null && other.getElapsedTimeInSeconds().equals(this.getElapsedTimeInSeconds()) == false) return false; return true; } diff --git a/src/main/java/com/amazonaws/services/redshift/model/Subnet.java b/src/main/java/com/amazonaws/services/redshift/model/Subnet.java index 9d24a17481f0..7b9b181d0d4e 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/Subnet.java +++ b/src/main/java/com/amazonaws/services/redshift/model/Subnet.java @@ -61,9 +61,6 @@ public void setSubnetIdentifier(String subnetIdentifier) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetIdentifier The identifier of the subnet. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Subnet withSubnetIdentifier(String subnetIdentifier) { this.subnetIdentifier = subnetIdentifier; @@ -95,9 +92,6 @@ public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetAvailabilityZone Describes an availability zone. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone) { this.subnetAvailabilityZone = subnetAvailabilityZone; @@ -129,9 +123,6 @@ public void setSubnetStatus(String subnetStatus) { * Returns a reference to this object so that method calls can be chained together. * * @param subnetStatus The status of the subnet. - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public Subnet withSubnetStatus(String subnetStatus) { this.subnetStatus = subnetStatus; diff --git a/src/main/java/com/amazonaws/services/redshift/model/UnauthorizedOperationException.java b/src/main/java/com/amazonaws/services/redshift/model/UnauthorizedOperationException.java new file mode 100644 index 000000000000..61a505a10c75 --- /dev/null +++ b/src/main/java/com/amazonaws/services/redshift/model/UnauthorizedOperationException.java @@ -0,0 +1,38 @@ +/* + * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ +package com.amazonaws.services.redshift.model; + +import com.amazonaws.AmazonServiceException; + +/** + *

    + * Your account is not authorized to perform the requested operation. + *

    + */ +public class UnauthorizedOperationException extends AmazonServiceException { + private static final long serialVersionUID = 1L; + + /** + * Constructs a new UnauthorizedOperationException with the specified error + * message. + * + * @param message Describes the error encountered. + */ + public UnauthorizedOperationException(String message) { + super(message); + } + +} + \ No newline at end of file diff --git a/src/main/java/com/amazonaws/services/redshift/model/VpcSecurityGroupMembership.java b/src/main/java/com/amazonaws/services/redshift/model/VpcSecurityGroupMembership.java index 9657fbf982a9..12b851ba3484 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/VpcSecurityGroupMembership.java +++ b/src/main/java/com/amazonaws/services/redshift/model/VpcSecurityGroupMembership.java @@ -56,9 +56,6 @@ public void setVpcSecurityGroupId(String vpcSecurityGroupId) { * Returns a reference to this object so that method calls can be chained together. * * @param vpcSecurityGroupId - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpcSecurityGroupMembership withVpcSecurityGroupId(String vpcSecurityGroupId) { this.vpcSecurityGroupId = vpcSecurityGroupId; @@ -90,9 +87,6 @@ public void setStatus(String status) { * Returns a reference to this object so that method calls can be chained together. * * @param status - * - * @return A reference to this updated object so that method calls can be chained - * together. */ public VpcSecurityGroupMembership withStatus(String status) { this.status = status; diff --git a/src/main/java/com/amazonaws/services/redshift/model/transform/AccessToSnapshotDeniedExceptionUnmarshaller.java b/src/main/java/com/amazonaws/services/redshift/model/transform/AccessToSnapshotDeniedExceptionUnmarshaller.java new file mode 100644 index 000000000000..a4f81eafeaf1 --- /dev/null +++ b/src/main/java/com/amazonaws/services/redshift/model/transform/AccessToSnapshotDeniedExceptionUnmarshaller.java @@ -0,0 +1,43 @@ +/* + * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ +package com.amazonaws.services.redshift.model.transform; + +import org.w3c.dom.Node; + +import com.amazonaws.AmazonServiceException; +import com.amazonaws.util.XpathUtils; +import com.amazonaws.transform.StandardErrorUnmarshaller; + +import com.amazonaws.services.redshift.model.AccessToSnapshotDeniedException; + +public class AccessToSnapshotDeniedExceptionUnmarshaller extends StandardErrorUnmarshaller { + + public AccessToSnapshotDeniedExceptionUnmarshaller() { + super(AccessToSnapshotDeniedException.class); + } + + public AmazonServiceException unmarshall(Node node) throws Exception { + // Bail out if this isn't the right error code that this + // marshaller understands. + String errorCode = parseErrorCode(node); + if (errorCode == null || !errorCode.equals("AccessToSnapshotDenied")) + return null; + + AccessToSnapshotDeniedException e = (AccessToSnapshotDeniedException)super.unmarshall(node); + + return e; + } +} + \ No newline at end of file diff --git a/src/main/java/com/amazonaws/services/redshift/model/transform/AccountWithRestoreAccessStaxUnmarshaller.java b/src/main/java/com/amazonaws/services/redshift/model/transform/AccountWithRestoreAccessStaxUnmarshaller.java new file mode 100644 index 000000000000..418cd5651fe9 --- /dev/null +++ b/src/main/java/com/amazonaws/services/redshift/model/transform/AccountWithRestoreAccessStaxUnmarshaller.java @@ -0,0 +1,67 @@ +/* + * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.redshift.model.transform; + +import java.util.Map; +import java.util.Map.Entry; + +import javax.xml.stream.events.XMLEvent; + +import com.amazonaws.services.redshift.model.*; +import com.amazonaws.transform.Unmarshaller; +import com.amazonaws.transform.MapEntry; +import com.amazonaws.transform.StaxUnmarshallerContext; +import com.amazonaws.transform.SimpleTypeStaxUnmarshallers.*; + + +/** + * Account With Restore Access StAX Unmarshaller + */ +public class AccountWithRestoreAccessStaxUnmarshaller implements Unmarshaller { + + public AccountWithRestoreAccess unmarshall(StaxUnmarshallerContext context) throws Exception { + AccountWithRestoreAccess accountWithRestoreAccess = new AccountWithRestoreAccess(); + int originalDepth = context.getCurrentDepth(); + int targetDepth = originalDepth + 1; + + + if (context.isStartOfDocument()) targetDepth += 2; + + + while (true) { + XMLEvent xmlEvent = context.nextEvent(); + if (xmlEvent.isEndDocument()) return accountWithRestoreAccess; + + if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { + if (context.testExpression("AccountId", targetDepth)) { + accountWithRestoreAccess.setAccountId(StringStaxUnmarshaller.getInstance().unmarshall(context)); + continue; + } + } else if (xmlEvent.isEndElement()) { + if (context.getCurrentDepth() < originalDepth) { + return accountWithRestoreAccess; + } + } + } + } + + private static AccountWithRestoreAccessStaxUnmarshaller instance; + public static AccountWithRestoreAccessStaxUnmarshaller getInstance() { + if (instance == null) instance = new AccountWithRestoreAccessStaxUnmarshaller(); + return instance; + } +} + \ No newline at end of file diff --git a/src/main/java/com/amazonaws/services/redshift/model/transform/AuthorizeSnapshotAccessRequestMarshaller.java b/src/main/java/com/amazonaws/services/redshift/model/transform/AuthorizeSnapshotAccessRequestMarshaller.java new file mode 100644 index 000000000000..299ce4aaed85 --- /dev/null +++ b/src/main/java/com/amazonaws/services/redshift/model/transform/AuthorizeSnapshotAccessRequestMarshaller.java @@ -0,0 +1,53 @@ +/* + * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ +package com.amazonaws.services.redshift.model.transform; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.amazonaws.AmazonClientException; +import com.amazonaws.Request; +import com.amazonaws.DefaultRequest; +import com.amazonaws.services.redshift.model.*; +import com.amazonaws.transform.Marshaller; +import com.amazonaws.util.StringUtils; + +/** + * Authorize Snapshot Access Request Marshaller + */ +public class AuthorizeSnapshotAccessRequestMarshaller implements Marshaller, AuthorizeSnapshotAccessRequest> { + + public Request marshall(AuthorizeSnapshotAccessRequest authorizeSnapshotAccessRequest) { + + if (authorizeSnapshotAccessRequest == null) { + throw new AmazonClientException("Invalid argument passed to marshall(...)"); + } + + Request request = new DefaultRequest(authorizeSnapshotAccessRequest, "AmazonRedshift"); + request.addParameter("Action", "AuthorizeSnapshotAccess"); + request.addParameter("Version", "2012-12-01"); + + if (authorizeSnapshotAccessRequest.getSnapshotIdentifier() != null) { + request.addParameter("SnapshotIdentifier", StringUtils.fromString(authorizeSnapshotAccessRequest.getSnapshotIdentifier())); + } + if (authorizeSnapshotAccessRequest.getAccountWithRestoreAccess() != null) { + request.addParameter("AccountWithRestoreAccess", StringUtils.fromString(authorizeSnapshotAccessRequest.getAccountWithRestoreAccess())); + } + + + return request; + } +} diff --git a/src/main/java/com/amazonaws/services/redshift/model/transform/DescribeClusterSnapshotsRequestMarshaller.java b/src/main/java/com/amazonaws/services/redshift/model/transform/DescribeClusterSnapshotsRequestMarshaller.java index f2720f68eb79..508665688580 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/transform/DescribeClusterSnapshotsRequestMarshaller.java +++ b/src/main/java/com/amazonaws/services/redshift/model/transform/DescribeClusterSnapshotsRequestMarshaller.java @@ -61,6 +61,9 @@ public Request marshall(DescribeClusterSnapshot if (describeClusterSnapshotsRequest.getMarker() != null) { request.addParameter("Marker", StringUtils.fromString(describeClusterSnapshotsRequest.getMarker())); } + if (describeClusterSnapshotsRequest.getOwnerAccount() != null) { + request.addParameter("OwnerAccount", StringUtils.fromString(describeClusterSnapshotsRequest.getOwnerAccount())); + } return request; diff --git a/src/main/java/com/amazonaws/services/redshift/model/transform/RestoreFromClusterSnapshotRequestMarshaller.java b/src/main/java/com/amazonaws/services/redshift/model/transform/RestoreFromClusterSnapshotRequestMarshaller.java index 6e0a63dd3a8f..db60b79661fe 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/transform/RestoreFromClusterSnapshotRequestMarshaller.java +++ b/src/main/java/com/amazonaws/services/redshift/model/transform/RestoreFromClusterSnapshotRequestMarshaller.java @@ -61,6 +61,9 @@ public Request marshall(RestoreFromClusterSna if (restoreFromClusterSnapshotRequest.isPubliclyAccessible() != null) { request.addParameter("PubliclyAccessible", StringUtils.fromBoolean(restoreFromClusterSnapshotRequest.isPubliclyAccessible())); } + if (restoreFromClusterSnapshotRequest.getOwnerAccount() != null) { + request.addParameter("OwnerAccount", StringUtils.fromString(restoreFromClusterSnapshotRequest.getOwnerAccount())); + } return request; diff --git a/src/main/java/com/amazonaws/services/redshift/model/transform/RevokeSnapshotAccessRequestMarshaller.java b/src/main/java/com/amazonaws/services/redshift/model/transform/RevokeSnapshotAccessRequestMarshaller.java new file mode 100644 index 000000000000..dfab5de514d1 --- /dev/null +++ b/src/main/java/com/amazonaws/services/redshift/model/transform/RevokeSnapshotAccessRequestMarshaller.java @@ -0,0 +1,53 @@ +/* + * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ +package com.amazonaws.services.redshift.model.transform; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.amazonaws.AmazonClientException; +import com.amazonaws.Request; +import com.amazonaws.DefaultRequest; +import com.amazonaws.services.redshift.model.*; +import com.amazonaws.transform.Marshaller; +import com.amazonaws.util.StringUtils; + +/** + * Revoke Snapshot Access Request Marshaller + */ +public class RevokeSnapshotAccessRequestMarshaller implements Marshaller, RevokeSnapshotAccessRequest> { + + public Request marshall(RevokeSnapshotAccessRequest revokeSnapshotAccessRequest) { + + if (revokeSnapshotAccessRequest == null) { + throw new AmazonClientException("Invalid argument passed to marshall(...)"); + } + + Request request = new DefaultRequest(revokeSnapshotAccessRequest, "AmazonRedshift"); + request.addParameter("Action", "RevokeSnapshotAccess"); + request.addParameter("Version", "2012-12-01"); + + if (revokeSnapshotAccessRequest.getSnapshotIdentifier() != null) { + request.addParameter("SnapshotIdentifier", StringUtils.fromString(revokeSnapshotAccessRequest.getSnapshotIdentifier())); + } + if (revokeSnapshotAccessRequest.getAccountWithRestoreAccess() != null) { + request.addParameter("AccountWithRestoreAccess", StringUtils.fromString(revokeSnapshotAccessRequest.getAccountWithRestoreAccess())); + } + + + return request; + } +} diff --git a/src/main/java/com/amazonaws/services/redshift/model/transform/SnapshotStaxUnmarshaller.java b/src/main/java/com/amazonaws/services/redshift/model/transform/SnapshotStaxUnmarshaller.java index 22ba5cb9328f..02da6def9712 100644 --- a/src/main/java/com/amazonaws/services/redshift/model/transform/SnapshotStaxUnmarshaller.java +++ b/src/main/java/com/amazonaws/services/redshift/model/transform/SnapshotStaxUnmarshaller.java @@ -109,6 +109,38 @@ public Snapshot unmarshall(StaxUnmarshallerContext context) throws Exception { snapshot.setEncrypted(BooleanStaxUnmarshaller.getInstance().unmarshall(context)); continue; } + if (context.testExpression("AccountsWithRestoreAccess/AccountWithRestoreAccess", targetDepth)) { + snapshot.getAccountsWithRestoreAccess().add(AccountWithRestoreAccessStaxUnmarshaller.getInstance().unmarshall(context)); + continue; + } + if (context.testExpression("OwnerAccount", targetDepth)) { + snapshot.setOwnerAccount(StringStaxUnmarshaller.getInstance().unmarshall(context)); + continue; + } + if (context.testExpression("TotalBackupSizeInMegaBytes", targetDepth)) { + snapshot.setTotalBackupSizeInMegaBytes(DoubleStaxUnmarshaller.getInstance().unmarshall(context)); + continue; + } + if (context.testExpression("ActualIncrementalBackupSizeInMegaBytes", targetDepth)) { + snapshot.setActualIncrementalBackupSizeInMegaBytes(DoubleStaxUnmarshaller.getInstance().unmarshall(context)); + continue; + } + if (context.testExpression("BackupProgressInMegaBytes", targetDepth)) { + snapshot.setBackupProgressInMegaBytes(DoubleStaxUnmarshaller.getInstance().unmarshall(context)); + continue; + } + if (context.testExpression("CurrentBackupRateInMegaBytesPerSecond", targetDepth)) { + snapshot.setCurrentBackupRateInMegaBytesPerSecond(DoubleStaxUnmarshaller.getInstance().unmarshall(context)); + continue; + } + if (context.testExpression("EstimatedSecondsToCompletion", targetDepth)) { + snapshot.setEstimatedSecondsToCompletion(LongStaxUnmarshaller.getInstance().unmarshall(context)); + continue; + } + if (context.testExpression("ElapsedTimeInSeconds", targetDepth)) { + snapshot.setElapsedTimeInSeconds(LongStaxUnmarshaller.getInstance().unmarshall(context)); + continue; + } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return snapshot; diff --git a/src/main/java/com/amazonaws/services/redshift/model/transform/UnauthorizedOperationExceptionUnmarshaller.java b/src/main/java/com/amazonaws/services/redshift/model/transform/UnauthorizedOperationExceptionUnmarshaller.java new file mode 100644 index 000000000000..afe759d6b508 --- /dev/null +++ b/src/main/java/com/amazonaws/services/redshift/model/transform/UnauthorizedOperationExceptionUnmarshaller.java @@ -0,0 +1,43 @@ +/* + * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ +package com.amazonaws.services.redshift.model.transform; + +import org.w3c.dom.Node; + +import com.amazonaws.AmazonServiceException; +import com.amazonaws.util.XpathUtils; +import com.amazonaws.transform.StandardErrorUnmarshaller; + +import com.amazonaws.services.redshift.model.UnauthorizedOperationException; + +public class UnauthorizedOperationExceptionUnmarshaller extends StandardErrorUnmarshaller { + + public UnauthorizedOperationExceptionUnmarshaller() { + super(UnauthorizedOperationException.class); + } + + public AmazonServiceException unmarshall(Node node) throws Exception { + // Bail out if this isn't the right error code that this + // marshaller understands. + String errorCode = parseErrorCode(node); + if (errorCode == null || !errorCode.equals("UnauthorizedOperation")) + return null; + + UnauthorizedOperationException e = (UnauthorizedOperationException)super.unmarshall(node); + + return e; + } +} + \ No newline at end of file diff --git a/src/main/java/com/amazonaws/services/redshift/package-info.java b/src/main/java/com/amazonaws/services/redshift/package-info.java index f116c02c863b..73394c12f6f3 100644 --- a/src/main/java/com/amazonaws/services/redshift/package-info.java +++ b/src/main/java/com/amazonaws/services/redshift/package-info.java @@ -61,8 +61,8 @@ * *
  • * Amazon Redshift Database Database Developer - If you are a database developer, the Amazon Redshift Database Developer Guide explains how to design, build, query, and - * maintain the databases that make up your data warehouse. + * href="http://docs.aws.amazon.com/redshift/latest/dg/"> Database Developer Guide explains how to design, build, query, and maintain the databases + * that make up your data warehouse. *

    *
  • * diff --git a/src/main/java/com/amazonaws/services/s3/internal/ProgressReportingInputStream.java b/src/main/java/com/amazonaws/services/s3/internal/ProgressReportingInputStream.java index cf1999512aa9..fc7d73ac4f5e 100644 --- a/src/main/java/com/amazonaws/services/s3/internal/ProgressReportingInputStream.java +++ b/src/main/java/com/amazonaws/services/s3/internal/ProgressReportingInputStream.java @@ -23,7 +23,7 @@ /** * Simple InputStream wrapper that occasionally notifies a progress listener - * about the number of bytes transfered. + * about the number of bytes transferred. */ public class ProgressReportingInputStream extends FilterInputStream { @@ -43,7 +43,7 @@ public class ProgressReportingInputStream extends FilterInputStream { /** * Creates a new progress reporting input stream that simply wraps the * specified input stream and notifies the specified listener occasionally - * about the number of bytes transfered. + * about the number of bytes transferred. * * @param in * The input stream to wrap. diff --git a/src/main/java/com/amazonaws/services/s3/internal/crypto/EncryptionUtils.java b/src/main/java/com/amazonaws/services/s3/internal/crypto/EncryptionUtils.java index fb5272dff0b5..707359160d2e 100644 --- a/src/main/java/com/amazonaws/services/s3/internal/crypto/EncryptionUtils.java +++ b/src/main/java/com/amazonaws/services/s3/internal/crypto/EncryptionUtils.java @@ -311,7 +311,10 @@ public static PutObjectRequest encryptRequestUsingInstruction(PutObjectRequest r if (metadata.getContentMD5() != null) { metadata.addUserMetadata(Headers.UNENCRYPTED_CONTENT_MD5, metadata.getContentMD5()); } - + + // Removes the original content MD5 if present from the meta data. + metadata.setContentMD5(null); + // Record the original, unencrypted content-length so it can be accessed later long originalContentLength = getUnencryptedContentLength(request, metadata); if (originalContentLength >= 0) metadata.addUserMetadata( diff --git a/src/main/java/com/amazonaws/services/s3/model/ObjectMetadata.java b/src/main/java/com/amazonaws/services/s3/model/ObjectMetadata.java index 4735e5930ff2..513af9844d6f 100644 --- a/src/main/java/com/amazonaws/services/s3/model/ObjectMetadata.java +++ b/src/main/java/com/amazonaws/services/s3/model/ObjectMetadata.java @@ -444,32 +444,38 @@ public void setCacheControl(String cacheControl) { metadata.put(Headers.CACHE_CONTROL, cacheControl); } - /** - *

    - * Sets the base64 encoded 128-bit MD5 digest of the associated object - * (content - not including headers) according to RFC 1864. This data is - * used as a message integrity check to verify that the data received by - * Amazon S3 is the same data that the caller sent. - *

    - *

    - * This field represents the base64 encoded 128-bit MD5 digest digest of an - * object's content as calculated on the caller's side. The ETag metadata - * field represents the hex encoded 128-bit MD5 digest as computed by Amazon - * S3. - *

    - *

    - * The AWS S3 Java client will attempt to calculate this field automatically - * when uploading files to Amazon S3. - *

    - * - * @param md5Base64 - * The base64 encoded MD5 hash of the content for the object - * associated with this metadata. - * - * @see ObjectMetadata#getContentMD5() - */ + /** + *

    + * Sets the base64 encoded 128-bit MD5 digest of the associated object + * (content - not including headers) according to RFC 1864. This data is + * used as a message integrity check to verify that the data received by + * Amazon S3 is the same data that the caller sent. If set to null,then the + * MD5 digest is removed from the metadata. + *

    + *

    + * This field represents the base64 encoded 128-bit MD5 digest digest of an + * object's content as calculated on the caller's side. The ETag metadata + * field represents the hex encoded 128-bit MD5 digest as computed by Amazon + * S3. + *

    + *

    + * The AWS S3 Java client will attempt to calculate this field automatically + * when uploading files to Amazon S3. + *

    + * + * @param md5Base64 + * The base64 encoded MD5 hash of the content for the object + * associated with this metadata. + * + * @see ObjectMetadata#getContentMD5() + */ public void setContentMD5(String md5Base64) { - metadata.put(Headers.CONTENT_MD5, md5Base64); + if(md5Base64 == null){ + metadata.remove(Headers.CONTENT_MD5); + }else{ + metadata.put(Headers.CONTENT_MD5, md5Base64); + } + } /** diff --git a/src/main/java/com/amazonaws/services/s3/model/ProgressEvent.java b/src/main/java/com/amazonaws/services/s3/model/ProgressEvent.java index 4b37f82e1d23..f45b40f548eb 100644 --- a/src/main/java/com/amazonaws/services/s3/model/ProgressEvent.java +++ b/src/main/java/com/amazonaws/services/s3/model/ProgressEvent.java @@ -16,7 +16,7 @@ /** * Notification of a progress change on an Amazon S3 transfer. Typically this - * means notice that another chunk of bytes was transfered, but it also signals + * means notice that another chunk of bytes was transferred, but it also signals * other types of progress events such as a transfer starting, or failing. */ public class ProgressEvent { @@ -32,8 +32,8 @@ public class ProgressEvent { public static final int PART_FAILED_EVENT_CODE = 4096; - /** The number of bytes transfered since the last progress event. */ - private int bytesTransfered; + /** The number of bytes transferred since the last progress event. */ + private int bytesTransferred; /** * The unique event code that identifies what type of specific type of event @@ -42,27 +42,43 @@ public class ProgressEvent { private int eventCode; - public ProgressEvent(int bytesTransfered) { - this.bytesTransfered = bytesTransfered; + public ProgressEvent(int bytesTransferred) { + this.bytesTransferred = bytesTransferred; } /** - * Sets the number of bytes transfered since the last progress event. - * - * @param bytesTransfered - * The number of bytes transfered since the last progress event. + * @deprecated Replaced by {@link #setBytesTransferred()} */ - public void setBytesTransfered(int bytesTransfered) { - this.bytesTransfered = bytesTransfered; + @Deprecated + public void setBytesTransfered(int bytesTransferred) { + setBytesTransferred(bytesTransferred); } /** - * Returns the number of bytes transfered since the last progress event. + * Sets the number of bytes transferred since the last progress event. * - * @return The number of bytes transfered since the last progress event. + * @param bytesTransferred + * The number of bytes transferred since the last progress event. + */ + public void setBytesTransferred(int bytesTransferred) { + this.bytesTransferred = bytesTransferred; + } + + /** + * @deprecated Replaced by {@link #getBytesTransferred()} */ + @Deprecated public int getBytesTransfered() { - return bytesTransfered; + return getBytesTransferred(); + } + + /** + * Returns the number of bytes transferred since the last progress event. + * + * @return The number of bytes transferred since the last progress event. + */ + public int getBytesTransferred() { + return bytesTransferred; } /** diff --git a/src/main/java/com/amazonaws/services/s3/model/ProgressListener.java b/src/main/java/com/amazonaws/services/s3/model/ProgressListener.java index c17b866f3c58..8e46b93d985e 100644 --- a/src/main/java/com/amazonaws/services/s3/model/ProgressListener.java +++ b/src/main/java/com/amazonaws/services/s3/model/ProgressListener.java @@ -24,7 +24,7 @@ public interface ProgressListener { /** - * Called when progress has changed, such as additional bytes transfered, + * Called when progress has changed, such as additional bytes transferred, * transfer failed, etc. * * @param progressEvent diff --git a/src/main/java/com/amazonaws/services/s3/model/Region.java b/src/main/java/com/amazonaws/services/s3/model/Region.java index 647d56e054d6..5b61bb80152a 100644 --- a/src/main/java/com/amazonaws/services/s3/model/Region.java +++ b/src/main/java/com/amazonaws/services/s3/model/Region.java @@ -23,7 +23,7 @@ *

    *

    * Objects stored in a Amazon S3 Region never leave that region unless explicitly - * transfered to another region. + * transferred to another region. *

    */ public enum Region { diff --git a/src/main/java/com/amazonaws/services/s3/transfer/TransferManager.java b/src/main/java/com/amazonaws/services/s3/transfer/TransferManager.java index 4c07860501b4..730e4a7b9c29 100644 --- a/src/main/java/com/amazonaws/services/s3/transfer/TransferManager.java +++ b/src/main/java/com/amazonaws/services/s3/transfer/TransferManager.java @@ -96,7 +96,7 @@ * if (myUpload.isDone() == false) { * System.out.println("Transfer: " + myUpload.getDescription()); * System.out.println(" - State: " + myUpload.getState()); - * System.out.println(" - Progress: " + myUpload.getProgress().getBytesTransfered()); + * System.out.println(" - Progress: " + myUpload.getProgress().getBytesTransferred()); * } * * // Transfers also allow you to set a ProgressListener to receive @@ -964,4 +964,4 @@ public X appendUserAgent(X request, String u private static final String USER_AGENT = TransferManager.class.getName() + "/" + VersionInfoUtils.getVersion(); private static final String DEFAULT_DELIMITER = "/"; -} \ No newline at end of file +} diff --git a/src/main/java/com/amazonaws/services/s3/transfer/TransferProgress.java b/src/main/java/com/amazonaws/services/s3/transfer/TransferProgress.java index cf352b63df13..eaeb9735fa1b 100644 --- a/src/main/java/com/amazonaws/services/s3/transfer/TransferProgress.java +++ b/src/main/java/com/amazonaws/services/s3/transfer/TransferProgress.java @@ -18,16 +18,23 @@ * Describes the progress of a transfer. */ public abstract class TransferProgress { - protected volatile long bytesTransfered = 0; + protected volatile long bytesTransferred = 0; protected volatile long totalBytesToTransfer = -1; + /** + * @deprecated Replaced by {@link #getBytesTransferred()} + */ + public long getBytesTransfered() { + return getBytesTransferred(); + } + /** * Returns the number of bytes completed in the associated transfer. * * @return The number of bytes completed in the associated transfer. */ - public long getBytesTransfered() { - return bytesTransfered; + public long getBytesTransferred() { + return bytesTransferred; } /** @@ -43,15 +50,23 @@ public long getTotalBytesToTransfer() { } /** - * Returns a percentage of the number of bytes transfered out of the total + * @deprecated Replaced by {@link #getPercentTransferred()} + */ + @Deprecated + public synchronized double getPercentTransfered() { + return getPercentTransferred(); + } + + /** + * Returns a percentage of the number of bytes transferred out of the total * number of bytes to transfer. * - * @return A percentage of the number of bytes transfered out of the total + * @return A percentage of the number of bytes transferred out of the total * number of bytes to transfer. */ - public synchronized double getPercentTransfered() { - if (getBytesTransfered() < 0) return 0; + public synchronized double getPercentTransferred() { + if (getBytesTransferred() < 0) return 0; - return ((double)getBytesTransfered() / (double)getTotalBytesToTransfer()) * (double)100; + return ((double)getBytesTransferred() / (double)getTotalBytesToTransfer()) * (double)100; } } diff --git a/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferProgressImpl.java b/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferProgressImpl.java index b46f6361fcd2..0ea18399da9d 100644 --- a/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferProgressImpl.java +++ b/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferProgressImpl.java @@ -19,11 +19,19 @@ public class TransferProgressImpl extends TransferProgress { public synchronized void updateProgress(long bytes) { - this.bytesTransfered += bytes; + this.bytesTransferred += bytes; } - public void setBytesTransfered(long bytesTransfered) { - this.bytesTransfered = bytesTransfered; + /** + * @deprecated Replaced by {@link #setBytesTransferred()} + */ + @Deprecated + public void setBytesTransfered(long bytesTransferred) { + setBytesTransferred(bytesTransferred); + } + + public void setBytesTransferred(long bytesTransferred) { + this.bytesTransferred = bytesTransferred; } public void setTotalBytesToTransfer(long totalBytesToTransfer) { diff --git a/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferProgressUpdatingListener.java b/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferProgressUpdatingListener.java index 8fa7b2257999..f0deff1fec92 100644 --- a/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferProgressUpdatingListener.java +++ b/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferProgressUpdatingListener.java @@ -25,6 +25,6 @@ public TransferProgressUpdatingListener(TransferProgressImpl transferProgress) { } public void progressChanged(ProgressEvent progressEvent) { - transferProgress.updateProgress(progressEvent.getBytesTransfered()); + transferProgress.updateProgress(progressEvent.getBytesTransferred()); } } diff --git a/src/main/java/com/amazonaws/services/s3/transfer/package-info.java b/src/main/java/com/amazonaws/services/s3/transfer/package-info.java index b5b9a83d198b..11155d5e4d83 100644 --- a/src/main/java/com/amazonaws/services/s3/transfer/package-info.java +++ b/src/main/java/com/amazonaws/services/s3/transfer/package-info.java @@ -41,7 +41,7 @@ * if (myUpload.isDone() == false) { * System.out.println("Transfer: " + myUpload.getDescription()); * System.out.println(" - State: " + myUpload.getState()); - * System.out.println(" - Progress: " + myUpload.getProgress().getBytesTransfered()); + * System.out.println(" - Progress: " + myUpload.getProgress().getBytesTransferred()); * } * * // Transfers also allow you to set a ProgressListener to receive diff --git a/src/main/resources/com/amazonaws/sdk/versionInfo.properties b/src/main/resources/com/amazonaws/sdk/versionInfo.properties index 54e686274fe3..c7f3094221d1 100644 --- a/src/main/resources/com/amazonaws/sdk/versionInfo.properties +++ b/src/main/resources/com/amazonaws/sdk/versionInfo.properties @@ -1,2 +1,2 @@ -version = 1.5.0 +version = 1.5.1 platform = java