/** * 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); }
/** * <p> * The ARN of the topic whose properties you want to get. * </p> * * @param topicArn * The ARN of the topic whose properties you want to get. * @return Returns a reference to this object so that method calls can be chained together. */ public GetTopicAttributesRequest withTopicArn(String topicArn) { setTopicArn(topicArn); return this; }
/** * Constructs a new GetTopicAttributesRequest object. Callers should use the * setter or fluent setter (with...) methods to initialize any additional * object members. * * @param topicArn <p> * The ARN of the topic whose properties you want to get. * </p> */ public GetTopicAttributesRequest(String topicArn) { setTopicArn(topicArn); }
/** * <p> * Returns all of the properties of a topic. Topic properties returned might * differ based on the authorization of the user. * </p> * * @param topicArn <p> * The ARN of the topic whose properties you want to get. * </p> * @return getTopicAttributesResult The response from the GetTopicAttributes * service method, as returned by Amazon Simple Notification * Service. * @throws InvalidParameterException * @throws InternalErrorException * @throws NotFoundException * @throws AuthorizationErrorException * @throws AmazonClientException If any internal errors are encountered * inside the client while attempting to make the request or * handle the response. For example if a network connection is * not available. * @throws AmazonServiceException If an error response is returned by Amazon * Simple Notification Service indicating either a problem with * the data in the request, or a server side issue. */ public GetTopicAttributesResult getTopicAttributes(String topicArn) throws AmazonServiceException, AmazonClientException { GetTopicAttributesRequest getTopicAttributesRequest = new GetTopicAttributesRequest(); getTopicAttributesRequest.setTopicArn(topicArn); return getTopicAttributes(getTopicAttributesRequest); }
/** * Constructs a new GetTopicAttributesRequest object. Callers should use the * setter or fluent setter (with...) methods to initialize any additional * object members. * * @param topicArn <p> * The ARN of the topic whose properties you want to get. * </p> */ public GetTopicAttributesRequest(String topicArn) { setTopicArn(topicArn); }
/** * <p> * Returns all of the properties of a topic. Topic properties returned might * differ based on the authorization of the user. * </p> * * @param topicArn <p> * The ARN of the topic whose properties you want to get. * </p> * @return getTopicAttributesResult The response from the GetTopicAttributes * service method, as returned by Amazon Simple Notification * Service. * @throws InvalidParameterException * @throws InternalErrorException * @throws NotFoundException * @throws AuthorizationErrorException * @throws AmazonClientException If any internal errors are encountered * inside the client while attempting to make the request or * handle the response. For example if a network connection is * not available. * @throws AmazonServiceException If an error response is returned by Amazon * Simple Notification Service indicating either a problem with * the data in the request, or a server side issue. */ public GetTopicAttributesResult getTopicAttributes(String topicArn) throws AmazonServiceException, AmazonClientException { GetTopicAttributesRequest getTopicAttributesRequest = new GetTopicAttributesRequest(); getTopicAttributesRequest.setTopicArn(topicArn); return getTopicAttributes(getTopicAttributesRequest); }