/** * Constructs a new GetSubscriptionAttributesRequest object. Callers should use the setter or fluent setter * (with...) methods to initialize any additional object members. * * @param subscriptionArn * The ARN of the subscription whose properties you want to get. */ public GetSubscriptionAttributesRequest(String subscriptionArn) { setSubscriptionArn(subscriptionArn); }
/** * Constructs a new ListTopicsRequest object. Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param nextToken * Token returned by the previous <code>ListTopics</code> request. */ public ListTopicsRequest(String nextToken) { setNextToken(nextToken); }
/** * Constructs a new ListSubscriptionsByTopicRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param topicArn * The ARN of the topic for which you wish to find subscriptions. */ public ListSubscriptionsByTopicRequest(String topicArn) { setTopicArn(topicArn); }
/** * Constructs a new ListSubscriptionsByTopicRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param topicArn * The ARN of the topic for which you wish to find subscriptions. * @param nextToken * Token returned by the previous <code>ListSubscriptionsByTopic</code> request. */ public ListSubscriptionsByTopicRequest(String topicArn, String nextToken) { setTopicArn(topicArn); setNextToken(nextToken); }
/** * Constructs a new ConfirmSubscriptionRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param topicArn * The ARN of the topic for which you wish to confirm a subscription. * @param token * Short-lived token sent to an endpoint during the <code>Subscribe</code> action. */ public ConfirmSubscriptionRequest(String topicArn, String token) { setTopicArn(topicArn); setToken(token); }
/** * Constructs a new GetTopicAttributesRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param topicArn * The ARN of the topic whose properties you want to get. */ public GetTopicAttributesRequest(String topicArn) { setTopicArn(topicArn); }
/** * Constructs a new UnsubscribeRequest object. Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param subscriptionArn * The ARN of the subscription to be deleted. */ public UnsubscribeRequest(String subscriptionArn) { setSubscriptionArn(subscriptionArn); }
/** * Constructs a new DeleteTopicRequest object. Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param topicArn * The ARN of the topic you want to delete. */ public DeleteTopicRequest(String topicArn) { setTopicArn(topicArn); }
/** * Constructs a new ListSubscriptionsRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param nextToken * Token returned by the previous <code>ListSubscriptions</code> request. */ public ListSubscriptionsRequest(String nextToken) { setNextToken(nextToken); }
/** * <p> * EndpointArn returned from CreateEndpoint action. * </p> * * @param endpointArn * EndpointArn returned from CreateEndpoint action. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePlatformEndpointResult withEndpointArn(String endpointArn) { setEndpointArn(endpointArn); return this; }
/** * <p> * The ARN of the created subscription. * </p> * * @param subscriptionArn * The ARN of the created subscription. * @return Returns a reference to this object so that method calls can be chained together. */ public ConfirmSubscriptionResult withSubscriptionArn(String subscriptionArn) { setSubscriptionArn(subscriptionArn); return this; }
/** * <p> * The new value for the attribute. * </p> * * @param attributeValue * The new value for the attribute. * @return Returns a reference to this object so that method calls can be chained together. */ public SetTopicAttributesRequest withAttributeValue(String attributeValue) { setAttributeValue(attributeValue); return this; }
/** * <p> * Endpoints returned for ListEndpointsByPlatformApplication action. * </p> * * @param endpoints * Endpoints returned for ListEndpointsByPlatformApplication action. * @return Returns a reference to this object so that method calls can be chained together. */ public ListEndpointsByPlatformApplicationResult withEndpoints(java.util.Collection<Endpoint> endpoints) { setEndpoints(endpoints); return this; }
/** * <p> * The ARN of the topic whose access control policy you wish to modify. * </p> * * @param topicArn * The ARN of the topic whose access control policy you wish to modify. * @return Returns a reference to this object so that method calls can be chained together. */ public AddPermissionRequest withTopicArn(String topicArn) { setTopicArn(topicArn); return this; }
/** * <p> * PlatformApplicationArn is returned. * </p> * * @param platformApplicationArn * PlatformApplicationArn is returned. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePlatformApplicationResult withPlatformApplicationArn(String platformApplicationArn) { setPlatformApplicationArn(platformApplicationArn); return this; }
/** * <p> * PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action. * </p> * * @param platformApplicationArn * PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action. * @return Returns a reference to this object so that method calls can be chained together. */ public ListEndpointsByPlatformApplicationRequest withPlatformApplicationArn(String platformApplicationArn) { setPlatformApplicationArn(platformApplicationArn); return this; }
/** * <p> * EndpointArn for GetEndpointAttributes input. * </p> * * @param endpointArn * EndpointArn for GetEndpointAttributes input. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEndpointAttributesRequest withEndpointArn(String endpointArn) { setEndpointArn(endpointArn); return this; }
/** * <p> * The phone number for which you want to check the opt out status. * </p> * * @param phoneNumber * The phone number for which you want to check the opt out status. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckIfPhoneNumberIsOptedOutRequest withPhoneNumber(String phoneNumber) { setPhoneNumber(phoneNumber); return this; }
/** * <p> * PlatformApplicationArn for GetPlatformApplicationAttributesInput. * </p> * * @param platformApplicationArn * PlatformApplicationArn for GetPlatformApplicationAttributesInput. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPlatformApplicationAttributesRequest withPlatformApplicationArn(String platformApplicationArn) { setPlatformApplicationArn(platformApplicationArn); return this; }
/** * <p> * Attributes for endpoint. * </p> * * @param attributes * Attributes for endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public Endpoint withAttributes(java.util.Map<String, String> attributes) { setAttributes(attributes); return this; }