|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudsearch.model.UpdateServiceAccessPoliciesRequest
public class UpdateServiceAccessPoliciesRequest
Container for the parameters to the UpdateServiceAccessPolicies operation.
Configures the policies that control access to the domain's document and search services. The maximum size of an access policy document is 100KB.
AmazonCloudSearch.updateServiceAccessPolicies(UpdateServiceAccessPoliciesRequest),
Serialized Form| Constructor Summary | |
|---|---|
UpdateServiceAccessPoliciesRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getAccessPolicies()
An IAM access policy as described in The Access Policy Language in Using AWS Identity and Access Management. |
String |
getDomainName()
A string that represents the name of a domain. |
int |
hashCode()
|
void |
setAccessPolicies(String accessPolicies)
An IAM access policy as described in The Access Policy Language in Using AWS Identity and Access Management. |
void |
setDomainName(String domainName)
A string that represents the name of a domain. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UpdateServiceAccessPoliciesRequest |
withAccessPolicies(String accessPolicies)
An IAM access policy as described in The Access Policy Language in Using AWS Identity and Access Management. |
UpdateServiceAccessPoliciesRequest |
withDomainName(String domainName)
A string that represents the name of a domain. |
| 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 |
|---|
public UpdateServiceAccessPoliciesRequest()
| 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 must be
unique across the domains owned by an account within an AWS region.
Domain names must start with a letter or number and can contain the
following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase
letters and underscores are not allowed.public UpdateServiceAccessPoliciesRequest 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 must be
unique across the domains owned by an account within an AWS region.
Domain names must start with a letter or number and can contain the
following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase
letters and underscores are not allowed.
public String getAccessPolicies()
Example: {"Statement":
[{"Effect":"Allow", "Action": "*", "Resource":
"arn:aws:cs:us-east-1:1234567890:search/movies", "Condition": {
"IpAddress": { aws:SourceIp": ["203.0.113.1/32"] } }},
{"Effect":"Allow", "Action": "*", "Resource":
"arn:aws:cs:us-east-1:1234567890:documents/movies", "Condition": {
"IpAddress": { aws:SourceIp": ["203.0.113.1/32"] } }} ] }
Example: {"Statement":
[{"Effect":"Allow", "Action": "*", "Resource":
"arn:aws:cs:us-east-1:1234567890:search/movies", "Condition": {
"IpAddress": { aws:SourceIp": ["203.0.113.1/32"] } }},
{"Effect":"Allow", "Action": "*", "Resource":
"arn:aws:cs:us-east-1:1234567890:documents/movies", "Condition": {
"IpAddress": { aws:SourceIp": ["203.0.113.1/32"] } }} ] }
public void setAccessPolicies(String accessPolicies)
Example: {"Statement":
[{"Effect":"Allow", "Action": "*", "Resource":
"arn:aws:cs:us-east-1:1234567890:search/movies", "Condition": {
"IpAddress": { aws:SourceIp": ["203.0.113.1/32"] } }},
{"Effect":"Allow", "Action": "*", "Resource":
"arn:aws:cs:us-east-1:1234567890:documents/movies", "Condition": {
"IpAddress": { aws:SourceIp": ["203.0.113.1/32"] } }} ] }
accessPolicies - An IAM access policy as described in The Access Policy Language in Using AWS
Identity and Access Management. The maximum size of an access
policy document is 100KB. Example: {"Statement":
[{"Effect":"Allow", "Action": "*", "Resource":
"arn:aws:cs:us-east-1:1234567890:search/movies", "Condition": {
"IpAddress": { aws:SourceIp": ["203.0.113.1/32"] } }},
{"Effect":"Allow", "Action": "*", "Resource":
"arn:aws:cs:us-east-1:1234567890:documents/movies", "Condition": {
"IpAddress": { aws:SourceIp": ["203.0.113.1/32"] } }} ] }
public UpdateServiceAccessPoliciesRequest withAccessPolicies(String accessPolicies)
Example: {"Statement":
[{"Effect":"Allow", "Action": "*", "Resource":
"arn:aws:cs:us-east-1:1234567890:search/movies", "Condition": {
"IpAddress": { aws:SourceIp": ["203.0.113.1/32"] } }},
{"Effect":"Allow", "Action": "*", "Resource":
"arn:aws:cs:us-east-1:1234567890:documents/movies", "Condition": {
"IpAddress": { aws:SourceIp": ["203.0.113.1/32"] } }} ] }
Returns a reference to this object so that method calls can be chained together.
accessPolicies - An IAM access policy as described in The Access Policy Language in Using AWS
Identity and Access Management. The maximum size of an access
policy document is 100KB. Example: {"Statement":
[{"Effect":"Allow", "Action": "*", "Resource":
"arn:aws:cs:us-east-1:1234567890:search/movies", "Condition": {
"IpAddress": { aws:SourceIp": ["203.0.113.1/32"] } }},
{"Effect":"Allow", "Action": "*", "Resource":
"arn:aws:cs:us-east-1:1234567890:documents/movies", "Condition": {
"IpAddress": { aws:SourceIp": ["203.0.113.1/32"] } }} ] }
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||