Class FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.transfer.events.FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FTPServerFileUploadFailed.FTPServerFileUploadFailedProps>
- Enclosing interface:
FTPServerFileUploadFailed.FTPServerFileUploadFailedProps
@Stability(Experimental)
public static final class FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.Builder
extends Object
implements software.amazon.jsii.Builder<FTPServerFileUploadFailed.FTPServerFileUploadFailedProps>
A builder for
FTPServerFileUploadFailed.FTPServerFileUploadFailedProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getBytes()Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getClientIp()endTimestamp(List<String> endTimestamp) Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getEtag()eventMetadata(AWSEventMetadataProps eventMetadata) failureCode(List<String> failureCode) failureMessage(List<String> failureMessage) Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getFilePath()Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getProtocol()Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getServerId()Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getSessionId()startTimestamp(List<String> startTimestamp) statusCode(List<String> statusCode) Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getStatusCode()Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bytes
@Stability(Experimental) public FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.Builder bytes(List<String> bytes) Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.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 FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.Builder clientIp(List<String> clientIp) Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getClientIp()- 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 FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.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
-
etag
@Stability(Experimental) public FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.Builder etag(List<String> etag) Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getEtag()- Parameters:
etag- etag property. Specify an array of string values to match this event if the actual value of etag 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 FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
failureCode
@Stability(Experimental) public FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.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 FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.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 FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.Builder filePath(List<String> filePath) Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getFilePath()- 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 FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.Builder protocol(List<String> protocol) Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getProtocol()- 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 FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.Builder serverId(List<String> serverId) Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getServerId()- 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 FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.Builder sessionId(List<String> sessionId) Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getSessionId()- 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 FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.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 FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.Builder statusCode(List<String> statusCode) Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getStatusCode()- 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 FTPServerFileUploadFailed.FTPServerFileUploadFailedProps.Builder username(List<String> username) Sets the value ofFTPServerFileUploadFailed.FTPServerFileUploadFailedProps.getUsername()- 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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FTPServerFileUploadFailed.FTPServerFileUploadFailedProps>- Returns:
- a new instance of
FTPServerFileUploadFailed.FTPServerFileUploadFailedProps - Throws:
NullPointerException- if any required attribute was not provided
-