Class PipeTargetEventBridgeEventBusParameters
- java.lang.Object
-
- software.amazon.awssdk.services.pipes.model.PipeTargetEventBridgeEventBusParameters
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PipeTargetEventBridgeEventBusParameters.Builder,PipeTargetEventBridgeEventBusParameters>
@Generated("software.amazon.awssdk:codegen") public final class PipeTargetEventBridgeEventBusParameters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PipeTargetEventBridgeEventBusParameters.Builder,PipeTargetEventBridgeEventBusParameters>
The parameters for using an EventBridge event bus as a target.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePipeTargetEventBridgeEventBusParameters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PipeTargetEventBridgeEventBusParameters.Builderbuilder()StringdetailType()A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.StringendpointId()The URL subdomain of the endpoint.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasResources()For responses, this returns true if the service returned a value for the Resources property.List<String>resources()Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.List<SdkField<?>>sdkFields()static Class<? extends PipeTargetEventBridgeEventBusParameters.Builder>serializableBuilderClass()Stringsource()The source of the event.Stringtime()The time stamp of the event, per RFC3339.PipeTargetEventBridgeEventBusParameters.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
detailType
public final String detailType()
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
- Returns:
- A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
-
endpointId
public final String endpointId()
The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is
abcde.veo.- Returns:
- The URL subdomain of the endpoint. For example, if the URL for Endpoint is
https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is
abcde.veo.
-
hasResources
public final boolean hasResources()
For responses, this returns true if the service returned a value for the Resources property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
resources
public final List<String> resources()
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasResources()method.- Returns:
- Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
-
source
public final String source()
The source of the event.
- Returns:
- The source of the event.
-
time
public final String time()
-
toBuilder
public PipeTargetEventBridgeEventBusParameters.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PipeTargetEventBridgeEventBusParameters.Builder,PipeTargetEventBridgeEventBusParameters>
-
builder
public static PipeTargetEventBridgeEventBusParameters.Builder builder()
-
serializableBuilderClass
public static Class<? extends PipeTargetEventBridgeEventBusParameters.Builder> serializableBuilderClass()
-
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.
-
-