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