Class AuthorizationRule
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.AuthorizationRule
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AuthorizationRule.Builder,AuthorizationRule>
@Generated("software.amazon.awssdk:codegen") public final class AuthorizationRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AuthorizationRule.Builder,AuthorizationRule>
Information about an authorization rule.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AuthorizationRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
accessAll()
Indicates whether the authorization rule grants access to all clients.static AuthorizationRule.Builder
builder()
String
clientVpnEndpointId()
The ID of the Client VPN endpoint with which the authorization rule is associated.String
description()
A brief description of the authorization rule.String
destinationCidr()
The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
String
groupId()
The ID of the Active Directory group to which the authorization rule grants access.int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends AuthorizationRule.Builder>
serializableBuilderClass()
ClientVpnAuthorizationRuleStatus
status()
The current state of the authorization rule.AuthorizationRule.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
clientVpnEndpointId
public final String clientVpnEndpointId()
The ID of the Client VPN endpoint with which the authorization rule is associated.
- Returns:
- The ID of the Client VPN endpoint with which the authorization rule is associated.
-
description
public final String description()
A brief description of the authorization rule.
- Returns:
- A brief description of the authorization rule.
-
groupId
public final String groupId()
The ID of the Active Directory group to which the authorization rule grants access.
- Returns:
- The ID of the Active Directory group to which the authorization rule grants access.
-
accessAll
public final Boolean accessAll()
Indicates whether the authorization rule grants access to all clients.
- Returns:
- Indicates whether the authorization rule grants access to all clients.
-
destinationCidr
public final String destinationCidr()
The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.
- Returns:
- The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.
-
status
public final ClientVpnAuthorizationRuleStatus status()
The current state of the authorization rule.
- Returns:
- The current state of the authorization rule.
-
toBuilder
public AuthorizationRule.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AuthorizationRule.Builder,AuthorizationRule>
-
builder
public static AuthorizationRule.Builder builder()
-
serializableBuilderClass
public static Class<? extends AuthorizationRule.Builder> serializableBuilderClass()
-
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.
-
-