@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeWorkspaceFunction extends Object implements SdkFunction<DescribeWorkspaceRequest,DescribeWorkspaceResult>
Constructor and Description |
---|
DescribeWorkspaceFunction(AmazonPrometheus client)
Constructs a new DescribeWorkspaceFunction with the given client
|
Modifier and Type | Method and Description |
---|---|
DescribeWorkspaceResult |
apply(DescribeWorkspaceRequest describeWorkspaceRequest)
Makes a call to the operation specified by the waiter by taking the corresponding request and returns the
corresponding result
|
public DescribeWorkspaceFunction(AmazonPrometheus client)
client
- Service clientpublic DescribeWorkspaceResult apply(DescribeWorkspaceRequest describeWorkspaceRequest)
apply
in interface SdkFunction<DescribeWorkspaceRequest,DescribeWorkspaceResult>
describeWorkspaceRequest
- Corresponding request for the operation