@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CognitoOptions extends Object implements Serializable, Cloneable, StructuredPojo
Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.
Constructor and Description |
---|
CognitoOptions() |
Modifier and Type | Method and Description |
---|---|
CognitoOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Specifies the option to enable Cognito for Kibana authentication.
|
String |
getIdentityPoolId()
Specifies the Cognito identity pool ID for Kibana authentication.
|
String |
getRoleArn()
Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.
|
String |
getUserPoolId()
Specifies the Cognito user pool ID for Kibana authentication.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies the option to enable Cognito for Kibana authentication.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
Specifies the option to enable Cognito for Kibana authentication.
|
void |
setIdentityPoolId(String identityPoolId)
Specifies the Cognito identity pool ID for Kibana authentication.
|
void |
setRoleArn(String roleArn)
Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.
|
void |
setUserPoolId(String userPoolId)
Specifies the Cognito user pool ID for Kibana authentication.
|
String |
toString()
Returns a string representation of this object.
|
CognitoOptions |
withEnabled(Boolean enabled)
Specifies the option to enable Cognito for Kibana authentication.
|
CognitoOptions |
withIdentityPoolId(String identityPoolId)
Specifies the Cognito identity pool ID for Kibana authentication.
|
CognitoOptions |
withRoleArn(String roleArn)
Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.
|
CognitoOptions |
withUserPoolId(String userPoolId)
Specifies the Cognito user pool ID for Kibana authentication.
|
public void setEnabled(Boolean enabled)
Specifies the option to enable Cognito for Kibana authentication.
enabled
- Specifies the option to enable Cognito for Kibana authentication.public Boolean getEnabled()
Specifies the option to enable Cognito for Kibana authentication.
public CognitoOptions withEnabled(Boolean enabled)
Specifies the option to enable Cognito for Kibana authentication.
enabled
- Specifies the option to enable Cognito for Kibana authentication.public Boolean isEnabled()
Specifies the option to enable Cognito for Kibana authentication.
public void setUserPoolId(String userPoolId)
Specifies the Cognito user pool ID for Kibana authentication.
userPoolId
- Specifies the Cognito user pool ID for Kibana authentication.public String getUserPoolId()
Specifies the Cognito user pool ID for Kibana authentication.
public CognitoOptions withUserPoolId(String userPoolId)
Specifies the Cognito user pool ID for Kibana authentication.
userPoolId
- Specifies the Cognito user pool ID for Kibana authentication.public void setIdentityPoolId(String identityPoolId)
Specifies the Cognito identity pool ID for Kibana authentication.
identityPoolId
- Specifies the Cognito identity pool ID for Kibana authentication.public String getIdentityPoolId()
Specifies the Cognito identity pool ID for Kibana authentication.
public CognitoOptions withIdentityPoolId(String identityPoolId)
Specifies the Cognito identity pool ID for Kibana authentication.
identityPoolId
- Specifies the Cognito identity pool ID for Kibana authentication.public void setRoleArn(String roleArn)
Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.
roleArn
- Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.public String getRoleArn()
Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.
public CognitoOptions withRoleArn(String roleArn)
Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.
roleArn
- Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.public String toString()
toString
in class Object
Object.toString()
public CognitoOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.