@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class APNSChannelRequest extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
APNSChannelRequest() |
Modifier and Type | Method and Description |
---|---|
APNSChannelRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCertificate()
The distribution certificate from Apple.
|
Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
String |
getPrivateKey()
The certificate private key.
|
int |
hashCode() |
Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificate(String certificate)
The distribution certificate from Apple.
|
void |
setEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
void |
setPrivateKey(String privateKey)
The certificate private key.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
APNSChannelRequest |
withCertificate(String certificate)
The distribution certificate from Apple.
|
APNSChannelRequest |
withEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
APNSChannelRequest |
withPrivateKey(String privateKey)
The certificate private key.
|
public void setCertificate(String certificate)
certificate
- The distribution certificate from Apple.public String getCertificate()
public APNSChannelRequest withCertificate(String certificate)
certificate
- The distribution certificate from Apple.public void setEnabled(Boolean enabled)
enabled
- If the channel is enabled for sending messages.public Boolean getEnabled()
public APNSChannelRequest withEnabled(Boolean enabled)
enabled
- If the channel is enabled for sending messages.public Boolean isEnabled()
public void setPrivateKey(String privateKey)
privateKey
- The certificate private key.public String getPrivateKey()
public APNSChannelRequest withPrivateKey(String privateKey)
privateKey
- The certificate private key.public String toString()
toString
in class Object
Object.toString()
public APNSChannelRequest 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.