public class APNSSandboxChannelRequest extends Object implements Serializable
| Constructor and Description |
|---|
APNSSandboxChannelRequest() |
| Modifier and Type | Method and Description |
|---|---|
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 |
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.
|
APNSSandboxChannelRequest |
withCertificate(String certificate)
The distribution certificate from Apple.
|
APNSSandboxChannelRequest |
withEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
APNSSandboxChannelRequest |
withPrivateKey(String privateKey)
The certificate private key.
|
public String getCertificate()
public void setCertificate(String certificate)
certificate - The distribution certificate from Apple.public APNSSandboxChannelRequest withCertificate(String certificate)
Returns a reference to this object so that method calls can be chained together.
certificate - The distribution certificate from Apple.public Boolean isEnabled()
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
enabled - If the channel is enabled for sending messages.public APNSSandboxChannelRequest withEnabled(Boolean enabled)
Returns a reference to this object so that method calls can be chained together.
enabled - If the channel is enabled for sending messages.public String getPrivateKey()
public void setPrivateKey(String privateKey)
privateKey - The certificate private key.public APNSSandboxChannelRequest withPrivateKey(String privateKey)
Returns a reference to this object so that method calls can be chained together.
privateKey - The certificate private key.public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.