Class DescribeEndpointAuthorizationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.redshift.model.RedshiftRequest
-
- software.amazon.awssdk.services.redshift.model.DescribeEndpointAuthorizationRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<DescribeEndpointAuthorizationRequest.Builder,DescribeEndpointAuthorizationRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribeEndpointAuthorizationRequest extends RedshiftRequest implements ToCopyableBuilder<DescribeEndpointAuthorizationRequest.Builder,DescribeEndpointAuthorizationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DescribeEndpointAuthorizationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
account()
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee.static DescribeEndpointAuthorizationRequest.Builder
builder()
String
clusterIdentifier()
The cluster identifier of the cluster to access.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
Boolean
grantee()
Indicates whether to check authorization from a grantor or grantee point of view.int
hashCode()
String
marker()
An optional pagination token provided by a previousDescribeEndpointAuthorization
request.Integer
maxRecords()
The maximum number of records to include in the response.List<SdkField<?>>
sdkFields()
static Class<? extends DescribeEndpointAuthorizationRequest.Builder>
serializableBuilderClass()
DescribeEndpointAuthorizationRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clusterIdentifier
public final String clusterIdentifier()
The cluster identifier of the cluster to access.
- Returns:
- The cluster identifier of the cluster to access.
-
account
public final String account()
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If
Grantee
parameter is true, then theAccount
value is of the grantor.- Returns:
- The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If
Grantee
parameter is true, then theAccount
value is of the grantor.
-
grantee
public final 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.
- Returns:
- 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.
-
maxRecords
public final 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 aMarker
is included in the response so that the remaining results can be retrieved.- Returns:
- The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called aMarker
is included in the response so that the remaining results can be retrieved.
-
marker
public final 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 theMaxRecords
parameter.- Returns:
- 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 theMaxRecords
parameter.
-
toBuilder
public DescribeEndpointAuthorizationRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DescribeEndpointAuthorizationRequest.Builder,DescribeEndpointAuthorizationRequest>
- Specified by:
toBuilder
in classRedshiftRequest
-
builder
public static DescribeEndpointAuthorizationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeEndpointAuthorizationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-