Class FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.transfer.events.FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps>
- Enclosing interface:
FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps
@Stability(Experimental)
public static final class FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder
extends Object
implements software.amazon.jsii.Builder<FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofFTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.getBytes()endTimestamp(List<String> endTimestamp) eventMetadata(AWSEventMetadataProps eventMetadata) failureCode(List<String> failureCode) failureMessage(List<String> failureMessage) startTimestamp(List<String> startTimestamp) statusCode(List<String> statusCode)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bytes
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder bytes(List<String> bytes) Sets the value ofFTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.getBytes()- Parameters:
bytes- bytes property. Specify an array of string values to match this event if the actual value of bytes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
clientIp
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder clientIp(List<String> clientIp) - Parameters:
clientIp- client-ip property. Specify an array of string values to match this event if the actual value of client-ip is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
endTimestamp
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder endTimestamp(List<String> endTimestamp) - Parameters:
endTimestamp- end-timestamp property. Specify an array of string values to match this event if the actual value of end-timestamp is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
failureCode
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder failureCode(List<String> failureCode) - Parameters:
failureCode- failure-code property. Specify an array of string values to match this event if the actual value of failure-code is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
failureMessage
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder failureMessage(List<String> failureMessage) - Parameters:
failureMessage- failure-message property. Specify an array of string values to match this event if the actual value of failure-message is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
filePath
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder filePath(List<String> filePath) - Parameters:
filePath- file-path property. Specify an array of string values to match this event if the actual value of file-path is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
protocol
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder protocol(List<String> protocol) - Parameters:
protocol- protocol property. Specify an array of string values to match this event if the actual value of protocol is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
serverId
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder serverId(List<String> serverId) - Parameters:
serverId- server-id property. Specify an array of string values to match this event if the actual value of server-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sessionId
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder sessionId(List<String> sessionId) - Parameters:
sessionId- session-id property. Specify an array of string values to match this event if the actual value of session-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
startTimestamp
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder startTimestamp(List<String> startTimestamp) - Parameters:
startTimestamp- start-timestamp property. Specify an array of string values to match this event if the actual value of start-timestamp is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
statusCode
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder statusCode(List<String> statusCode) - Parameters:
statusCode- status-code property. Specify an array of string values to match this event if the actual value of status-code is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
username
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps.Builder username(List<String> username) - Parameters:
username- username property. Specify an array of string values to match this event if the actual value of username is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps>- Returns:
- a new instance of
FTPServerFileDownloadFailed.FTPServerFileDownloadFailedProps - Throws:
NullPointerException- if any required attribute was not provided
-