public class AccessPoliciesStatus
extends java.lang.Object
implements java.io.Serializable
A PolicyDocument that specifies access policies for the search domain's services, and the current status of those policies.
| コンストラクタと説明 |
|---|
AccessPoliciesStatus() |
| 修飾子とタイプ | メソッドと説明 | ||
|---|---|---|---|
boolean |
equals(java.lang.Object obj) |
||
java.lang.String |
getOptions()
An IAM access policy as described in
OptionStatusgetStatus()
The status of an option, including when it was last updated and
whether it is actively in use for searches.
| ||
int |
hashCode() |
||
void |
setOptions(java.lang.String options)
An IAM access policy as described in
voidsetStatus(OptionStatus status)
The status of an option, including when it was last updated and
whether it is actively in use for searches.
| ||
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
||
AccessPoliciesStatus |
withOptions(java.lang.String options)
An IAM access policy as described in
AccessPoliciesStatuswithStatus(OptionStatus status)
The status of an option, including when it was last updated and
whether it is actively in use for searches.
|
public java.lang.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(java.lang.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 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 AccessPoliciesStatus withOptions(java.lang.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 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 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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object