@Generated(value="software.amazon.awssdk:codegen") public final class Permission extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Permission.Builder,Permission>
Contains information on the permissions an account has within Amazon Inspector.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Permission.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Permission.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Operation |
operation()
The operations that can be performed with the given permissions.
|
String |
operationAsString()
The operations that can be performed with the given permissions.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Permission.Builder> |
serializableBuilderClass() |
Service |
service()
The services that the permissions allow an account to perform the given operations for.
|
String |
serviceAsString()
The services that the permissions allow an account to perform the given operations for.
|
Permission.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Operation operation()
The operations that can be performed with the given permissions.
If the service returns an enum value that is not available in the current SDK version, operation will
return Operation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
operationAsString().
Operationpublic final String operationAsString()
The operations that can be performed with the given permissions.
If the service returns an enum value that is not available in the current SDK version, operation will
return Operation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
operationAsString().
Operationpublic final Service service()
The services that the permissions allow an account to perform the given operations for.
If the service returns an enum value that is not available in the current SDK version, service will
return Service.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
serviceAsString().
Servicepublic final String serviceAsString()
The services that the permissions allow an account to perform the given operations for.
If the service returns an enum value that is not available in the current SDK version, service will
return Service.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
serviceAsString().
Servicepublic Permission.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Permission.Builder,Permission>public static Permission.Builder builder()
public static Class<? extends Permission.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.