@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MlResourceDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Defines a Neptune ML resource.
Constructor and Description |
---|
MlResourceDefinition() |
Modifier and Type | Method and Description |
---|---|
MlResourceDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The resource ARN.
|
String |
getCloudwatchLogUrl()
The CloudWatch log URL for the resource.
|
String |
getFailureReason()
The failure reason, in case of a failure.
|
String |
getName()
The resource name.
|
String |
getOutputLocation()
The output location.
|
String |
getStatus()
The resource status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The resource ARN.
|
void |
setCloudwatchLogUrl(String cloudwatchLogUrl)
The CloudWatch log URL for the resource.
|
void |
setFailureReason(String failureReason)
The failure reason, in case of a failure.
|
void |
setName(String name)
The resource name.
|
void |
setOutputLocation(String outputLocation)
The output location.
|
void |
setStatus(String status)
The resource status.
|
String |
toString()
Returns a string representation of this object.
|
MlResourceDefinition |
withArn(String arn)
The resource ARN.
|
MlResourceDefinition |
withCloudwatchLogUrl(String cloudwatchLogUrl)
The CloudWatch log URL for the resource.
|
MlResourceDefinition |
withFailureReason(String failureReason)
The failure reason, in case of a failure.
|
MlResourceDefinition |
withName(String name)
The resource name.
|
MlResourceDefinition |
withOutputLocation(String outputLocation)
The output location.
|
MlResourceDefinition |
withStatus(String status)
The resource status.
|
public void setName(String name)
The resource name.
name
- The resource name.public String getName()
The resource name.
public MlResourceDefinition withName(String name)
The resource name.
name
- The resource name.public void setArn(String arn)
The resource ARN.
arn
- The resource ARN.public String getArn()
The resource ARN.
public MlResourceDefinition withArn(String arn)
The resource ARN.
arn
- The resource ARN.public void setStatus(String status)
The resource status.
status
- The resource status.public String getStatus()
The resource status.
public MlResourceDefinition withStatus(String status)
The resource status.
status
- The resource status.public void setOutputLocation(String outputLocation)
The output location.
outputLocation
- The output location.public String getOutputLocation()
The output location.
public MlResourceDefinition withOutputLocation(String outputLocation)
The output location.
outputLocation
- The output location.public void setFailureReason(String failureReason)
The failure reason, in case of a failure.
failureReason
- The failure reason, in case of a failure.public String getFailureReason()
The failure reason, in case of a failure.
public MlResourceDefinition withFailureReason(String failureReason)
The failure reason, in case of a failure.
failureReason
- The failure reason, in case of a failure.public void setCloudwatchLogUrl(String cloudwatchLogUrl)
The CloudWatch log URL for the resource.
cloudwatchLogUrl
- The CloudWatch log URL for the resource.public String getCloudwatchLogUrl()
The CloudWatch log URL for the resource.
public MlResourceDefinition withCloudwatchLogUrl(String cloudwatchLogUrl)
The CloudWatch log URL for the resource.
cloudwatchLogUrl
- The CloudWatch log URL for the resource.public String toString()
toString
in class Object
Object.toString()
public MlResourceDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.