Class SubscriberSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SubscriberSummary.Builder,SubscriberSummary>
Summary of a subscriber, as returned by ListSubscribers.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SubscriberSummary.Builderbuilder()final InstantThe time the subscriber was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringReturns the value of the EventBusArn property for this object.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe time the subscriber was last modified.final Stringname()Returns the value of the Name property for this object.final Booleanrevoked()True when the bus owner has revoked this subscriber.static Class<? extends SubscriberSummary.Builder> final SubscriberStatestate()Returns the value of the State property for this object.final StringReturns the value of the State property for this object.final StringReturns the value of the SubscriberAccountId property for this object.final StringReturns the value of the SubscriberArn property for this object.final StringReturns the value of the TargetArn property for this object.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.final OrderingTypetype()Returns the value of the Type property for this object.final StringReturns the value of the Type property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
subscriberArn
Returns the value of the SubscriberArn property for this object.- Returns:
- The value of the SubscriberArn property for this object.
-
name
Returns the value of the Name property for this object.- Returns:
- The value of the Name property for this object.
-
eventBusArn
Returns the value of the EventBusArn property for this object.- Returns:
- The value of the EventBusArn property for this object.
-
targetArn
Returns the value of the TargetArn property for this object.- Returns:
- The value of the TargetArn property for this object.
-
type
Returns the value of the Type property for this object.If the service returns an enum value that is not available in the current SDK version,
typewill returnOrderingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The value of the Type property for this object.
- See Also:
-
typeAsString
Returns the value of the Type property for this object.If the service returns an enum value that is not available in the current SDK version,
typewill returnOrderingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The value of the Type property for this object.
- See Also:
-
revoked
True when the bus owner has revoked this subscriber. Present only when true, so a bus owner listing subscribers sees at a glance which ones they revoked. See DescribeSubscriberResponse$Revoked.
- Returns:
- True when the bus owner has revoked this subscriber. Present only when true, so a bus owner listing subscribers sees at a glance which ones they revoked. See DescribeSubscriberResponse$Revoked.
-
state
Returns the value of the State property for this object.If the service returns an enum value that is not available in the current SDK version,
statewill returnSubscriberState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The value of the State property for this object.
- See Also:
-
stateAsString
Returns the value of the State property for this object.If the service returns an enum value that is not available in the current SDK version,
statewill returnSubscriberState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The value of the State property for this object.
- See Also:
-
creationTime
The time the subscriber was created.
- Returns:
- The time the subscriber was created.
-
lastModifiedTime
The time the subscriber was last modified.
- Returns:
- The time the subscriber was last modified.
-
subscriberAccountId
Returns the value of the SubscriberAccountId property for this object.- Returns:
- The value of the SubscriberAccountId property for this object.
-
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<SubscriberSummary.Builder,SubscriberSummary> - 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.
-