@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PushSync extends Object implements Serializable, Cloneable, StructuredPojo
Configuration options to be applied to the identity pool.
Constructor and Description |
---|
PushSync() |
Modifier and Type | Method and Description |
---|---|
PushSync |
clone() |
boolean |
equals(Object obj) |
List<String> |
getApplicationArns()
List of SNS platform application ARNs that could be used by clients.
|
String |
getRoleArn()
A role configured to allow Cognito to call SNS on behalf of the developer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationArns(Collection<String> applicationArns)
List of SNS platform application ARNs that could be used by clients.
|
void |
setRoleArn(String roleArn)
A role configured to allow Cognito to call SNS on behalf of the developer.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PushSync |
withApplicationArns(Collection<String> applicationArns)
List of SNS platform application ARNs that could be used by clients.
|
PushSync |
withApplicationArns(String... applicationArns)
List of SNS platform application ARNs that could be used by clients.
|
PushSync |
withRoleArn(String roleArn)
A role configured to allow Cognito to call SNS on behalf of the developer.
|
public List<String> getApplicationArns()
List of SNS platform application ARNs that could be used by clients.
public void setApplicationArns(Collection<String> applicationArns)
List of SNS platform application ARNs that could be used by clients.
applicationArns
- List of SNS platform application ARNs that could be used by clients.public PushSync withApplicationArns(String... applicationArns)
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)
or withApplicationArns(java.util.Collection)
if you
want to override the existing values.
applicationArns
- List of SNS platform application ARNs that could be used by clients.public PushSync withApplicationArns(Collection<String> applicationArns)
List of SNS platform application ARNs that could be used by clients.
applicationArns
- List of SNS platform application ARNs that could be used by clients.public void setRoleArn(String roleArn)
A role configured to allow Cognito to call SNS on behalf of the developer.
roleArn
- A role configured to allow Cognito to call SNS on behalf of the developer.public String getRoleArn()
A role configured to allow Cognito to call SNS on behalf of the developer.
public PushSync withRoleArn(String roleArn)
A role configured to allow Cognito to call SNS on behalf of the developer.
roleArn
- A role configured to allow Cognito to call SNS on behalf of the developer.public String toString()
toString
in class Object
Object.toString()
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.