Class PermissionSetAssignment
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PermissionSetAssignment.Builder,PermissionSetAssignment>
A permission set assignment record.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe unique identifier of the permission set assignment.builder()final InstantThe timestamp when the assignment was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe identifier of the permission set.final StringThe unique identifier of the principal the permission set is assigned to.final PrincipalTypeThe type of principal the permission set is assigned to.final StringThe type of principal the permission set is assigned to.final StringscopeId()The identifier of the scoped resource.final ScopeTypeThe type of the assignment scope.final StringThe type of the assignment scope.static Class<? extends PermissionSetAssignment.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
assignmentId
The unique identifier of the permission set assignment.
- Returns:
- The unique identifier of the permission set assignment.
-
principalType
The type of principal the permission set is assigned to.
If the service returns an enum value that is not available in the current SDK version,
principalTypewill returnPrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprincipalTypeAsString().- Returns:
- The type of principal the permission set is assigned to.
- See Also:
-
principalTypeAsString
The type of principal the permission set is assigned to.
If the service returns an enum value that is not available in the current SDK version,
principalTypewill returnPrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprincipalTypeAsString().- Returns:
- The type of principal the permission set is assigned to.
- See Also:
-
principalId
The unique identifier of the principal the permission set is assigned to.
- Returns:
- The unique identifier of the principal the permission set is assigned to.
-
permissionSetId
The identifier of the permission set.
- Returns:
- The identifier of the permission set.
-
scopeType
The type of the assignment scope. ENVIRONMENT for an environment-wide assignment, PROJECT when the assignment is scoped to the project named by scopeId.
If the service returns an enum value that is not available in the current SDK version,
scopeTypewill returnScopeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeTypeAsString().- Returns:
- The type of the assignment scope. ENVIRONMENT for an environment-wide assignment, PROJECT when the assignment is scoped to the project named by scopeId.
- See Also:
-
scopeTypeAsString
The type of the assignment scope. ENVIRONMENT for an environment-wide assignment, PROJECT when the assignment is scoped to the project named by scopeId.
If the service returns an enum value that is not available in the current SDK version,
scopeTypewill returnScopeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeTypeAsString().- Returns:
- The type of the assignment scope. ENVIRONMENT for an environment-wide assignment, PROJECT when the assignment is scoped to the project named by scopeId.
- See Also:
-
scopeId
The identifier of the scoped resource. Omitted for environment-wide assignments.
- Returns:
- The identifier of the scoped resource. Omitted for environment-wide assignments.
-
createdAt
The timestamp when the assignment was created.
- Returns:
- The timestamp when the assignment was created.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PermissionSetAssignment.Builder,PermissionSetAssignment> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-