@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Pipe extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a pipe. Amazon EventBridgePipes connect event sources to targets and reduces the need for specialized knowledge and integration code.
Constructor and Description |
---|
Pipe() |
Modifier and Type | Method and Description |
---|---|
Pipe |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the pipe.
|
Date |
getCreationTime()
The time the pipe was created.
|
String |
getCurrentState()
The state the pipe is in.
|
String |
getDesiredState()
The state the pipe should be in.
|
String |
getEnrichment()
The ARN of the enrichment resource.
|
Date |
getLastModifiedTime()
When the pipe was last updated, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
|
String |
getName()
The name of the pipe.
|
String |
getSource()
The ARN of the source resource.
|
String |
getStateReason()
The reason the pipe is in its current state.
|
String |
getTarget()
The ARN of the target resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the pipe.
|
void |
setCreationTime(Date creationTime)
The time the pipe was created.
|
void |
setCurrentState(String currentState)
The state the pipe is in.
|
void |
setDesiredState(String desiredState)
The state the pipe should be in.
|
void |
setEnrichment(String enrichment)
The ARN of the enrichment resource.
|
void |
setLastModifiedTime(Date lastModifiedTime)
When the pipe was last updated, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
|
void |
setName(String name)
The name of the pipe.
|
void |
setSource(String source)
The ARN of the source resource.
|
void |
setStateReason(String stateReason)
The reason the pipe is in its current state.
|
void |
setTarget(String target)
The ARN of the target resource.
|
String |
toString()
Returns a string representation of this object.
|
Pipe |
withArn(String arn)
The ARN of the pipe.
|
Pipe |
withCreationTime(Date creationTime)
The time the pipe was created.
|
Pipe |
withCurrentState(PipeState currentState)
The state the pipe is in.
|
Pipe |
withCurrentState(String currentState)
The state the pipe is in.
|
Pipe |
withDesiredState(RequestedPipeState desiredState)
The state the pipe should be in.
|
Pipe |
withDesiredState(String desiredState)
The state the pipe should be in.
|
Pipe |
withEnrichment(String enrichment)
The ARN of the enrichment resource.
|
Pipe |
withLastModifiedTime(Date lastModifiedTime)
When the pipe was last updated, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
|
Pipe |
withName(String name)
The name of the pipe.
|
Pipe |
withSource(String source)
The ARN of the source resource.
|
Pipe |
withStateReason(String stateReason)
The reason the pipe is in its current state.
|
Pipe |
withTarget(String target)
The ARN of the target resource.
|
public void setName(String name)
The name of the pipe.
name
- The name of the pipe.public String getName()
The name of the pipe.
public Pipe withName(String name)
The name of the pipe.
name
- The name of the pipe.public void setArn(String arn)
The ARN of the pipe.
arn
- The ARN of the pipe.public String getArn()
The ARN of the pipe.
public Pipe withArn(String arn)
The ARN of the pipe.
arn
- The ARN of the pipe.public void setDesiredState(String desiredState)
The state the pipe should be in.
desiredState
- The state the pipe should be in.RequestedPipeState
public String getDesiredState()
The state the pipe should be in.
RequestedPipeState
public Pipe withDesiredState(String desiredState)
The state the pipe should be in.
desiredState
- The state the pipe should be in.RequestedPipeState
public Pipe withDesiredState(RequestedPipeState desiredState)
The state the pipe should be in.
desiredState
- The state the pipe should be in.RequestedPipeState
public void setCurrentState(String currentState)
The state the pipe is in.
currentState
- The state the pipe is in.PipeState
public String getCurrentState()
The state the pipe is in.
PipeState
public Pipe withCurrentState(String currentState)
The state the pipe is in.
currentState
- The state the pipe is in.PipeState
public Pipe withCurrentState(PipeState currentState)
The state the pipe is in.
currentState
- The state the pipe is in.PipeState
public void setStateReason(String stateReason)
The reason the pipe is in its current state.
stateReason
- The reason the pipe is in its current state.public String getStateReason()
The reason the pipe is in its current state.
public Pipe withStateReason(String stateReason)
The reason the pipe is in its current state.
stateReason
- The reason the pipe is in its current state.public void setCreationTime(Date creationTime)
The time the pipe was created.
creationTime
- The time the pipe was created.public Date getCreationTime()
The time the pipe was created.
public Pipe withCreationTime(Date creationTime)
The time the pipe was created.
creationTime
- The time the pipe was created.public void setLastModifiedTime(Date lastModifiedTime)
When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
lastModifiedTime
- When the pipe was last updated, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).public Date getLastModifiedTime()
When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
public Pipe withLastModifiedTime(Date lastModifiedTime)
When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
lastModifiedTime
- When the pipe was last updated, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).public void setSource(String source)
The ARN of the source resource.
source
- The ARN of the source resource.public String getSource()
The ARN of the source resource.
public Pipe withSource(String source)
The ARN of the source resource.
source
- The ARN of the source resource.public void setTarget(String target)
The ARN of the target resource.
target
- The ARN of the target resource.public String getTarget()
The ARN of the target resource.
public Pipe withTarget(String target)
The ARN of the target resource.
target
- The ARN of the target resource.public void setEnrichment(String enrichment)
The ARN of the enrichment resource.
enrichment
- The ARN of the enrichment resource.public String getEnrichment()
The ARN of the enrichment resource.
public Pipe withEnrichment(String enrichment)
The ARN of the enrichment resource.
enrichment
- The ARN of the enrichment resource.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.