|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudsearchv2.model.UpdateScalingParametersRequest
public class UpdateScalingParametersRequest
Container for the parameters to the UpdateScalingParameters operation
.
Configures scaling parameters for a domain. A domain's scaling parameters specify the desired search instance type and replication count. Amazon CloudSearch will still automatically scale your domain based on the volume of data and traffic, but not below the desired instance type and replication count. If the Multi-AZ option is enabled, these values control the resources used per Availability Zone. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide .
AmazonCloudSearch.updateScalingParameters(UpdateScalingParametersRequest)
,
Serialized FormConstructor Summary | |
---|---|
UpdateScalingParametersRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDomainName()
A string that represents the name of a domain. |
ScalingParameters |
getScalingParameters()
The desired instance type and desired number of replicas of each index partition. |
int |
hashCode()
|
void |
setDomainName(String domainName)
A string that represents the name of a domain. |
void |
setScalingParameters(ScalingParameters scalingParameters)
The desired instance type and desired number of replicas of each index partition. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UpdateScalingParametersRequest |
withDomainName(String domainName)
A string that represents the name of a domain. |
UpdateScalingParametersRequest |
withScalingParameters(ScalingParameters scalingParameters)
The desired instance type and desired number of replicas of each index partition. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UpdateScalingParametersRequest()
Method Detail |
---|
public String getDomainName()
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
public void setDomainName(String domainName)
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
domainName
- A string that represents the name of a domain. Domain names are unique
across the domains owned by an account within an AWS region. Domain
names start with a letter or number and can contain the following
characters: a-z (lowercase), 0-9, and - (hyphen).public UpdateScalingParametersRequest withDomainName(String domainName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
domainName
- A string that represents the name of a domain. Domain names are unique
across the domains owned by an account within an AWS region. Domain
names start with a letter or number and can contain the following
characters: a-z (lowercase), 0-9, and - (hyphen).
public ScalingParameters getScalingParameters()
public void setScalingParameters(ScalingParameters scalingParameters)
scalingParameters
- The desired instance type and desired number of replicas of each index
partition.public UpdateScalingParametersRequest withScalingParameters(ScalingParameters scalingParameters)
Returns a reference to this object so that method calls can be chained together.
scalingParameters
- The desired instance type and desired number of replicas of each index
partition.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |