Class EventSourceSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventSourceSummary.Builder,EventSourceSummary>
Summary of an EventSource, as returned by ListEventSources.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic EventSourceSummary.Builderbuilder()final InstantThe time the EventSource was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe Amazon Resource Name (ARN) that uniquely identifies an event bus.final StringAWS Account Id.final StringEventSource ARN: event-sourcev2/<type>/<name>/<id>.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe time the EventSource was last modified.final Stringname()EventSource name.final Booleanrevoked()True when the bus owner has withdrawn this EventSource.static Class<? extends EventSourceSummary.Builder> final EventSourceStatestate()Lifecycle state of an EventSource.final StringLifecycle state of an EventSource.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 EventSourceTypetype()Origin type of an EventSource.final StringOrigin type of an EventSource.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
eventSourceArn
EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events, webhook for webhook events) and is not part of the resource's name. The id segment is a 25-character identifier generated by the service.
- Returns:
- EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events, webhook for webhook events) and is not part of the resource's name. The id segment is a 25-character identifier generated by the service.
-
name
EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not begin with the reserved "aws." prefix. The grammar matches the ARN local-name segment in EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring EventBusName, so a name the ARN cannot represent cannot be created.
- Returns:
- EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not begin with the reserved "aws." prefix. The grammar matches the ARN local-name segment in EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring EventBusName, so a name the ARN cannot represent cannot be created.
-
eventBusArn
The Amazon Resource Name (ARN) that uniquely identifies an event bus.
- Returns:
- The Amazon Resource Name (ARN) that uniquely identifies an event bus.
-
type
Origin type of an EventSource.
-
AWS_SERVICE_EVENTS - Events from an AWS service.
-
PARTNER_EVENTS - Events from a partner event source.
-
WEBHOOK_EVENTS - Events that a third-party provider sends to a webhook URL.
If the service returns an enum value that is not available in the current SDK version,
typewill returnEventSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Origin type of an EventSource.
-
AWS_SERVICE_EVENTS - Events from an AWS service.
-
PARTNER_EVENTS - Events from a partner event source.
-
WEBHOOK_EVENTS - Events that a third-party provider sends to a webhook URL.
-
- See Also:
-
-
typeAsString
Origin type of an EventSource.
-
AWS_SERVICE_EVENTS - Events from an AWS service.
-
PARTNER_EVENTS - Events from a partner event source.
-
WEBHOOK_EVENTS - Events that a third-party provider sends to a webhook URL.
If the service returns an enum value that is not available in the current SDK version,
typewill returnEventSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Origin type of an EventSource.
-
AWS_SERVICE_EVENTS - Events from an AWS service.
-
PARTNER_EVENTS - Events from a partner event source.
-
WEBHOOK_EVENTS - Events that a third-party provider sends to a webhook URL.
-
- See Also:
-
-
state
Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.
If the service returns an enum value that is not available in the current SDK version,
statewill returnEventSourceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.
- See Also:
-
stateAsString
Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.
If the service returns an enum value that is not available in the current SDK version,
statewill returnEventSourceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.
- See Also:
-
revoked
True when the bus owner has withdrawn this EventSource. Present only when true, so a bus owner listing EventSources sees at a glance which ones they revoked. See DescribeEventSourceResponse$Revoked.
- Returns:
- True when the bus owner has withdrawn this EventSource. Present only when true, so a bus owner listing EventSources sees at a glance which ones they revoked. See DescribeEventSourceResponse$Revoked.
-
creationTime
The time the EventSource was created.
- Returns:
- The time the EventSource was created.
-
lastModifiedTime
The time the EventSource was last modified.
- Returns:
- The time the EventSource was last modified.
-
eventSourceAccountId
-
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<EventSourceSummary.Builder,EventSourceSummary> - 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.
-