Class CreatedByInfo
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.CreatedByInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CreatedByInfo.Builder,CreatedByInfo>
@Generated("software.amazon.awssdk:codegen") public final class CreatedByInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreatedByInfo.Builder,CreatedByInfo>
Information on the identity that created the file.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreatedByInfo.Builderstatic classCreatedByInfo.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringawsIdentityArn()STS or IAM ARN representing the identity of API Caller.static CreatedByInfo.Builderbuilder()StringconnectUserArn()An agent ARN representing a connect user.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static CreatedByInfofromAwsIdentityArn(String awsIdentityArn)Create an instance of this class withawsIdentityArn()initialized to the given value.static CreatedByInfofromConnectUserArn(String connectUserArn)Create an instance of this class withconnectUserArn()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CreatedByInfo.Builder>serializableBuilderClass()CreatedByInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.CreatedByInfo.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
connectUserArn
public final String connectUserArn()
An agent ARN representing a connect user.
- Returns:
- An agent ARN representing a connect user.
-
awsIdentityArn
public final String awsIdentityArn()
STS or IAM ARN representing the identity of API Caller. SDK users cannot populate this and this value is calculated automatically if
ConnectUserArnis not provided.- Returns:
- STS or IAM ARN representing the identity of API Caller. SDK users cannot populate this and this value is
calculated automatically if
ConnectUserArnis not provided.
-
toBuilder
public CreatedByInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreatedByInfo.Builder,CreatedByInfo>
-
builder
public static CreatedByInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreatedByInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
fromConnectUserArn
public static CreatedByInfo fromConnectUserArn(String connectUserArn)
Create an instance of this class withconnectUserArn()initialized to the given value.An agent ARN representing a connect user.
- Parameters:
connectUserArn- An agent ARN representing a connect user.
-
fromAwsIdentityArn
public static CreatedByInfo fromAwsIdentityArn(String awsIdentityArn)
Create an instance of this class withawsIdentityArn()initialized to the given value.STS or IAM ARN representing the identity of API Caller. SDK users cannot populate this and this value is calculated automatically if
ConnectUserArnis not provided.- Parameters:
awsIdentityArn- STS or IAM ARN representing the identity of API Caller. SDK users cannot populate this and this value is calculated automatically ifConnectUserArnis not provided.
-
type
public CreatedByInfo.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beCreatedByInfo.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beCreatedByInfo.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-