Class CreateProfileResponse
- 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.CreateProfileResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateProfileResponse.Builder,CreateProfileResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateProfileResponse extends B2BiResponse implements ToCopyableBuilder<CreateProfileResponse.Builder,CreateProfileResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateProfileResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateProfileResponse.Builderbuilder()StringbusinessName()Returns the name for the business associated with this profile.InstantcreatedAt()Returns a timestamp representing the time the profile was created.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 turned on for this profile.StringloggingAsString()Returns whether or not logging is turned on for this profile.StringlogGroupName()Returns the name of the logging group.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 the profile.StringprofileId()Returns the unique, system-generated identifier for the profile.List<SdkField<?>>sdkFields()static Class<? extends CreateProfileResponse.Builder>serializableBuilderClass()CreateProfileResponse.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 the profile.
- Returns:
- Returns an Amazon Resource Name (ARN) for the profile.
-
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.
-
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.
-
phone
public final String phone()
Returns the phone number associated with the profile.
- Returns:
- Returns the phone number associated with the profile.
-
email
public final String email()
Returns the email address associated with this customer profile.
- Returns:
- Returns the email address associated with this customer profile.
-
logging
public final Logging logging()
Returns whether or not logging is turned on 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 turned on for this profile.
- See Also:
Logging
-
loggingAsString
public final String loggingAsString()
Returns whether or not logging is turned on 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 turned on 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 representing the time the profile was created.
- Returns:
- Returns a timestamp representing the time the profile was created.
-
toBuilder
public CreateProfileResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateProfileResponse.Builder,CreateProfileResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateProfileResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateProfileResponse.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
-
-