public class AnalyticsConfigurationType
extends java.lang.Object
implements java.io.Serializable
The Amazon Pinpoint analytics configuration necessary to collect metrics for a user pool.
In Regions where Amazon Pinpoint isn't available, user pools only support sending events to Amazon Pinpoint projects in us-east-1. In Regions where Amazon Pinpoint is available, user pools support sending events to Amazon Pinpoint projects within that same Region.
| Constructor and Description |
|---|
AnalyticsConfigurationType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationArn()
The Amazon Resource Name (ARN) of an Amazon Pinpoint project.
|
java.lang.String |
getApplicationId()
The application ID for an Amazon Pinpoint application.
|
java.lang.String |
getExternalId()
The external ID.
|
java.lang.String |
getRoleArn()
The ARN of an Identity and Access Management role that authorizes Amazon
Cognito to publish events to Amazon Pinpoint analytics.
|
java.lang.Boolean |
getUserDataShared()
If
UserDataShared is true, Amazon Cognito
includes user data in the events that it publishes to Amazon Pinpoint
analytics. |
int |
hashCode() |
java.lang.Boolean |
isUserDataShared()
If
UserDataShared is true, Amazon Cognito
includes user data in the events that it publishes to Amazon Pinpoint
analytics. |
void |
setApplicationArn(java.lang.String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Pinpoint project.
|
void |
setApplicationId(java.lang.String applicationId)
The application ID for an Amazon Pinpoint application.
|
void |
setExternalId(java.lang.String externalId)
The external ID.
|
void |
setRoleArn(java.lang.String roleArn)
The ARN of an Identity and Access Management role that authorizes Amazon
Cognito to publish events to Amazon Pinpoint analytics.
|
void |
setUserDataShared(java.lang.Boolean userDataShared)
If
UserDataShared is true, Amazon Cognito
includes user data in the events that it publishes to Amazon Pinpoint
analytics. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AnalyticsConfigurationType |
withApplicationArn(java.lang.String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Pinpoint project.
|
AnalyticsConfigurationType |
withApplicationId(java.lang.String applicationId)
The application ID for an Amazon Pinpoint application.
|
AnalyticsConfigurationType |
withExternalId(java.lang.String externalId)
The external ID.
|
AnalyticsConfigurationType |
withRoleArn(java.lang.String roleArn)
The ARN of an Identity and Access Management role that authorizes Amazon
Cognito to publish events to Amazon Pinpoint analytics.
|
AnalyticsConfigurationType |
withUserDataShared(java.lang.Boolean userDataShared)
If
UserDataShared is true, Amazon Cognito
includes user data in the events that it publishes to Amazon Pinpoint
analytics. |
public java.lang.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(java.lang.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(java.lang.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 java.lang.String getApplicationArn()
The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project to integrate with the chosen user pool Client. Amazon Cognito publishes events to the Amazon Pinpoint project that the app ARN declares.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project to integrate with the chosen user pool Client. Amazon Cognito publishes events to the Amazon Pinpoint project that the app ARN declares.
public void setApplicationArn(java.lang.String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project to integrate with the chosen user pool Client. Amazon Cognito publishes events to the Amazon Pinpoint project that the app ARN declares.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
applicationArn - The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project to integrate with the chosen user pool Client. Amazon Cognito publishes events to the Amazon Pinpoint project that the app ARN declares.
public AnalyticsConfigurationType withApplicationArn(java.lang.String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project to integrate with the chosen user pool Client. Amazon Cognito publishes events to the Amazon Pinpoint project that the app ARN declares.
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+=/,.@-]+)?
applicationArn - The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project to integrate with the chosen user pool Client. Amazon Cognito publishes events to the Amazon Pinpoint project that the app ARN declares.
public java.lang.String getRoleArn()
The ARN of an Identity and Access Management 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 Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
public void setRoleArn(java.lang.String roleArn)
The ARN of an Identity and Access Management 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 Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
public AnalyticsConfigurationType withRoleArn(java.lang.String roleArn)
The ARN of an Identity and Access Management 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 Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
public java.lang.String getExternalId()
The external ID.
Constraints:
Length: 0 - 131072
The external ID.
public void setExternalId(java.lang.String externalId)
The external ID.
Constraints:
Length: 0 - 131072
externalId - The external ID.
public AnalyticsConfigurationType withExternalId(java.lang.String externalId)
The external ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131072
externalId - The external ID.
public java.lang.Boolean isUserDataShared()
If UserDataShared is true, Amazon Cognito
includes user data in the events that it publishes to Amazon Pinpoint
analytics.
If UserDataShared is true, Amazon
Cognito includes user data in the events that it publishes to
Amazon Pinpoint analytics.
public java.lang.Boolean getUserDataShared()
If UserDataShared is true, Amazon Cognito
includes user data in the events that it publishes to Amazon Pinpoint
analytics.
If UserDataShared is true, Amazon
Cognito includes user data in the events that it publishes to
Amazon Pinpoint analytics.
public void setUserDataShared(java.lang.Boolean userDataShared)
If UserDataShared is true, Amazon Cognito
includes user data in the events that it publishes to Amazon Pinpoint
analytics.
userDataShared -
If UserDataShared is true, Amazon
Cognito includes user data in the events that it publishes to
Amazon Pinpoint analytics.
public AnalyticsConfigurationType withUserDataShared(java.lang.Boolean userDataShared)
If UserDataShared is true, Amazon Cognito
includes user data in the events that 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 includes user data in the events that it publishes to
Amazon Pinpoint analytics.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object