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 ==.impl StructuralPartialEq for GetPlatformApplicationAttributesOutputBuilder
Auto Trait Implementations§
impl Freeze for GetPlatformApplicationAttributesOutputBuilder
impl RefUnwindSafe for GetPlatformApplicationAttributesOutputBuilder
impl Send for GetPlatformApplicationAttributesOutputBuilder
impl Sync for GetPlatformApplicationAttributesOutputBuilder
impl Unpin for GetPlatformApplicationAttributesOutputBuilder
impl UnwindSafe for GetPlatformApplicationAttributesOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more