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