Struct aws_sdk_sns::operation::get_platform_application_attributes::builders::GetPlatformApplicationAttributesOutputBuilder    
source · #[non_exhaustive]pub struct GetPlatformApplicationAttributesOutputBuilder { /* private fields */ }Expand description
A builder for GetPlatformApplicationAttributesOutput.
Implementations§
source§impl GetPlatformApplicationAttributesOutputBuilder
 
impl GetPlatformApplicationAttributesOutputBuilder
sourcepub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
 
pub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to attributes.
To override the contents of this collection use set_attributes.
Attributes include the following:
- 
AppleCertificateExpiryDate– The expiry date of the SSL certificate used to configure certificate-based authentication.
- 
ApplePlatformTeamID– The Apple developer account ID used to configure token-based authentication.
- 
ApplePlatformBundleID– The app identifier used to configure token-based authentication.
- 
AuthenticationMethod– Returns the credential type used when sending push notifications from application to APNS/APNS_Sandbox, or application to GCM.- 
APNS – Returns the token or certificate. 
- 
GCM – Returns the token or key. 
 
- 
- 
EventEndpointCreated– Topic ARN to which EndpointCreated event notifications should be sent.
- 
EventEndpointDeleted– Topic ARN to which EndpointDeleted event notifications should be sent.
- 
EventEndpointUpdated– Topic ARN to which EndpointUpdate event notifications should be sent.
- 
EventDeliveryFailure– Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.
sourcepub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
 
pub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
Attributes include the following:
- 
AppleCertificateExpiryDate– The expiry date of the SSL certificate used to configure certificate-based authentication.
- 
ApplePlatformTeamID– The Apple developer account ID used to configure token-based authentication.
- 
ApplePlatformBundleID– The app identifier used to configure token-based authentication.
- 
AuthenticationMethod– Returns the credential type used when sending push notifications from application to APNS/APNS_Sandbox, or application to GCM.- 
APNS – Returns the token or certificate. 
- 
GCM – Returns the token or key. 
 
- 
- 
EventEndpointCreated– Topic ARN to which EndpointCreated event notifications should be sent.
- 
EventEndpointDeleted– Topic ARN to which EndpointDeleted event notifications should be sent.
- 
EventEndpointUpdated– Topic ARN to which EndpointUpdate event notifications should be sent.
- 
EventDeliveryFailure– Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.
sourcepub fn get_attributes(&self) -> &Option<HashMap<String, String>>
 
pub fn get_attributes(&self) -> &Option<HashMap<String, String>>
Attributes include the following:
- 
AppleCertificateExpiryDate– The expiry date of the SSL certificate used to configure certificate-based authentication.
- 
ApplePlatformTeamID– The Apple developer account ID used to configure token-based authentication.
- 
ApplePlatformBundleID– The app identifier used to configure token-based authentication.
- 
AuthenticationMethod– Returns the credential type used when sending push notifications from application to APNS/APNS_Sandbox, or application to GCM.- 
APNS – Returns the token or certificate. 
- 
GCM – Returns the token or key. 
 
- 
- 
EventEndpointCreated– Topic ARN to which EndpointCreated event notifications should be sent.
- 
EventEndpointDeleted– Topic ARN to which EndpointDeleted event notifications should be sent.
- 
EventEndpointUpdated– Topic ARN to which EndpointUpdate event notifications should be sent.
- 
EventDeliveryFailure– Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.
sourcepub fn build(self) -> GetPlatformApplicationAttributesOutput
 
pub fn build(self) -> GetPlatformApplicationAttributesOutput
Consumes the builder and constructs a GetPlatformApplicationAttributesOutput.
Trait Implementations§
source§impl Clone for GetPlatformApplicationAttributesOutputBuilder
 
impl Clone for GetPlatformApplicationAttributesOutputBuilder
source§fn clone(&self) -> GetPlatformApplicationAttributesOutputBuilder
 
fn clone(&self) -> GetPlatformApplicationAttributesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetPlatformApplicationAttributesOutputBuilder
 
impl Default for GetPlatformApplicationAttributesOutputBuilder
source§fn default() -> GetPlatformApplicationAttributesOutputBuilder
 
fn default() -> GetPlatformApplicationAttributesOutputBuilder
source§impl PartialEq for GetPlatformApplicationAttributesOutputBuilder
 
impl PartialEq for GetPlatformApplicationAttributesOutputBuilder
source§fn eq(&self, other: &GetPlatformApplicationAttributesOutputBuilder) -> bool
 
fn eq(&self, other: &GetPlatformApplicationAttributesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.