Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class ModifyOptionGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.rds.model.ModifyOptionGroupRequest

public class ModifyOptionGroupRequest
extends AmazonWebServiceRequest

Container for the parameters to the ModifyOptionGroup operation.

Modifies an existing Option Group.

See Also:
AmazonRDS.modifyOptionGroup(ModifyOptionGroupRequest)

Constructor Summary
ModifyOptionGroupRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Boolean getApplyImmediately()
          Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.
 java.lang.String getOptionGroupName()
          The name of the option group to be modified.
 java.util.List<OptionConfiguration> getOptionsToInclude()
          Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration.
 java.util.List<java.lang.String> getOptionsToRemove()
          Options in this list are removed from the Option Group.
 int hashCode()
           
 java.lang.Boolean isApplyImmediately()
          Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.
 void setApplyImmediately(java.lang.Boolean applyImmediately)
          Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.
 void setOptionGroupName(java.lang.String optionGroupName)
          The name of the option group to be modified.
 void setOptionsToInclude(java.util.Collection<OptionConfiguration> optionsToInclude)
          Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration.
 void setOptionsToRemove(java.util.Collection<java.lang.String> optionsToRemove)
          Options in this list are removed from the Option Group.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ModifyOptionGroupRequest withApplyImmediately(java.lang.Boolean applyImmediately)
          Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.
 ModifyOptionGroupRequest withOptionGroupName(java.lang.String optionGroupName)
          The name of the option group to be modified.
 ModifyOptionGroupRequest withOptionsToInclude(java.util.Collection<OptionConfiguration> optionsToInclude)
          Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration.
 ModifyOptionGroupRequest withOptionsToInclude(OptionConfiguration... optionsToInclude)
          Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration.
 ModifyOptionGroupRequest withOptionsToRemove(java.util.Collection<java.lang.String> optionsToRemove)
          Options in this list are removed from the Option Group.
 ModifyOptionGroupRequest withOptionsToRemove(java.lang.String... optionsToRemove)
          Options in this list are removed from the Option Group.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModifyOptionGroupRequest

public ModifyOptionGroupRequest()
Method Detail

getOptionGroupName

public java.lang.String getOptionGroupName()
The name of the option group to be modified.

Returns:
The name of the option group to be modified.

setOptionGroupName

public void setOptionGroupName(java.lang.String optionGroupName)
The name of the option group to be modified.

Parameters:
optionGroupName - The name of the option group to be modified.

withOptionGroupName

public ModifyOptionGroupRequest withOptionGroupName(java.lang.String optionGroupName)
The name of the option group to be modified.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionGroupName - The name of the option group to be modified.
Returns:
A reference to this updated object so that method calls can be chained together.

getOptionsToInclude

public java.util.List<OptionConfiguration> getOptionsToInclude()
Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration.

Returns:
Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration.

setOptionsToInclude

public void setOptionsToInclude(java.util.Collection<OptionConfiguration> optionsToInclude)
Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration.

Parameters:
optionsToInclude - Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration.

withOptionsToInclude

public ModifyOptionGroupRequest withOptionsToInclude(OptionConfiguration... optionsToInclude)
Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionsToInclude - Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration.
Returns:
A reference to this updated object so that method calls can be chained together.

withOptionsToInclude

public ModifyOptionGroupRequest withOptionsToInclude(java.util.Collection<OptionConfiguration> optionsToInclude)
Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionsToInclude - Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration.
Returns:
A reference to this updated object so that method calls can be chained together.

getOptionsToRemove

public java.util.List<java.lang.String> getOptionsToRemove()
Options in this list are removed from the Option Group.

Returns:
Options in this list are removed from the Option Group.

setOptionsToRemove

public void setOptionsToRemove(java.util.Collection<java.lang.String> optionsToRemove)
Options in this list are removed from the Option Group.

Parameters:
optionsToRemove - Options in this list are removed from the Option Group.

withOptionsToRemove

public ModifyOptionGroupRequest withOptionsToRemove(java.lang.String... optionsToRemove)
Options in this list are removed from the Option Group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionsToRemove - Options in this list are removed from the Option Group.
Returns:
A reference to this updated object so that method calls can be chained together.

withOptionsToRemove

public ModifyOptionGroupRequest withOptionsToRemove(java.util.Collection<java.lang.String> optionsToRemove)
Options in this list are removed from the Option Group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionsToRemove - Options in this list are removed from the Option Group.
Returns:
A reference to this updated object so that method calls can be chained together.

isApplyImmediately

public java.lang.Boolean isApplyImmediately()
Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.

Returns:
Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.

setApplyImmediately

public void setApplyImmediately(java.lang.Boolean applyImmediately)
Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.

Parameters:
applyImmediately - Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.

withApplyImmediately

public ModifyOptionGroupRequest withApplyImmediately(java.lang.Boolean applyImmediately)
Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
applyImmediately - Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.
Returns:
A reference to this updated object so that method calls can be chained together.

getApplyImmediately

public java.lang.Boolean getApplyImmediately()
Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.

Returns:
Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.