Class Pipe
- java.lang.Object
-
- software.amazon.awssdk.services.pipes.model.Pipe
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Pipe.Builder,Pipe>
@Generated("software.amazon.awssdk:codegen") public final class Pipe extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Pipe.Builder,Pipe>
An object that represents a pipe. Amazon EventBridgePipes connect event sources to targets and reduces the need for specialized knowledge and integration code.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePipe.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the pipe.static Pipe.Builderbuilder()InstantcreationTime()The time the pipe was created.PipeStatecurrentState()The state the pipe is in.StringcurrentStateAsString()The state the pipe is in.RequestedPipeStatedesiredState()The state the pipe should be in.StringdesiredStateAsString()The state the pipe should be in.Stringenrichment()The ARN of the enrichment resource.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedTime()When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).Stringname()The name of the pipe.List<SdkField<?>>sdkFields()static Class<? extends Pipe.Builder>serializableBuilderClass()Stringsource()The ARN of the source resource.StringstateReason()The reason the pipe is in its current state.Stringtarget()The ARN of the target resource.Pipe.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
-
arn
public final String arn()
The ARN of the pipe.
- Returns:
- The ARN of the pipe.
-
creationTime
public final Instant creationTime()
The time the pipe was created.
- Returns:
- The time the pipe was created.
-
currentState
public final PipeState currentState()
The state the pipe is in.
If the service returns an enum value that is not available in the current SDK version,
currentStatewill returnPipeState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrentStateAsString().- Returns:
- The state the pipe is in.
- See Also:
PipeState
-
currentStateAsString
public final String currentStateAsString()
The state the pipe is in.
If the service returns an enum value that is not available in the current SDK version,
currentStatewill returnPipeState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrentStateAsString().- Returns:
- The state the pipe is in.
- See Also:
PipeState
-
desiredState
public final RequestedPipeState desiredState()
The state the pipe should be in.
If the service returns an enum value that is not available in the current SDK version,
desiredStatewill returnRequestedPipeState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdesiredStateAsString().- Returns:
- The state the pipe should be in.
- See Also:
RequestedPipeState
-
desiredStateAsString
public final String desiredStateAsString()
The state the pipe should be in.
If the service returns an enum value that is not available in the current SDK version,
desiredStatewill returnRequestedPipeState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdesiredStateAsString().- Returns:
- The state the pipe should be in.
- See Also:
RequestedPipeState
-
enrichment
public final String enrichment()
The ARN of the enrichment resource.
- Returns:
- The ARN of the enrichment resource.
-
lastModifiedTime
public final Instant lastModifiedTime()
When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Returns:
- When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
-
name
public final String name()
The name of the pipe.
- Returns:
- The name of the pipe.
-
source
public final String source()
The ARN of the source resource.
- Returns:
- The ARN of the source resource.
-
stateReason
public final String stateReason()
The reason the pipe is in its current state.
- Returns:
- The reason the pipe is in its current state.
-
target
public final String target()
The ARN of the target resource.
- Returns:
- The ARN of the target resource.
-
toBuilder
public Pipe.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Pipe.Builder,Pipe>
-
builder
public static Pipe.Builder builder()
-
serializableBuilderClass
public static Class<? extends Pipe.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.
-
-