Class SocialConnectionSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SocialConnectionSummary.Builder,SocialConnectionSummary>
Summary of a social connection returned by ListSocialConnections.
Carries no ARN (owner ruling 2026-10-05): a connection is addressed by its Id. Social connections are
not taggable, and every social operation authorizes on its action rather than on a resource ARN.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringDisplay name of the account behind this connection.builder()final InstantWhen the account was last authorized.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final InstantWhen the authorization lapses.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()Identifier of the social connection.final StringpageName()The Facebook Page this connection publishes to.final Platformplatform()Social platform this connection authorizes.final StringSocial platform this connection authorizes.static Class<? extends SocialConnectionSummary.Builder> final SocialConnectionStatusstatus()Authorization state.final StringAuthorization state.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
Identifier of the social connection.
- Returns:
- Identifier of the social connection.
-
platform
Social platform this connection authorizes.
If the service returns an enum value that is not available in the current SDK version,
platformwill returnPlatform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromplatformAsString().- Returns:
- Social platform this connection authorizes.
- See Also:
-
platformAsString
Social platform this connection authorizes.
If the service returns an enum value that is not available in the current SDK version,
platformwill returnPlatform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromplatformAsString().- Returns:
- Social platform this connection authorizes.
- See Also:
-
status
Authorization state.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSocialConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Authorization state.
- See Also:
-
statusAsString
Authorization state.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSocialConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Authorization state.
- See Also:
-
pageName
The Facebook Page this connection publishes to. Absent where no Page applies.
- Returns:
- The Facebook Page this connection publishes to. Absent where no Page applies.
-
accountName
Display name of the account behind this connection. Absent when the execution backend reports none.
- Returns:
- Display name of the account behind this connection. Absent when the execution backend reports none.
-
connectedAt
When the account was last authorized. Advances on every re-authorization.
- Returns:
- When the account was last authorized. Advances on every re-authorization.
-
expiresAt
When the authorization lapses. Absent where the platform reports no expiry (X never does). A connection past this time reads EXPIRED only once the backend notices, so treat this as a warning date, not a status.
- Returns:
- When the authorization lapses. Absent where the platform reports no expiry (X never does). A connection past this time reads EXPIRED only once the backend notices, so treat this as a warning date, not a status.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SocialConnectionSummary.Builder,SocialConnectionSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-