shiver.me.timbers.aws.pinpoint.APNSVoipSandboxChannel Maven / Gradle / Ivy
Show all versions of smt-cloudformation-objects Show documentation
package shiver.me.timbers.aws.pinpoint;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
/**
* APNSVoipSandboxChannel
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"BundleId",
"PrivateKey",
"Enabled",
"DefaultAuthenticationMethod",
"TokenKey",
"ApplicationId",
"TeamId",
"Certificate",
"TokenKeyId"
})
public class APNSVoipSandboxChannel {
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-bundleid
*
*/
@JsonProperty("BundleId")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-bundleid")
private CharSequence bundleId;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-privatekey
*
*/
@JsonProperty("PrivateKey")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-privatekey")
private CharSequence privateKey;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-enabled
*
*/
@JsonProperty("Enabled")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-enabled")
private CharSequence enabled;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-defaultauthenticationmethod
*
*/
@JsonProperty("DefaultAuthenticationMethod")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-defaultauthenticationmethod")
private CharSequence defaultAuthenticationMethod;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-tokenkey
*
*/
@JsonProperty("TokenKey")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-tokenkey")
private CharSequence tokenKey;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-applicationid
*
*/
@JsonProperty("ApplicationId")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-applicationid")
private CharSequence applicationId;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-teamid
*
*/
@JsonProperty("TeamId")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-teamid")
private CharSequence teamId;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-certificate
*
*/
@JsonProperty("Certificate")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-certificate")
private CharSequence certificate;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-tokenkeyid
*
*/
@JsonProperty("TokenKeyId")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-tokenkeyid")
private CharSequence tokenKeyId;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-bundleid
*
*/
@JsonIgnore
public CharSequence getBundleId() {
return bundleId;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-bundleid
*
*/
@JsonIgnore
public void setBundleId(CharSequence bundleId) {
this.bundleId = bundleId;
}
public APNSVoipSandboxChannel withBundleId(CharSequence bundleId) {
this.bundleId = bundleId;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-privatekey
*
*/
@JsonIgnore
public CharSequence getPrivateKey() {
return privateKey;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-privatekey
*
*/
@JsonIgnore
public void setPrivateKey(CharSequence privateKey) {
this.privateKey = privateKey;
}
public APNSVoipSandboxChannel withPrivateKey(CharSequence privateKey) {
this.privateKey = privateKey;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-enabled
*
*/
@JsonIgnore
public CharSequence getEnabled() {
return enabled;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-enabled
*
*/
@JsonIgnore
public void setEnabled(CharSequence enabled) {
this.enabled = enabled;
}
public APNSVoipSandboxChannel withEnabled(CharSequence enabled) {
this.enabled = enabled;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-defaultauthenticationmethod
*
*/
@JsonIgnore
public CharSequence getDefaultAuthenticationMethod() {
return defaultAuthenticationMethod;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-defaultauthenticationmethod
*
*/
@JsonIgnore
public void setDefaultAuthenticationMethod(CharSequence defaultAuthenticationMethod) {
this.defaultAuthenticationMethod = defaultAuthenticationMethod;
}
public APNSVoipSandboxChannel withDefaultAuthenticationMethod(CharSequence defaultAuthenticationMethod) {
this.defaultAuthenticationMethod = defaultAuthenticationMethod;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-tokenkey
*
*/
@JsonIgnore
public CharSequence getTokenKey() {
return tokenKey;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-tokenkey
*
*/
@JsonIgnore
public void setTokenKey(CharSequence tokenKey) {
this.tokenKey = tokenKey;
}
public APNSVoipSandboxChannel withTokenKey(CharSequence tokenKey) {
this.tokenKey = tokenKey;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-applicationid
*
*/
@JsonIgnore
public CharSequence getApplicationId() {
return applicationId;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-applicationid
*
*/
@JsonIgnore
public void setApplicationId(CharSequence applicationId) {
this.applicationId = applicationId;
}
public APNSVoipSandboxChannel withApplicationId(CharSequence applicationId) {
this.applicationId = applicationId;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-teamid
*
*/
@JsonIgnore
public CharSequence getTeamId() {
return teamId;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-teamid
*
*/
@JsonIgnore
public void setTeamId(CharSequence teamId) {
this.teamId = teamId;
}
public APNSVoipSandboxChannel withTeamId(CharSequence teamId) {
this.teamId = teamId;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-certificate
*
*/
@JsonIgnore
public CharSequence getCertificate() {
return certificate;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-certificate
*
*/
@JsonIgnore
public void setCertificate(CharSequence certificate) {
this.certificate = certificate;
}
public APNSVoipSandboxChannel withCertificate(CharSequence certificate) {
this.certificate = certificate;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-tokenkeyid
*
*/
@JsonIgnore
public CharSequence getTokenKeyId() {
return tokenKeyId;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-tokenkeyid
*
*/
@JsonIgnore
public void setTokenKeyId(CharSequence tokenKeyId) {
this.tokenKeyId = tokenKeyId;
}
public APNSVoipSandboxChannel withTokenKeyId(CharSequence tokenKeyId) {
this.tokenKeyId = tokenKeyId;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("bundleId", bundleId).append("privateKey", privateKey).append("enabled", enabled).append("defaultAuthenticationMethod", defaultAuthenticationMethod).append("tokenKey", tokenKey).append("applicationId", applicationId).append("teamId", teamId).append("certificate", certificate).append("tokenKeyId", tokenKeyId).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(privateKey).append(tokenKey).append(teamId).append(bundleId).append(certificate).append(applicationId).append(tokenKeyId).append(enabled).append(defaultAuthenticationMethod).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof APNSVoipSandboxChannel) == false) {
return false;
}
APNSVoipSandboxChannel rhs = ((APNSVoipSandboxChannel) other);
return new EqualsBuilder().append(privateKey, rhs.privateKey).append(tokenKey, rhs.tokenKey).append(teamId, rhs.teamId).append(bundleId, rhs.bundleId).append(certificate, rhs.certificate).append(applicationId, rhs.applicationId).append(tokenKeyId, rhs.tokenKeyId).append(enabled, rhs.enabled).append(defaultAuthenticationMethod, rhs.defaultAuthenticationMethod).isEquals();
}
}