AccessPoliciesStatus
instead.@Deprecated public class AccessPoliciesStatus extends Object implements Serializable
A PolicyDocument
that specifies access policies for the search domain's services, and the current status of those policies.
Constructor and Description |
---|
AccessPoliciesStatus()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
String |
getOptions()
Deprecated.
An IAM access policy as described in The Access Policy Language in Using AWS
Identity and Access Management.
|
OptionStatus |
getStatus()
Deprecated.
The status of an option, including when it was last updated and
whether it is actively in use for searches.
|
int |
hashCode()
Deprecated.
|
void |
setOptions(String options)
Deprecated.
An IAM access policy as described in The Access Policy Language in Using AWS
Identity and Access Management.
|
void |
setStatus(OptionStatus status)
Deprecated.
The status of an option, including when it was last updated and
whether it is actively in use for searches.
|
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
AccessPoliciesStatus |
withOptions(String options)
Deprecated.
An IAM access policy as described in The Access Policy Language in Using AWS
Identity and Access Management.
|
AccessPoliciesStatus |
withStatus(OptionStatus status)
Deprecated.
The status of an option, including when it was last updated and
whether it is actively in use for searches.
|
public String getOptions()
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 setOptions(String options)
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"] } }} ] }
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 100 KB. 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 AccessPoliciesStatus withOptions(String options)
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.
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 100 KB. 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 OptionStatus getStatus()
public void setStatus(OptionStatus status)
status
- The status of an option, including when it was last updated and
whether it is actively in use for searches.public AccessPoliciesStatus withStatus(OptionStatus status)
Returns a reference to this object so that method calls can be chained together.
status
- The status of an option, including when it was last updated and
whether it is actively in use for searches.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.