Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudsearch.model
Class AccessPoliciesStatus

java.lang.Object
  extended by com.amazonaws.services.cloudsearch.model.AccessPoliciesStatus

public class AccessPoliciesStatus
extends Object

A PolicyDocument that specifies access policies for the search domain's services, and the current status of those policies.


Constructor Summary
AccessPoliciesStatus()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getOptions()
          An IAM access policy as described in The Access Policy Language in Using AWS Identity and Access Management.
 OptionStatus getStatus()
          The status of an option, including when it was last updated and whether it is actively in use for searches.
 int hashCode()
           
 void setOptions(String options)
          An IAM access policy as described in The Access Policy Language in Using AWS Identity and Access Management.
 void setStatus(OptionStatus status)
          The status of an option, including when it was last updated and whether it is actively in use for searches.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AccessPoliciesStatus withOptions(String options)
          An IAM access policy as described in The Access Policy Language in Using AWS Identity and Access Management.
 AccessPoliciesStatus withStatus(OptionStatus status)
          The status of an option, including when it was last updated and whether it is actively in use for searches.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessPoliciesStatus

public AccessPoliciesStatus()
Method Detail

getOptions

public String getOptions()
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"] } }} ] }

Returns:
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"] } }} ] }


setOptions

public void setOptions(String options)
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"] } }} ] }

Parameters:
options - 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"] } }} ] }


withOptions

public AccessPoliciesStatus withOptions(String options)
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"] } }} ] }

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

Parameters:
options - 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"] } }} ] }

Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public OptionStatus getStatus()
The status of an option, including when it was last updated and whether it is actively in use for searches.

Returns:
The status of an option, including when it was last updated and whether it is actively in use for searches.

setStatus

public void setStatus(OptionStatus status)
The status of an option, including when it was last updated and whether it is actively in use for searches.

Parameters:
status - The status of an option, including when it was last updated and whether it is actively in use for searches.

withStatus

public AccessPoliciesStatus withStatus(OptionStatus status)
The status of an option, including when it was last updated and whether it is actively in use for searches.

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

Parameters:
status - The status of an option, including when it was last updated and whether it is actively in use for searches.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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