@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalyticsConfigurationType extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|---|
AnalyticsConfigurationType |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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 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 setRoleArn(String roleArn)
The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
roleArn
- The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.public String getRoleArn()
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.
roleArn
- The ARN of an IAM 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 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 Boolean getUserDataShared()
If UserDataShared
is true
, Amazon Cognito will include user data in the events it
publishes to Amazon Pinpoint analytics.
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.
userDataShared
- If UserDataShared
is true
, Amazon Cognito will include user data in the events
it publishes to Amazon Pinpoint analytics.public Boolean isUserDataShared()
If UserDataShared
is true
, Amazon Cognito will include user data in the events it
publishes to Amazon Pinpoint analytics.
UserDataShared
is true
, Amazon Cognito will include user data in the events
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.