@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserDefinedFunctionInput extends Object implements Serializable, Cloneable, StructuredPojo
A structure used to create or updata a user-defined function.
Constructor and Description |
---|
UserDefinedFunctionInput() |
Modifier and Type | Method and Description |
---|---|
UserDefinedFunctionInput |
clone() |
boolean |
equals(Object obj) |
String |
getClassName()
The Java class that contains the function code.
|
String |
getFunctionName()
The name of the function.
|
String |
getOwnerName()
The owner of the function.
|
String |
getOwnerType()
The owner type.
|
List<ResourceUri> |
getResourceUris()
The resource URIs for the function.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClassName(String className)
The Java class that contains the function code.
|
void |
setFunctionName(String functionName)
The name of the function.
|
void |
setOwnerName(String ownerName)
The owner of the function.
|
void |
setOwnerType(String ownerType)
The owner type.
|
void |
setResourceUris(Collection<ResourceUri> resourceUris)
The resource URIs for the function.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UserDefinedFunctionInput |
withClassName(String className)
The Java class that contains the function code.
|
UserDefinedFunctionInput |
withFunctionName(String functionName)
The name of the function.
|
UserDefinedFunctionInput |
withOwnerName(String ownerName)
The owner of the function.
|
UserDefinedFunctionInput |
withOwnerType(PrincipalType ownerType)
The owner type.
|
UserDefinedFunctionInput |
withOwnerType(String ownerType)
The owner type.
|
UserDefinedFunctionInput |
withResourceUris(Collection<ResourceUri> resourceUris)
The resource URIs for the function.
|
UserDefinedFunctionInput |
withResourceUris(ResourceUri... resourceUris)
The resource URIs for the function.
|
public void setFunctionName(String functionName)
The name of the function.
functionName
- The name of the function.public String getFunctionName()
The name of the function.
public UserDefinedFunctionInput withFunctionName(String functionName)
The name of the function.
functionName
- The name of the function.public void setClassName(String className)
The Java class that contains the function code.
className
- The Java class that contains the function code.public String getClassName()
The Java class that contains the function code.
public UserDefinedFunctionInput withClassName(String className)
The Java class that contains the function code.
className
- The Java class that contains the function code.public void setOwnerName(String ownerName)
The owner of the function.
ownerName
- The owner of the function.public String getOwnerName()
The owner of the function.
public UserDefinedFunctionInput withOwnerName(String ownerName)
The owner of the function.
ownerName
- The owner of the function.public void setOwnerType(String ownerType)
The owner type.
ownerType
- The owner type.PrincipalType
public String getOwnerType()
The owner type.
PrincipalType
public UserDefinedFunctionInput withOwnerType(String ownerType)
The owner type.
ownerType
- The owner type.PrincipalType
public UserDefinedFunctionInput withOwnerType(PrincipalType ownerType)
The owner type.
ownerType
- The owner type.PrincipalType
public List<ResourceUri> getResourceUris()
The resource URIs for the function.
public void setResourceUris(Collection<ResourceUri> resourceUris)
The resource URIs for the function.
resourceUris
- The resource URIs for the function.public UserDefinedFunctionInput withResourceUris(ResourceUri... resourceUris)
The resource URIs for the function.
NOTE: This method appends the values to the existing list (if any). Use
setResourceUris(java.util.Collection)
or withResourceUris(java.util.Collection)
if you want to
override the existing values.
resourceUris
- The resource URIs for the function.public UserDefinedFunctionInput withResourceUris(Collection<ResourceUri> resourceUris)
The resource URIs for the function.
resourceUris
- The resource URIs for the function.public String toString()
toString
in class Object
Object.toString()
public UserDefinedFunctionInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.