congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
com.amazonaws.services.sns.model
Code IndexAdd Tabnine to your IDE (free)

How to use com.amazonaws.services.sns.model

Best Java code snippets using com.amazonaws.services.sns.model (Showing top 20 results out of 315)

origin: aws/aws-sdk-java

/**
 * 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);
}
origin: aws/aws-sdk-java

/**
 * 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);
}
origin: aws/aws-sdk-java

/**
 * 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);
}
origin: aws/aws-sdk-java

/**
 * 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);
}
origin: aws/aws-sdk-java

/**
 * 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);
}
origin: aws/aws-sdk-java

/**
 * 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);
}
origin: aws/aws-sdk-java

/**
 * 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);
}
origin: aws/aws-sdk-java

/**
 * 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);
}
origin: aws/aws-sdk-java

/**
 * 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);
}
origin: aws/aws-sdk-java

/**
 * <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;
}
origin: aws/aws-sdk-java

/**
 * <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;
}
origin: aws/aws-sdk-java

/**
 * <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;
}
origin: aws/aws-sdk-java

/**
 * <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;
}
origin: aws/aws-sdk-java

/**
 * <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;
}
origin: aws/aws-sdk-java

/**
 * <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;
}
origin: aws/aws-sdk-java

/**
 * <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;
}
origin: aws/aws-sdk-java

/**
 * <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;
}
origin: aws/aws-sdk-java

/**
 * <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;
}
origin: aws/aws-sdk-java

/**
 * <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;
}
origin: aws/aws-sdk-java

/**
 * <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;
}
com.amazonaws.services.sns.model

Most used classes

  • PublishRequest
    Sends a message to all of a topic's subscribed endpoints. When amessageId is returned, the message
  • CreateTopicResult
    Response from CreateTopic action.
  • MessageAttributeValue
    The user-specified message attribute value. For string data types, the value attribute has the same
  • PublishResult
    Response for Publish action.
  • SubscribeRequest
    Prepares to subscribe an endpoint by sending the endpoint a confirmation message. To actually creat
  • ListTopicsResult,
  • SubscribeResult,
  • Topic,
  • DeleteTopicRequest,
  • UnsubscribeRequest,
  • SetTopicAttributesRequest,
  • Subscription,
  • GetTopicAttributesResult,
  • ListSubscriptionsByTopicResult,
  • SetSubscriptionAttributesRequest,
  • AddPermissionRequest,
  • CreatePlatformEndpointRequest,
  • CreatePlatformEndpointResult,
  • ListSubscriptionsResult
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now