@Generated(value="software.amazon.awssdk:codegen") public final class AwsIamUserDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsIamUserDetails.Builder,AwsIamUserDetails>
Information about an IAM user.
Modifier and Type | Class and Description |
---|---|
static interface |
AwsIamUserDetails.Builder |
Modifier and Type | Method and Description |
---|---|
List<AwsIamAttachedManagedPolicy> |
attachedManagedPolicies()
A list of the managed policies that are attached to the user.
|
static AwsIamUserDetails.Builder |
builder() |
String |
createDate()
Indicates when the user was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<String> |
groupList()
A list of IAM groups that the user belongs to.
|
boolean |
hasAttachedManagedPolicies()
Returns true if the AttachedManagedPolicies property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasGroupList()
Returns true if the GroupList 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() |
boolean |
hasUserPolicyList()
Returns true if the UserPolicyList property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
path()
The path to the user.
|
AwsIamPermissionsBoundary |
permissionsBoundary()
The permissions boundary for the user.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsIamUserDetails.Builder> |
serializableBuilderClass() |
AwsIamUserDetails.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
String |
userId()
The unique identifier for the user.
|
String |
userName()
The name of the user.
|
List<AwsIamUserPolicy> |
userPolicyList()
The list of inline policies that are embedded in the user.
|
copy
public final boolean hasAttachedManagedPolicies()
public final List<AwsIamAttachedManagedPolicy> attachedManagedPolicies()
A list of the managed policies that are attached to the user.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAttachedManagedPolicies()
to see if a value was sent in this field.
public final String createDate()
Indicates when the user was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public final boolean hasGroupList()
public final List<String> groupList()
A list of IAM groups that the user belongs to.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroupList()
to see if a value was sent in this field.
public final String path()
The path to the user.
public final AwsIamPermissionsBoundary permissionsBoundary()
The permissions boundary for the user.
public final String userId()
The unique identifier for the user.
public final String userName()
The name of the user.
public final boolean hasUserPolicyList()
public final List<AwsIamUserPolicy> userPolicyList()
The list of inline policies that are embedded in the user.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasUserPolicyList()
to see if a value was sent in this field.
public AwsIamUserDetails.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AwsIamUserDetails.Builder,AwsIamUserDetails>
public static AwsIamUserDetails.Builder builder()
public static Class<? extends AwsIamUserDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.