Class GetProfileResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.b2bi.model.B2BiResponse
-
- software.amazon.awssdk.services.b2bi.model.GetProfileResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetProfileResponse.Builder,GetProfileResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetProfileResponse extends B2BiResponse implements ToCopyableBuilder<GetProfileResponse.Builder,GetProfileResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetProfileResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetProfileResponse.Builderbuilder()StringbusinessName()Returns the name for the business associated with this profile.InstantcreatedAt()Returns a timestamp for creation date and time of the transformer.Stringemail()Returns the email address associated with this customer profile.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Logginglogging()Returns whether or not logging is enabled for this profile.StringloggingAsString()Returns whether or not logging is enabled for this profile.StringlogGroupName()Returns the name of the logging group.InstantmodifiedAt()Returns a timestamp for last time the profile was modified.Stringname()Returns the name of the profile, used to identify it.Stringphone()Returns the phone number associated with the profile.StringprofileArn()Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.StringprofileId()Returns the unique, system-generated identifier for the profile.List<SdkField<?>>sdkFields()static Class<? extends GetProfileResponse.Builder>serializableBuilderClass()GetProfileResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.b2bi.model.B2BiResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
profileId
public final String profileId()
Returns the unique, system-generated identifier for the profile.
- Returns:
- Returns the unique, system-generated identifier for the profile.
-
profileArn
public final String profileArn()
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
- Returns:
- Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
-
name
public final String name()
Returns the name of the profile, used to identify it.
- Returns:
- Returns the name of the profile, used to identify it.
-
email
public final String email()
Returns the email address associated with this customer profile.
- Returns:
- Returns the email address associated with this customer profile.
-
phone
public final String phone()
Returns the phone number associated with the profile.
- Returns:
- Returns the phone number associated with the profile.
-
businessName
public final String businessName()
Returns the name for the business associated with this profile.
- Returns:
- Returns the name for the business associated with this profile.
-
logging
public final Logging logging()
Returns whether or not logging is enabled for this profile.
If the service returns an enum value that is not available in the current SDK version,
loggingwill returnLogging.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromloggingAsString().- Returns:
- Returns whether or not logging is enabled for this profile.
- See Also:
Logging
-
loggingAsString
public final String loggingAsString()
Returns whether or not logging is enabled for this profile.
If the service returns an enum value that is not available in the current SDK version,
loggingwill returnLogging.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromloggingAsString().- Returns:
- Returns whether or not logging is enabled for this profile.
- See Also:
Logging
-
logGroupName
public final String logGroupName()
Returns the name of the logging group.
- Returns:
- Returns the name of the logging group.
-
createdAt
public final Instant createdAt()
Returns a timestamp for creation date and time of the transformer.
- Returns:
- Returns a timestamp for creation date and time of the transformer.
-
modifiedAt
public final Instant modifiedAt()
Returns a timestamp for last time the profile was modified.
- Returns:
- Returns a timestamp for last time the profile was modified.
-
toBuilder
public GetProfileResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetProfileResponse.Builder,GetProfileResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetProfileResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetProfileResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-