Class PushSync
java.lang.Object
com.amazonaws.services.cognitosync.model.PushSync
- All Implemented Interfaces:
Serializable, Cloneable
Configuration options to be applied to the identity pool.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanList of SNS platform application ARNs that could be used by clients.A role configured to allow Cognito to call SNS on behalf of the developer.inthashCode()voidsetApplicationArns(Collection<String> applicationArns) List of SNS platform application ARNs that could be used by clients.voidsetRoleArn(String roleArn) A role configured to allow Cognito to call SNS on behalf of the developer.toString()Returns a string representation of this object; useful for testing and debugging.withApplicationArns(String... applicationArns) List of SNS platform application ARNs that could be used by clients.withApplicationArns(Collection<String> applicationArns) List of SNS platform application ARNs that could be used by clients.withRoleArn(String roleArn) A role configured to allow Cognito to call SNS on behalf of the developer.
-
Constructor Details
-
PushSync
public PushSync()
-
-
Method Details
-
getApplicationArns
-
setApplicationArns
List of SNS platform application ARNs that could be used by clients.
- Parameters:
applicationArns- List of SNS platform application ARNs that could be used by clients.
-
withApplicationArns
List of SNS platform application ARNs that could be used by clients.
NOTE: This method appends the values to the existing list (if any). Use
setApplicationArns(java.util.Collection)orwithApplicationArns(java.util.Collection)if you want to override the existing values.- Parameters:
applicationArns- List of SNS platform application ARNs that could be used by clients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withApplicationArns
List of SNS platform application ARNs that could be used by clients.
- Parameters:
applicationArns- List of SNS platform application ARNs that could be used by clients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRoleArn
A role configured to allow Cognito to call SNS on behalf of the developer.
- Parameters:
roleArn- A role configured to allow Cognito to call SNS on behalf of the developer.
-
getRoleArn
A role configured to allow Cognito to call SNS on behalf of the developer.
- Returns:
- A role configured to allow Cognito to call SNS on behalf of the developer.
-
withRoleArn
A role configured to allow Cognito to call SNS on behalf of the developer.
- Parameters:
roleArn- A role configured to allow Cognito to call SNS on behalf of the developer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-