@Generated(value="software.amazon.awssdk:codegen") public final class Profile extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Profile.Builder,Profile>
A profile.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Profile.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Profile.Builder |
builder() |
Instant |
createdAt()
Returns the value of the CreatedAt property for this object.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasProfileQuestions()
For responses, this returns true if the service returned a value for the ProfileQuestions property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
owner()
Returns the value of the Owner property for this object.
|
String |
profileArn()
The profile ARN.
|
String |
profileDescription()
The profile description.
|
String |
profileName()
The profile name.
|
List<ProfileQuestion> |
profileQuestions()
Profile questions.
|
String |
profileVersion()
The profile version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Profile.Builder> |
serializableBuilderClass() |
String |
shareInvitationId()
The ID assigned to the share invitation.
|
Map<String,String> |
tags()
The tags assigned to the profile.
|
Profile.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
Returns the value of the UpdatedAt property for this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String profileArn()
The profile ARN.
public final String profileVersion()
The profile version.
public final String profileName()
The profile name.
public final String profileDescription()
The profile description.
public final boolean hasProfileQuestions()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ProfileQuestion> profileQuestions()
Profile questions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasProfileQuestions() method.
public final String owner()
public final Instant createdAt()
public final Instant updatedAt()
public final String shareInvitationId()
The ID assigned to the share invitation.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
The tags assigned to the profile.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public Profile.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Profile.Builder,Profile>public static Profile.Builder builder()
public static Class<? extends Profile.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.