public class AnalyticsConfigurationType extends Object implements Serializable
The Amazon Pinpoint analytics configuration for collecting metrics for a user pool.
Cognito User Pools only supports sending events to Amazon Pinpoint projects in the US East (N. Virginia) us-east-1 Region, regardless of the region in which the user pool resides.
| Constructor and Description |
|---|
AnalyticsConfigurationType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApplicationId()
The application ID for an Amazon Pinpoint application.
|
String |
getExternalId()
The external ID.
|
String |
getRoleArn()
The ARN of an IAM role that authorizes Amazon Cognito to publish events
to Amazon Pinpoint analytics.
|
Boolean |
getUserDataShared()
If
UserDataShared is true, Amazon Cognito will
include user data in the events it publishes to Amazon Pinpoint
analytics. |
int |
hashCode() |
Boolean |
isUserDataShared()
If
UserDataShared is true, Amazon Cognito will
include user data in the events it publishes to Amazon Pinpoint
analytics. |
void |
setApplicationId(String applicationId)
The application ID for an Amazon Pinpoint application.
|
void |
setExternalId(String externalId)
The external ID.
|
void |
setRoleArn(String roleArn)
The ARN of an IAM role that authorizes Amazon Cognito to publish events
to Amazon Pinpoint analytics.
|
void |
setUserDataShared(Boolean userDataShared)
If
UserDataShared is true, Amazon Cognito will
include user data in the events it publishes to Amazon Pinpoint
analytics. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AnalyticsConfigurationType |
withApplicationId(String applicationId)
The application ID for an Amazon Pinpoint application.
|
AnalyticsConfigurationType |
withExternalId(String externalId)
The external ID.
|
AnalyticsConfigurationType |
withRoleArn(String roleArn)
The ARN of an IAM role that authorizes Amazon Cognito to publish events
to Amazon Pinpoint analytics.
|
AnalyticsConfigurationType |
withUserDataShared(Boolean userDataShared)
If
UserDataShared is true, Amazon Cognito will
include user data in the events it publishes to Amazon Pinpoint
analytics. |
public String getApplicationId()
The application ID for an Amazon Pinpoint application.
Constraints:
Pattern: ^[0-9a-fA-F]+$
The application ID for an Amazon Pinpoint application.
public void setApplicationId(String applicationId)
The application ID for an Amazon Pinpoint application.
Constraints:
Pattern: ^[0-9a-fA-F]+$
applicationId - The application ID for an Amazon Pinpoint application.
public AnalyticsConfigurationType withApplicationId(String applicationId)
The application ID for an Amazon Pinpoint application.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^[0-9a-fA-F]+$
applicationId - The application ID for an Amazon Pinpoint application.
public String getRoleArn()
The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
public void setRoleArn(String roleArn)
The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
roleArn - The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
public AnalyticsConfigurationType withRoleArn(String roleArn)
The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
roleArn - The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
public String getExternalId()
The external ID.
The external ID.
public void setExternalId(String externalId)
The external ID.
externalId - The external ID.
public AnalyticsConfigurationType withExternalId(String externalId)
The external ID.
Returns a reference to this object so that method calls can be chained together.
externalId - The external ID.
public Boolean isUserDataShared()
If UserDataShared is true, Amazon Cognito will
include user data in the events it publishes to Amazon Pinpoint
analytics.
If UserDataShared is true, Amazon
Cognito will include user data in the events it publishes to
Amazon Pinpoint analytics.
public Boolean getUserDataShared()
If UserDataShared is true, Amazon Cognito will
include user data in the events it publishes to Amazon Pinpoint
analytics.
If UserDataShared is true, Amazon
Cognito will include user data in the events it publishes to
Amazon Pinpoint analytics.
public void setUserDataShared(Boolean userDataShared)
If UserDataShared is true, Amazon Cognito will
include user data in the events it publishes to Amazon Pinpoint
analytics.
userDataShared -
If UserDataShared is true, Amazon
Cognito will include user data in the events it publishes to
Amazon Pinpoint analytics.
public AnalyticsConfigurationType withUserDataShared(Boolean userDataShared)
If UserDataShared is true, Amazon Cognito will
include user data in the events it publishes to Amazon Pinpoint
analytics.
Returns a reference to this object so that method calls can be chained together.
userDataShared -
If UserDataShared is true, Amazon
Cognito will include user data in the events it publishes to
Amazon Pinpoint analytics.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.