Interface APNSChannelResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<APNSChannelResponse.Builder,APNSChannelResponse>,SdkBuilder<APNSChannelResponse.Builder,APNSChannelResponse>,SdkPojo
- Enclosing class:
- APNSChannelResponse
public static interface APNSChannelResponse.Builder extends SdkPojo, CopyableBuilder<APNSChannelResponse.Builder,APNSChannelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description APNSChannelResponse.BuilderapplicationId(String applicationId)The unique identifier for the application that the APNs channel applies to.APNSChannelResponse.BuildercreationDate(String creationDate)The date and time when the APNs channel was enabled.APNSChannelResponse.BuilderdefaultAuthenticationMethod(String defaultAuthenticationMethod)The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.APNSChannelResponse.Builderenabled(Boolean enabled)Specifies whether the APNs channel is enabled for the application.APNSChannelResponse.BuilderhasCredential(Boolean hasCredential)(Not used) This property is retained only for backward compatibility.APNSChannelResponse.BuilderhasTokenKey(Boolean hasTokenKey)Specifies whether the APNs channel is configured to communicate with APNs by using APNs tokens.APNSChannelResponse.Builderid(String id)(Deprecated) An identifier for the APNs channel.APNSChannelResponse.BuilderisArchived(Boolean isArchived)Specifies whether the APNs channel is archived.APNSChannelResponse.BuilderlastModifiedBy(String lastModifiedBy)The user who last modified the APNs channel.APNSChannelResponse.BuilderlastModifiedDate(String lastModifiedDate)The date and time when the APNs channel was last modified.APNSChannelResponse.Builderplatform(String platform)The type of messaging or notification platform for the channel.APNSChannelResponse.Builderversion(Integer version)The current version of the APNs channel.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
applicationId
APNSChannelResponse.Builder applicationId(String applicationId)
The unique identifier for the application that the APNs channel applies to.
- Parameters:
applicationId- The unique identifier for the application that the APNs channel applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
APNSChannelResponse.Builder creationDate(String creationDate)
The date and time when the APNs channel was enabled.
- Parameters:
creationDate- The date and time when the APNs channel was enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultAuthenticationMethod
APNSChannelResponse.Builder defaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.
- Parameters:
defaultAuthenticationMethod- The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
APNSChannelResponse.Builder enabled(Boolean enabled)
Specifies whether the APNs channel is enabled for the application.
- Parameters:
enabled- Specifies whether the APNs channel is enabled for the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hasCredential
APNSChannelResponse.Builder hasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
- Parameters:
hasCredential- (Not used) This property is retained only for backward compatibility.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hasTokenKey
APNSChannelResponse.Builder hasTokenKey(Boolean hasTokenKey)
Specifies whether the APNs channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
- Parameters:
hasTokenKey- Specifies whether the APNs channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
APNSChannelResponse.Builder id(String id)
(Deprecated) An identifier for the APNs channel. This property is retained only for backward compatibility.
- Parameters:
id- (Deprecated) An identifier for the APNs channel. This property is retained only for backward compatibility.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isArchived
APNSChannelResponse.Builder isArchived(Boolean isArchived)
Specifies whether the APNs channel is archived.
- Parameters:
isArchived- Specifies whether the APNs channel is archived.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
APNSChannelResponse.Builder lastModifiedBy(String lastModifiedBy)
The user who last modified the APNs channel.
- Parameters:
lastModifiedBy- The user who last modified the APNs channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
APNSChannelResponse.Builder lastModifiedDate(String lastModifiedDate)
The date and time when the APNs channel was last modified.
- Parameters:
lastModifiedDate- The date and time when the APNs channel was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
APNSChannelResponse.Builder platform(String platform)
The type of messaging or notification platform for the channel. For the APNs channel, this value is APNS.
- Parameters:
platform-The type of messaging or notification platform for the channel. For the APNs channel, this value is APNS.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
APNSChannelResponse.Builder version(Integer version)
The current version of the APNs channel.
- Parameters:
version- The current version of the APNs channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-