@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalyticsConfigurationType extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|---|
AnalyticsConfigurationType |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationArn()
The Amazon Resource Name (ARN) of an Amazon Pinpoint project.
|
String |
getApplicationId()
The application ID for an Amazon Pinpoint application.
|
String |
getExternalId()
The external ID.
|
String |
getRoleArn()
The ARN of an Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon
Pinpoint analytics.
|
Boolean |
getUserDataShared()
If
UserDataShared is true , Amazon Cognito includes user data in the events that it
publishes to Amazon Pinpoint analytics. |
int |
hashCode() |
Boolean |
isUserDataShared()
If
UserDataShared is true , Amazon Cognito includes user data in the events that it
publishes to Amazon Pinpoint analytics. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Pinpoint project.
|
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 Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon
Pinpoint analytics.
|
void |
setUserDataShared(Boolean userDataShared)
If
UserDataShared is true , Amazon Cognito includes user data in the events that it
publishes to Amazon Pinpoint analytics. |
String |
toString()
Returns a string representation of this object.
|
AnalyticsConfigurationType |
withApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Pinpoint project.
|
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 Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon
Pinpoint analytics.
|
AnalyticsConfigurationType |
withUserDataShared(Boolean userDataShared)
If
UserDataShared is true , Amazon Cognito includes user data in the events that it
publishes to Amazon Pinpoint analytics. |
public void setApplicationId(String applicationId)
The application ID for an Amazon Pinpoint application.
applicationId
- The application ID for an Amazon Pinpoint application.public String getApplicationId()
The application ID for an Amazon Pinpoint application.
public AnalyticsConfigurationType withApplicationId(String applicationId)
The application ID for an Amazon Pinpoint application.
applicationId
- The application ID for an Amazon Pinpoint application.public void setApplicationArn(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.
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 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.
public AnalyticsConfigurationType withApplicationArn(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.
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 void setRoleArn(String roleArn)
The ARN of an Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
roleArn
- The ARN of an Identity and Access Management role that authorizes Amazon Cognito to publish events to
Amazon Pinpoint analytics.public String getRoleArn()
The ARN of an Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
public AnalyticsConfigurationType withRoleArn(String roleArn)
The ARN of an Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
roleArn
- The ARN of an Identity and Access Management role that authorizes Amazon Cognito to publish events to
Amazon Pinpoint analytics.public void setExternalId(String externalId)
The external ID.
externalId
- The external ID.public String getExternalId()
The external ID.
public AnalyticsConfigurationType withExternalId(String externalId)
The external ID.
externalId
- The external ID.public void setUserDataShared(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 Boolean getUserDataShared()
If UserDataShared
is true
, Amazon Cognito includes user data in the events that it
publishes to Amazon Pinpoint analytics.
UserDataShared
is true
, Amazon Cognito includes user data in the events that
it publishes to Amazon Pinpoint analytics.public AnalyticsConfigurationType withUserDataShared(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 Boolean isUserDataShared()
If UserDataShared
is true
, Amazon Cognito includes user data in the events that it
publishes to Amazon Pinpoint analytics.
UserDataShared
is true
, Amazon Cognito includes user data in the events that
it publishes to Amazon Pinpoint analytics.public String toString()
toString
in class Object
Object.toString()
public AnalyticsConfigurationType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.