@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEndpointAuthorizationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeEndpointAuthorizationRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeEndpointAuthorizationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccount()
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee.
|
String |
getClusterIdentifier()
The cluster identifier of the cluster to access.
|
Boolean |
getGrantee()
Indicates whether to check authorization from a grantor or grantee point of view.
|
String |
getMarker()
An optional pagination token provided by a previous
DescribeEndpointAuthorization request. |
Integer |
getMaxRecords()
The maximum number of records to include in the response.
|
int |
hashCode() |
Boolean |
isGrantee()
Indicates whether to check authorization from a grantor or grantee point of view.
|
void |
setAccount(String account)
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee.
|
void |
setClusterIdentifier(String clusterIdentifier)
The cluster identifier of the cluster to access.
|
void |
setGrantee(Boolean grantee)
Indicates whether to check authorization from a grantor or grantee point of view.
|
void |
setMarker(String marker)
An optional pagination token provided by a previous
DescribeEndpointAuthorization request. |
void |
setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
String |
toString()
Returns a string representation of this object.
|
DescribeEndpointAuthorizationRequest |
withAccount(String account)
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee.
|
DescribeEndpointAuthorizationRequest |
withClusterIdentifier(String clusterIdentifier)
The cluster identifier of the cluster to access.
|
DescribeEndpointAuthorizationRequest |
withGrantee(Boolean grantee)
Indicates whether to check authorization from a grantor or grantee point of view.
|
DescribeEndpointAuthorizationRequest |
withMarker(String marker)
An optional pagination token provided by a previous
DescribeEndpointAuthorization request. |
DescribeEndpointAuthorizationRequest |
withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DescribeEndpointAuthorizationRequest()
public void setClusterIdentifier(String clusterIdentifier)
The cluster identifier of the cluster to access.
clusterIdentifier
- The cluster identifier of the cluster to access.public String getClusterIdentifier()
The cluster identifier of the cluster to access.
public DescribeEndpointAuthorizationRequest withClusterIdentifier(String clusterIdentifier)
The cluster identifier of the cluster to access.
clusterIdentifier
- The cluster identifier of the cluster to access.public void setAccount(String account)
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If Grantee
parameter is true, then the Account
value is of the grantor.
account
- The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If
Grantee
parameter is true, then the Account
value is of the grantor.public String getAccount()
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If Grantee
parameter is true, then the Account
value is of the grantor.
Grantee
parameter is true, then the Account
value is of the grantor.public DescribeEndpointAuthorizationRequest withAccount(String account)
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If Grantee
parameter is true, then the Account
value is of the grantor.
account
- The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If
Grantee
parameter is true, then the Account
value is of the grantor.public void setGrantee(Boolean grantee)
Indicates whether to check authorization from a grantor or grantee point of view. If true, Amazon Redshift returns endpoint authorizations that you've been granted. If false (default), checks authorization from a grantor point of view.
grantee
- Indicates whether to check authorization from a grantor or grantee point of view. If true, Amazon Redshift
returns endpoint authorizations that you've been granted. If false (default), checks authorization from a
grantor point of view.public Boolean getGrantee()
Indicates whether to check authorization from a grantor or grantee point of view. If true, Amazon Redshift returns endpoint authorizations that you've been granted. If false (default), checks authorization from a grantor point of view.
public DescribeEndpointAuthorizationRequest withGrantee(Boolean grantee)
Indicates whether to check authorization from a grantor or grantee point of view. If true, Amazon Redshift returns endpoint authorizations that you've been granted. If false (default), checks authorization from a grantor point of view.
grantee
- Indicates whether to check authorization from a grantor or grantee point of view. If true, Amazon Redshift
returns endpoint authorizations that you've been granted. If false (default), checks authorization from a
grantor point of view.public Boolean isGrantee()
Indicates whether to check authorization from a grantor or grantee point of view. If true, Amazon Redshift returns endpoint authorizations that you've been granted. If false (default), checks authorization from a grantor point of view.
public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a Marker
is included in the response so
that the remaining results can be retrieved.
maxRecords
- The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a Marker
is included in the response
so that the remaining results can be retrieved.public Integer getMaxRecords()
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a Marker
is included in the response so
that the remaining results can be retrieved.
MaxRecords
value, a pagination token called a Marker
is included in the
response so that the remaining results can be retrieved.public DescribeEndpointAuthorizationRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a Marker
is included in the response so
that the remaining results can be retrieved.
maxRecords
- The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a Marker
is included in the response
so that the remaining results can be retrieved.public void setMarker(String marker)
An optional pagination token provided by a previous DescribeEndpointAuthorization
request. If this
parameter is specified, the response includes only records beyond the marker, up to the value specified by the
MaxRecords
parameter.
marker
- An optional pagination token provided by a previous DescribeEndpointAuthorization
request. If
this parameter is specified, the response includes only records beyond the marker, up to the value
specified by the MaxRecords
parameter.public String getMarker()
An optional pagination token provided by a previous DescribeEndpointAuthorization
request. If this
parameter is specified, the response includes only records beyond the marker, up to the value specified by the
MaxRecords
parameter.
DescribeEndpointAuthorization
request.
If this parameter is specified, the response includes only records beyond the marker, up to the value
specified by the MaxRecords
parameter.public DescribeEndpointAuthorizationRequest withMarker(String marker)
An optional pagination token provided by a previous DescribeEndpointAuthorization
request. If this
parameter is specified, the response includes only records beyond the marker, up to the value specified by the
MaxRecords
parameter.
marker
- An optional pagination token provided by a previous DescribeEndpointAuthorization
request. If
this parameter is specified, the response includes only records beyond the marker, up to the value
specified by the MaxRecords
parameter.public String toString()
toString
in class Object
Object.toString()
public DescribeEndpointAuthorizationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()