Class NetworkInterfacePermission
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NetworkInterfacePermission.Builder,NetworkInterfacePermission>
Describes a permission for a network interface.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Amazon Web Services account ID.final StringThe Amazon Web Services service.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of the network interface.final StringThe ID of the network interface permission.final InterfacePermissionTypeThe type of permission.final StringThe type of permission.Information about the state of the permission.static Class<? extends NetworkInterfacePermission.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
networkInterfacePermissionId
The ID of the network interface permission.
- Returns:
- The ID of the network interface permission.
-
networkInterfaceId
The ID of the network interface.
- Returns:
- The ID of the network interface.
-
awsAccountId
The Amazon Web Services account ID.
- Returns:
- The Amazon Web Services account ID.
-
awsService
The Amazon Web Services service.
- Returns:
- The Amazon Web Services service.
-
permission
The type of permission.
If the service returns an enum value that is not available in the current SDK version,
permissionwill returnInterfacePermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionAsString().- Returns:
- The type of permission.
- See Also:
-
permissionAsString
The type of permission.
If the service returns an enum value that is not available in the current SDK version,
permissionwill returnInterfacePermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionAsString().- Returns:
- The type of permission.
- See Also:
-
permissionState
Information about the state of the permission.
- Returns:
- Information about the state of the permission.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<NetworkInterfacePermission.Builder,NetworkInterfacePermission>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-