/** * <p> * The unique label of the statement you want to remove. * </p> * * @param label * The unique label of the statement you want to remove. * @return Returns a reference to this object so that method calls can be chained together. */ public RemovePermissionRequest withLabel(String label) { setLabel(label); return this; }
/** * Constructs a new RemovePermissionRequest 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 access control policy you wish to modify. * @param label * The unique label of the statement you want to remove. */ public RemovePermissionRequest(String topicArn, String label) { setTopicArn(topicArn); setLabel(label); }
/** * Constructs a new RemovePermissionRequest 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 access control policy you wish to * modify. * </p> * @param label <p> * The unique label of the statement you want to remove. * </p> */ public RemovePermissionRequest(String topicArn, String label) { setTopicArn(topicArn); setLabel(label); }
RemovePermissionRequest removePermissionRequest = new RemovePermissionRequest(); removePermissionRequest.setTopicArn(topicArn); removePermissionRequest.setLabel(label); removePermission(removePermissionRequest);
/** * Constructs a new RemovePermissionRequest 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 access control policy you wish to * modify. * </p> * @param label <p> * The unique label of the statement you want to remove. * </p> */ public RemovePermissionRequest(String topicArn, String label) { setTopicArn(topicArn); setLabel(label); }
RemovePermissionRequest removePermissionRequest = new RemovePermissionRequest(); removePermissionRequest.setTopicArn(topicArn); removePermissionRequest.setLabel(label); removePermission(removePermissionRequest);