@Generated(value="software.amazon.awssdk:codegen") public final class EndpointAuthorization extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EndpointAuthorization.Builder,EndpointAuthorization>
Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EndpointAuthorization.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowedAllVPCs()
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
|
List<String> |
allowedVPCs()
The VPCs allowed access to the cluster.
|
Instant |
authorizeTime()
The time (UTC) when the authorization was created.
|
static EndpointAuthorization.Builder |
builder() |
String |
clusterIdentifier()
The cluster identifier.
|
String |
clusterStatus()
The status of the cluster.
|
Integer |
endpointCount()
The number of Redshift-managed VPC endpoints created for the authorization.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
grantee()
The AWS account ID of the grantee of the cluster.
|
String |
grantor()
The AWS account ID of the cluster owner.
|
boolean |
hasAllowedVPCs()
Returns true if the AllowedVPCs property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EndpointAuthorization.Builder> |
serializableBuilderClass() |
AuthorizationStatus |
status()
The status of the authorization action.
|
String |
statusAsString()
The status of the authorization action.
|
EndpointAuthorization.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String grantor()
The AWS account ID of the cluster owner.
public final String grantee()
The AWS account ID of the grantee of the cluster.
public final String clusterIdentifier()
The cluster identifier.
public final Instant authorizeTime()
The time (UTC) when the authorization was created.
public final String clusterStatus()
The status of the cluster.
public final AuthorizationStatus status()
The status of the authorization action.
If the service returns an enum value that is not available in the current SDK version, status will
return AuthorizationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
AuthorizationStatuspublic final String statusAsString()
The status of the authorization action.
If the service returns an enum value that is not available in the current SDK version, status will
return AuthorizationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
AuthorizationStatuspublic final Boolean allowedAllVPCs()
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
public final boolean hasAllowedVPCs()
public final List<String> allowedVPCs()
The VPCs allowed access to the cluster.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAllowedVPCs() to see if a value was sent in this field.
public final Integer endpointCount()
The number of Redshift-managed VPC endpoints created for the authorization.
public EndpointAuthorization.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EndpointAuthorization.Builder,EndpointAuthorization>public static EndpointAuthorization.Builder builder()
public static Class<? extends EndpointAuthorization.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.